CONEX-LDS
Command Interface Manual
2.0
Command Interface
2.1
Constructor
CONEXLDS()
The constructor is used to create an instance of the CONEX-LDS device.
2.2
Functions
2.2.1
General
•
OpenInstrument
Syntax
int OpenInstrument(string strDeviceKey)
string strDeviceKey: the device key is a serial COM port
return: 0 = successful or -1 = failure
Decription
This function allows opening communication with the selected device. If the opening
failed, the returned code is -1
.
•
CloseInstrument
Syntax
int CloseInstrument()
return: 0 = successful or -1 = failure
Decription
This function allows closing communication with the selected device. If the closing
failed, the returned code is -1.
•
GetDevices
Syntax
string[] GetDevices()
return: list of strings that contains the accessible COM ports
Decription
This function returns the list of connected devices available to communicate.
3
EDH0333En1022 — 12/18