Properties for Status Simulation in IviDownconverter
When an IviDownconverter driver VI is called, the driver queries whether NISDOWNCONVERTER_ATTR_SIMULATE_STATUS_CODE is enabled. If NISDOWNCONVERTER_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 IviDownconverter VIs do not support status code simulation:
- IviDownconverter Get Next Interchange Warning
- IviDownconverter Reset Next Interchange Warning
- IviDownconverter Clear Next Interchange Warning
- IviDownconverter Get Next Coercion Record
Each VI supported by the IviDownconverter 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 NISDOWNCONVERTER_ATTR_ precedes all property names. |