Qmix SDK  20200506
The software libraries for integration of all CETONI devices.
labbCAN_AnalogIO_API.h File Reference

labbCAN Analog I/O application programming interface More...

#include "labbCAN_Bus_API.h"
+ Include dependency graph for labbCAN_AnalogIO_API.h:

Functions

LCAIO_Func long LCAIO_CALL LCAIO_GetAnalogIoDevice (dev_hdl hChan, dev_hdl *pAnalogIoDeviceHdl)
 Query analog I/O device of a certain analog I/O channel. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetChanName (dev_hdl hChan, char *pNameStringBuf, int StringBufSize)
 Query name of specific channel. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetInChanHandle (unsigned char Index, dev_hdl *pInChanHdl)
 Get analog input channel handle by its index. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetInputSwScalingParam (dev_hdl InChanHdl, double *pScalingFactor, double *pScalingOffset)
 Query software scaling parameters. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetNoOfInputChannels ()
 Query number of available analog input channels. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetNoOfOutputChannels ()
 Query number of available analog output channels. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetOutChanHandle (unsigned char Index, dev_hdl *pOutChanHdl)
 Get analog out channel handle by its index. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetOutputSwScalingParam (dev_hdl OutChanHdl, double *pScalingFactor, double *pScalingOffset)
 Query software scaling parameters. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_GetOutputValue (dev_hdl OutChanHdl, double *pfValue)
 Return the output value of this channel. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_LookupAnalogIoDeviceByName (char *pName, dev_hdl *pAnalogIoDeviceHdl)
 Lookup an analog I/O device by its name. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_LookupInChanByName (const char *pChannelName, dev_hdl *pInChanHdl)
 Lookup for an analog input channel by its name. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_LookupOutChanByName (const char *pChannelName, dev_hdl *pOutChanHdl)
 Lookup for an analog output channel by its name. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_ReadInput (dev_hdl InChanHdl, double *pfValue)
 Read analog input of this channel. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_ReadStatus (dev_hdl InChanHdl, unsigned long *pdwStatus)
 Read additional status information from analog channel. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_SetInputSwScalingOn (dev_hdl InChanHdl, int ScalingOn)
 Enable / disable software scaling. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_SetInputSwScalingParam (dev_hdl InChanHdl, double ScalingFactor, double ScalingOffset)
 Set software scaling parameters. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_SetOutputSwScalingOn (dev_hdl OutChanHdl, int ScalingOn)
 Enable / disable software scaling. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_SetOutputSwScalingParam (dev_hdl OutChanHdl, double ScalingFactor, double ScalingOffset)
 Set software scaling parameters. More...
 
LCAIO_Func long LCAIO_CALL LCAIO_WriteOutput (dev_hdl OutChanHdl, double fValue)
 Set analog output value of single channel. More...
 

Detailed Description

labbCAN Analog I/O application programming interface

Author
Uwe Kindler (UK)
Date
2007/07/23