|
QLIB-function: QAPIGetAD
With the function QAPIGetAD it is possible to read a digital value from an input channel of a A/D card.
ULONG QAPIGetAD (
ULONG cardid
ULONG channel
);
Parameter 1
| cardid |
Defines the ID of the card, from which informations could be received |
Parameter 2:
| channel |
Defines the channel,from which the digital value should be read |
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
The function can also have an error, when the card has no A/D part. In this case the function always shows the return value 0.
Back to the QLIB overview
|