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