IG Control (CIGI Packets)
| CIGI Class | CigiIGCtrlV3 | ||
|---|---|---|---|
| CIGI Bass Class | CigiBaseIGCtrl | ||
| Packet ID | 1 | ||
| Packet Size (bytes) | 24 | ||
| SpyClient Lookup | host2pcnova → h2ig.cnt.exe_host_timestamp host2pcnova → h2ig.cnt.exe_nframe | ||
| Parameter | Type | Description | Range |
| CigiVersion | unsigned char | The version of the CIGI interface that is currently being used by the Host. | 0 - 255 |
| database ID | char | This parameter is used to initiate a database load on the IG. Setting this parameter to a non-zero value will cause the IG to begin loading the database that corresponds to that value. If that number corresponds to the current database, the database will be reloaded. 0 = No load requested 1 - 127 = Identifies desired database The IG will indicate that the database is being loaded by negating the value and placing it in the Database Number parameter of the Start of Frame packet. When the Host receives this notification, it should set the Database Number parameter of the IG Control packet to zero (0) to prevent continuous reloading the database on the IG. The IG will ignore this parameter while in Reset/Standby mode. | 0 - 255 |
| IG mode | 2-bit field | This parameter dictates the IG's operational mode. The Host can initiate a mode change by setting this parameter to the desired mode. When the IG completes the mode change, it will set the IG Mode parameter in the Start of Frame packet accordingly. 0 = Reset/Standby 1 = Operate 2 = Debug | 0 - 2 |
| Timestamp Valid | 1-bit field | This parameter indicates whether the Timestamp parameter contains a valid value. Because the Timestamp parameter is required for asynchronous operation, Timestamp Valid must be set to Valid (1) in this mode. 0 = Invalid 1 = Valid | 0 - 1 |
| Host Frame Number | unsigned int | This parameter uniquely identifies a data frame on the Host. The Host should increment this value by one (1) for each successive message. Note: In CIGI 3.0/3.1, this parameter was named "Frame Counter" and the Host populated it with the value of the Frame Counter parameter from the last Start of Frame packet received. As of CIGI 3.2, however, the Host Frame Number is independent of the IG Frame Number parameter in the Start of Frame packet. | 0 - MAXUINT |
| Timestamp | unsigned int | This parameter indicates the number of 10μs "ticks" since some initial reference time. This will enable the IG to correct for latencies. The 10μs unit allows the simulation to run for approximately 12 hours before a timestamp rollover occurs. The IG software should contain logic to detect and correct for rollover. The use of this parameter is required for asynchronous operation. The use of this parameter is optional for synchronous operation. If this parameter does not contain a valid timestamp, the Timestamp Valid parameter should be set to zero (0). | 0 - MAXUINT |