AO_WriteChannel | ![]() ![]() ![]() ![]() |
AO_WriteChannel
@ Description
Writes a binary value to the specified analog output channel.
@ Cards Support
9111, 9112, 9118, 6208V/16V/08A, 6308V/08A
@ Syntax
I16 AO_WriteChannel (U16 CardNumber, U16 Channel, U16 Value)
@ Parameter
CardNumber : The
card id of the card that want to perform this operation.
Channel : The analog
output channel number.
Range: 0 or 1 for PCI-9112
Range: 0 for PCI-9111
Range: 0 or 1 for PCI-9118
Range: 0 through 7 for PCI-6208V/08A
Range: 0 through 15 for PCI-6216V
Range: 0 through 7 for PCI-6308V/08A
Value :
The value to be written to the analog output channel.
Range :
0 through 4095 for PCI-9111, PCI-9112, PCI-9118
0 though 32767 for PCI-6208A, PCI-6308A
-32768 through 32767 for PCI-6208V/16V, PCI-6308V
@ Return Code
NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport, ErrorInvalidIoChannel