Download downloading

Transcript
DRV_AlarmCheck
status = DRV_AlarmCheck(DriverHandle,lpAlarmCheck)
Purpose
Checks the alarm status of the specified channel.
Parameters
Name
DriverHandle
Direction
Input
lpAlarmCheck
Input/Output
Type
Range
default
long
long pointer to
PT_AlarmCheck
default
Description
assigned by
DRV_DeviceOpen
the storage address
for chan, LoState
and HiState
Table 5-68: DRV_AlarmCheck Parameter Table
Return:
1. SUCCESS if successful
2. InvalidDriverHandle if DriverHandle = NULL
3. InvalidChannel if chan is out of range
4. CommTransmitFailed if COMWrite failed
5. CommReadFailed if there is no response
6. CommReceiveFailed if the response string is incorrect
Chapter 5 Functions Reference
215