Back to Sealevel      

Object-Oriented SeaMAX 2.x Interface
[Version 2.x Deprecated Interface]


Detailed Description

A deprecated version of the SeaMAX 2 interface has been provided for backwards compatability.

Warning:
These functions should not be used in new projects, as they scheduled for removal from future versions of the SeaMAX API. They have been added for backward support only.


Functions

SM_HANDLE CSeaMaxW32::GetSeaMAXVersion3Handle ()
 Returns a SeaMAX Version 3.x compatable handle for use with non-deprecated (newer) SM functions.
int CSeaMaxW32::Read (slave_address_t slaveId, seaio_type_t type, address_loc_t address, address_range_t range, void *values)
 Performs a Modbus read on an opened SeaI/O module and returns the data by reference.
int CSeaMaxW32::Write (slave_address_t slaveId, seaio_type_t type, address_loc_t address, address_range_t range, unsigned char *data)
 Performs a Modbus write on an opened SeaI/O module and returns the data by reference.
int CSeaMaxW32::Open (char *file)
 Opens the specified resource.
int CSeaMaxW32::Close ()
 Closes a previously opened SeaI/O module resource.
HANDLE CSeaMaxW32::getCommHandle (void)
 Returns the HANDLE type data used by SeaMAX as the communications resource.
int CSeaMaxW32::Ioctl (slave_address_t, IOCTL_t, void *)
 Multi-function tool to configure and access non-standard Modbus features of the SeaI/O module.
int CSeaMaxW32::set_intermessage_delay (int new_delay_time)
 Sets the intermessage delay time.

 
 
Generated on 18 Sep 2007.