AI_ContVScale Previous topicNext topicFirst topicLast topic

AI_ContVScale

@ Description

This function converts the values of an array of acquired binary data from an continuous A/D conversion call to the actual input voltages. The acquires binary data in the reading array might include the channel information (please refer to continuous functions, AI_ContReadChannel or AI_ContScanChannels, for the detailed data format); however, The calculated voltage values in the voltage array returned will not include the channel message.

@ Cards Support

9111, 9112, 9113, 9114, 9118, 9812/10

@ Syntax

I16 AI_ContVScale (U16 CardNumber, U16 AdRange, U16 *readingArray, F64 *voltageArray, I32 count)

@ Parameter

CardNumber : The card id of the card that want to perform this operation.
AdRange : The analog input range the continuous specified channel is setting. Please refer to the Appendix B for the valid range
                values.
readingArray : Acquired continuous analog input data array
voltageArray : computed voltages array returned

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport, ErrorInvalidAdRange