Impulse 463E User Manual
Page 80

© Sealevel Systems, Inc.
- 77 -
SeaI/O User Manual
Get Module A/D & D/A Configuration
Which
IOCTL_GET_ADDA_CONFIG (6)
Description
Requests from the SeaIO module the A/D and D/A configuration.
The last parameter is expected to be a pointer to a ‘adda_struct’
structure. On return the adda_struct will contain the software
selectable module A/D configuration and individual channel
voltage ranges.
The ‘Set A/D, D/A Configuration’ section under Modbus
commands better describes the returned data format.
Models
SeaIO 470
Expected
Data Type
Pointer to a adda_struct structure
Return Codes
-22
EINVAL
A NULL pointer has been supplied where a
pointer to a data buffer was expected.
≥ 0 Success
( Reference the return values for both Read( ) and Write( ) )
Set Module A/D & D/A Configuration
Which
IOCTL_SET_ADDA_CONFIG (7)
Description
Sets the SeaIO module A/D and D/A configuration.
The last parameter is expected to be a pointer to a populated
‘adda_struct’ structure.
The ‘Set A/D, D/A Configuration’ section under Modbus
commands better describes the required data format.
Models
SeaIO 470
Expected
Data Type
Pointer to a adda_struct structure
Return Codes
-22
EINVAL
A NULL pointer has been supplied where a
pointer to a data buffer was expected.
≥ 0 Success
( Reference the return values for both Read( ) and Write( ) )