Properties for Status Simulation in IviFgen
When an IviFgen driver VI is called, the driver queries whether NISFGEN_ATTR_SIMULATE_STATUS_CODE is enabled. If enabled, the driver gets the appropriate VI's simulation status code. If the value of the simulation status code represents a warning (has a positive value), then it is returned as the VI's return status only if no other error or warning occurred before the VI ends. If the value of the simulation status code represents an error (has a negative value), then it is returned as the VI's return status only if no other error occurred before the VI ends.
The following IviFgen VIs do not support status code simulation:
- IviFgen Get Error
- IviFgen Clear Error
- IviFgen Get Next Interchange Warning
- IviFgen Reset Next Interchange Warning
- IviFgen Clear Next Interchange Warning
- IviFgen Get Next Coercion Record
Each VI supported by the IviFgen class driver has a corresponding property that determines the status code to return when status code simulation is enabled. The following table lists the status code properties and the VI for which they return a value. These properties are all of type ViInt32, non-readable, and non-channel based.
Note In the following table, the literal string NISFGEN precedes all property names. |