AI_ContStatus | ![]() ![]() ![]() ![]() |
AI_ContStatus
@ Description
While performing continuous A/D conversions, this function is called to get the A/D status. Please refer to the manual for your device for the AI status the device might meet.
@ Cards Support
9111, 9112, 9113, 9114, 9118, 9812/10
@ Syntax
I16 AI_ContStatus (U16 CardNumber,
U16 *Status)
@ Parameter
CardNumber : The card
id of the card that want to perform this operation.
Status :The continuous
AI status returned. The description of the parameter Status for
various card types is the following:
PCI9111/PCI9113/PCI9114 :
bit 0 : '0' indicates FIFO is empty
bit 1 : '0' indicates FIFO is Half Full
bit 2 : '0' indicates FIFO is Full, the data might have been lost
bit 3 : '0' indicates AD is busy, the A/D data hasn't been latched into
FIFO yet
bit 4 ~ 15 : not used
PCI9112:
bit 0 : '1' indicates A/D conversion is Completed (Ready)
bit 1 : '1' indicates A/D conversion is Over-Run
bit 2 ~ 15 : not used
PCI9118:
bit 0 : '1' indicates A/D conversion is Completed (Ready)
bit 1 : '1' indicates A/D conversion is Over-Run
bit 2 : '1' indicates A/D conversion is Over-Speed
bit 3 : '1' indicates Burst Mode of A/D conversion is Over-Run
bit 4 : '1' indicates External Digital Trigger ever happened
bit 5 : '1' indicates About Trigger of A/D conversion is Completed
bit 6 : '0' indicates A/D FIFO is empty
bit 7 : '0' indicates FIFO is Half Full
bit 8 : '0' indicates FIFO is Full
bit 9 ~ 15 : not used
PCI9812/10:
bit 0 : '1' indicates FIFO is ready for Input (Not Full)
bit 1 : '1' indicates FIFO is at least Half-Full
bit 2 : '1' indicates FIFO is ready for Output (Not Empty)
bit 3 : '3' indicates the post trigger counter reaches zero
bit 4 ~ 15 : not used
@ Return Code
NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered