|
QLIB-function: QAPIGetDI
With the function QAPIGetDI the condition of a 32 Bit width digital channel could be read by a DI card.
ULONG QAPIGetDI (
ULONG cardid
ULONG channel
);
Parameter 1
| cardid |
Defines the ID of the card, from which the informations could be received |
Parameter 2:
| channel |
Defines the channel,from which the digital value should be read |
Return value
f 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.
Back to the QLIB overview
|