AO_9111_Config Previous topicNext topicFirst topicLast topic

AO_9111_Config

@ Description

Informs PCIS-DASK library of the polarity (unipolar or bipolar) that the output channel is configured for the analog output of PCI9111. You must call this function before calling function to perform voltage output operation.

@ Cards Support

9111

@ Syntax

I16 AO_9111_Config (U16 CardNumber, U16 OutputPolarity)

@ Parameter

CardNumber : The card id of the card that want to perform this operation.
OutputPolarity : The polarity (unipolar or bipolar) of the output channel. The valid values are:
                        P9111_AO_UNIPOLAR
                        P9111_AO_BIPOLAR

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport