QLIB-function: QAPIExtWriteDA


With the function QAPIExtReadAD it is possible to give out a digital value from an input channel of an A/D card.

void QAPIExtWriteDA( ULONG cardhandle ULONG channel ULONG value ULONG mode );


Parameter 1
cardhandle
Defines the handle from the opened card

Parameter 2:
channel
Defines the channel, from which the digital value should be give out

Parameter 3:
value
Defines the digital value, which should be send out

Parameter 4:
mode
Defines a card dependent parameter (look also card specific parameter)

Return value
None.

Commands
Dependent of the hardware the D/A card or the D/A unity of a card writes the digital value first into the slave latch. The task on the D/A output follows only by the first call of the function QAPIExtLatchDA.

 Back to the QLIB overview