Properties for Status Simulation in IviUpconverter
When an IviUpconverter driver VI is called, the driver queries whether NISUPCONVERTER_ATTR_SIMULATE_STATUS_CODE is enabled. If NISUPCONVERTER_ATTR_SIMULATE_STATUS_CODE is enabled, the driver gets the appropriate VI's simulation status code. If the value of the simulation status code represents a warning, meaning it has a positive value, then the status code 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, meaning it has a negative value, then the status code is returned as the VI's return status only if no other error occurred before the VI ends.
The following IviUpconverter VIs do not support status code simulation:
- IviUpconverter Get Next Interchange Warning
- IviUpconverter Reset Next Interchange Warning
- IviUpconverter Clear Next Interchange Warning
- IviUpconverter Get Next Coercion Record
Each VI supported by the IviUpconverter 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 NISUPCONVERTER_ATTR_ precedes all property names. |