Deprecated Functions

Functions

int __stdcall SM_GetConfig (SM_HANDLE handle, int *model, int *commType, int *baudrate, int *parity)
 Queries the Sealevel I/O module to determine the module model number, type, baudrate, and parity. More...
 
int __stdcall SM_SetADDAConfig (SM_HANDLE handle, unsigned char *deviceConfig, unsigned char *channelsConfig)
 Sets the A/D configuration for a Sealevel I/O module. More...
 
int __stdcall SM_GetADDAConfig (SM_HANDLE handle, unsigned char *deviceConfig, unsigned char *channelsConfig)
 Retrieves the A/D configuration for a Sealevel I/O module. More...
 
int __stdcall SM_GetADDAExtendedConfig (SM_HANDLE handle, int *multiplierEnabled, unsigned char *daConfig)
 Polls the Sealevel I/O device hardware for analog specific jumper settings. More...
 
int __stdcall SM_ReadCoils (SM_HANDLE handle, int start, int number, unsigned char *values)
 Reads one or more digital outputs. More...
 
int __stdcall SM_ReadDiscreteInputs (SM_HANDLE handle, int start, int number, unsigned char *values)
 Reads one or more digital inputs. More...
 
int __stdcall SM_ReadHoldingRegisters (SM_HANDLE handle, int start, int number, unsigned char *values)
 Reads a 16-bit value from the Sealevel I/O device, depending on the model. More...
 
int __stdcall SM_WriteCoils (SM_HANDLE handle, int start, int number, unsigned char *values)
 Writes one or more digital outputs. More...
 
int __stdcall SM_WriteHoldingRegisters (SM_HANDLE handle, int start, int number, unsigned char *values)
 Writes one or more Modbus Holding Registers. More...
 
int __stdcall SM_ReadInputRegisters (SM_HANDLE handle, int start, int number, unsigned char *values)
 Reads a 16-bit value from the Sealevel I/O device, depending on the model. More...
 
int __stdcall SM_AtoDConversion (SM_HANDLE handle, double *value, unsigned char *data, int channelRange)
 Converts a two-byte input register value to a double type voltage. More...
 
int __stdcall SM_DtoAConversion (SM_HANDLE handle, double value, unsigned char *data, int channelRange)
 Converts a given floating point voltage value to an appropriate 16-bit D/A holding register value. More...
 

Detailed Description

Some functions have been deprecated due to organizational changes in SeaMAX or to provide clarity of use and function. Standard SeaMAX functions (where available) have been identified in the function descriptions and should be used if possible.

 
 
Generated on Mon Oct 3 2022.