Common Channel Functions
Overview
Common channel specific auxiliary functions.
Collaboration diagram for Common Channel Functions:
Functions | |
long | LCAIO_GetAnalogIoDevice (dev_hdl hChan, dev_hdl *pAnalogIoDeviceHdl) |
Query analog I/O device of a certain analog I/O channel. More... | |
long | LCAIO_GetChanName (dev_hdl hChan, char *pNameStringBuf, int StringBufSize) |
Query name of specific channel. More... | |
long | LCAIO_LookupAnalogIoDeviceByName (char *pName, dev_hdl *pAnalogIoDeviceHdl) |
Lookup an analog I/O device by its name. More... | |
Function Documentation
Query analog I/O device of a certain analog I/O channel.
- Parameters
-
[in] hChan Valid input/outut channel handle [out] pAnalogIoDeviceHdl Handle of analog IO device
- Returns
- Error code - - ERR_NOERR indicates success
long LCAIO_GetChanName | ( | dev_hdl | hChan, |
char * | pNameStringBuf, | ||
int | StringBufSize | ||
) |
Query name of specific channel.
Normally all channels are named. That means each channel carries a unique name
- Parameters
-
[in] hChan Valid input/outut channel handle [out] pNameStringBuf Message buffer for storage of error message string [in] StringBufSize Size of buffer pNameStringBuf in bytes
- Returns
- Error code - - ERR_NOERR indicates success
long LCAIO_LookupAnalogIoDeviceByName | ( | char * | pName, |
dev_hdl * | pAnalogIoDeviceHdl | ||
) |
Lookup an analog I/O device by its name.
- Parameters
-
[in] pName Name of the device [out] pAnalogIoDeviceHdl Handle of analog IO device
- Returns
- Error code - - ERR_NOERR indicates success