To properly display this page you need a browser with JavaScript support.
Service
Select the kind of transmission the socket must use in emission:
IG IP Address
Set here the network IP address to use for sending the data packet to the IG.
The
button retrieves the current computer IP, when the IG is running on the same computer as the host.
Host to IG
Specify here the port used to write data packet to the IG.
IG to Host
Specify here the port use to read data packet from the IG.
Terrain
Select from the list the database (terrain id) to send to the IG at startup for load.
The selected file must be text with the list of id and terrain name, according to the format: id=name :
etc.
The terrain definition file must have .def extension.
Use
to load it.
Mode
CIGI supports both Asynchronous and Synchronous modes:
Asynchronous : the Host sends data to the IG at a predetermined rate. The message may occur in response to a system timer or some other event within the Host. The IG may in turn send messages to the Host containing IG status and mission function data; however, the interval between host messages is determined by the host itself.
Synchronous : the IG sends a start-of-frame (SOF) message to the Host to signal the beginning of each frame. This message, which is usually driven by a vertical sync signal from the display system, functions as a “heartbeat” that dictates the timing of data transfers between the IG and Host. The SOF message also contains mission function responses, event notifications, and other IG data.
Version
Select here the version intended to use.
The code generator will use this information at best to produce an API that will support the version.
Wait Reset
Time in second between the database/terrain load message and the reset message.
IG Ready
If checked, the host will wait for the IG to be ready (Control Frame), otherwise, will consider the IG ready and the simulation engine moves on.
TimeStamp
When checked, every packet is time stamped with host time.
Smoothing
Option for the IG, if it does support entity packets extrapolation (or interpolation between two entity state packets).
Host Trace
When checked, host will output on the console and cigi_out.txt file (application root directory), information about every packet sent.
IG Trace
When checked, host will output on the console and cigi_out.txt file (application root directory), information about every packet received.
Auto Connect
When checked, vsTASKER will automatically start CIGI connection at startup. Otherwise, the connection will be initiated by the simulation engine.
Import / Export
Export will save all the current Packets and the CIGI settings (including user code) into /Data/Shared directory. Extension for the package is cigi .
That can be useful for reusing a specific communication package or saving the current one to be replaced by another stored one.
It is a good idea to export a CIGI configuration to be shared by other future databases.
Importing a new package will erase all current packets and replace the CIGI settings (including the code) with the package ones.
Import / Export Definitions
Import Defs will save all the current Packets and the CIGI setting (including declarations) to /Data/Shared directory. Extension is cigi .
That can be useful for reusing a specific communication package or saving the current one to be replaced by another stored one.
Use Export to store the actual CIGI setting (including declarations and all Packets) into a package file for later import into another database.
Disabled
Check this to stop CIGI and mute all communication both ways.
Definition
Add here all the packets includes needed for the compilation:
Declaration
List here all the CIGI global data to be used by any Packet at runtime.
Initialization
Initialize your CIGI global data here but not only. Use the normal runtime events to perform any specific action you need.
See System Phases/Events chapter in the Developer Guide .
Runtime
Will be called at every cycle. Put the code you want here.
IG Control
Use whatever method of the CigiIGCtrl class to change the way the message header is set every time a bench of messages must be send.
igCtrl.SetSmoothingEn(true);