QLIB-function: QAPIExtReadDI64
With the function QAPIExtReadDI64 the condition of a 64 Bit width digital channel could be read by a DI card.
ULONGLONG QAPIExtReadDI64 ( ULONG cardhandle ULONG channel 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 read
Parameter 3:
mode
Defines a card dependent parameter (look also card specific parameter)
Return value
If the function was terminated successful, then is the Return value the same as the digital value If the function is not successful, then is the Return value always 0L.
Commands
Is the for the channel given value greater than the number of digital input channels, so is the Return value always 0.
Links
QAPIExtReadDI1
,
QAPIExtReadDI8
,
QAPIExtReadDI16
Back to the QLIB overview