CIGI Configuration Tokens
The CIGI dll supports several tokens for configuration including connection details and data manipulation. The CIGI configuration file is defined by the following token:
Token Name | Default Value | Range and Description |
|---|---|---|
ConfigHostInterfaceFile | custom\config_host_if_cigi.cfg | Path to the host interface file relative to E:\CM\data. This is typically defined in E:\CM\data\custom\cigi\override_host_cigi.cfg |
The following is a list of all available tokens parsed by the CIGI dll. Many of them are not explicitly defined in the baseline CIGI configuration file.
Token Name | Valid Values | Description |
AdvancedCloudControls | OFF (default) ON | Allow top and bottom control of legacy 2D cloud layers |
AmbientLights | OFF (default) ON | If enabled, returns the ambient light packet. |
AutoRadAltReturn | OFF (default) ON | If enabled, returns automatic radar altimeter returns. |
CelestialResponse | OFF (default) ON | If enabled, returns the celestial response packet containing the positions of major celestial bodies. |
CigiBoundsChecking | OFF (default) ON | Perform CIGI bounds checking on incoming and outgoing values. |
ClearMemOnRemoval | OFF (default) ON | If enabled, clears ICD values of entity when removed. |
CoordinateSystem | ENU (default) NED | Sets the relative coordinate system. |
Debug | OFF (default) ON | Prints out debug information for each received CIGI packet. |
DebugOutput | CONSOLE (default) LOG | Specifies where debug information should be printed. If LOG is selected the file will be created in C:\pc-nova\logs |
DisablePackets | NONE (default) List of packets | Prevents the listed packets from being processed by the IG. List of packets should be separated by a comma. |
DisableReset | OFF (default) ON | If turned on, causes the IG to ignore the reset command. |
EarlySOF | OFF (default) ON | Swaps the send and receive calls so the host can sync with the Start of Frame |
FadeFromBlackOnReposition | OFF (default) | When enabled fades the screen to black using crash dimming for 10 seconds on large repositions. Any reposition larger than the distance specified in FadeFromBlackThreshold. |
FadeFromBlackThreshold | 1.0 [0.0 - Max float] | Distance of reposition where FadeFromBlackOnReposition will take effect |
FogRangeScale | 1.0 [0.1 – 10.0] | Scale factor for tweaking Visibility when using fog. A value of 2.0 doubles the visibility range. |
ForceCavuRange | 300000.0 | Force clear and visibility unlimited condition in meters. If Host reaches this threshold, fog is turned off. |
GenericResponseSize | 0 | Generic Response packet size |
GlobalVisRangeScale | 1.0 | Visibility scale multiplier. A value of 1.0 provides no visibility boost. |
GlobalVisThreshold | 40000.0 | If visibility is above this threshold value, visibility is multiplied by GlobalVisRangeScale. |
GndFogRangeScale | 1.0 [0.1 – 10.0] | Scale factor for tweaking RVR when using ground fog. A value of 2.0 doubles the visibility range. |
HatHotUnits | FEET (default) METERS | Units for altitude returns in HAT, HOT and LOS returns. Also applies to other altitude values, such as ownship Z, moving model Z, cloud height, etc. Note: CIGI standard is METERS. |
HostAddress | 127.0.0.1 (default) IP Address | IP address of host that IG will send packets to |
HostCommands | OFF (default) ON | Enable host command |
HotCueResponse | OFF (default) ON | Enables or disables the hot cue responses. |
HOTRequestAlt | 30000.0 | Default height for HOT requests |
IgNetInterface | ANY (default) IP address | IP address for the IG |
IgReceiveFrom | ANY (default) IP address | IP address where packets can be received from ANY can be used for receiving from any host IP |
InsideCloudReturn | OFF (default) ON | Allows the inside_cloud value to be returned to the host in the CigiUserInsideCloud packet. |
LosTrueHeading | OFF ON (default) | Use true heading azimuth in Los Request. |
NetBufferSize | 65536 | Maximum network buffer size |
NonBlocking | ON (default) OFF | Allows non blocking network operation. Recommended to allow any order of start/up of both host and IG |
PortIn | 5000 | Input port to receive data |
PortOut | 5001 | Outgoing port to receive data |
RainDrizzleThreshold | 0.0 | Specifies the boundary between drizzle and rain. Drizzle is controlled by a separate Weather Layer than rain. If 0.0, then rain uses the entire precipitation spectrum. |
ReturnSeaTargetOri | OFF (default) ON | If enabled, returns the sea target pitch and roll in the azimuth and elevation normal fields of the HAT/HOT extended response packet. |
SendCigiColDetSegResp | OFF (default) ON | When enabled, the IG will send Collision Detection Segement Notification packets for all defined ownship collision rays. |
StandardEntityCtrlAlpha | OFF ON (default) | When disabled. normalizes the entity control alpha values from 0-127 to 0-255 for transparencies to maintain backwards compatibility. |
StandardExtendedRequestAlt | OFF (default) ON | For HatHot Requests of type Extended, use the commanded Altitude in the packet instead of HOTRequestAlt token value. |
StandardInsideCloudReturn | OFF (default) ON | Returns the inside cloud value inside of an Aerosol Response packet. |
TrueHeading | OFF (default) | If enabled, converts the incoming positive clockwise (east) heading to Aechelon’s internal positive counterclockwise (west) heading. |
StandardWeatherCtrlFog | OFF (default) ON | When enabled, the cigi weather control values used for fog will use thickness/transition rather than base elevation/thickness |