Page 8
|
Table of Contents
2.2.3
C# Library
The C# API is provided to integrate the device with all its functionality within your C# programs
/**< IP address of the device */
char modelName[32];
/**< Type of the device */
char serialNumber[32];
/**< Serial number of the device */
char deviceName[32];
/**< Friendly name assigned to the device */
char macAddress[32];
/**< MAC address of the device */
bool locked;
/**< Device locked by other program */
} DeviceInfo;
typedef enum {
IDS,
MOTION_CTRLER,
BOTH
} deviceType;
Overview
The C# API contains of following files:
CSharpAPIDLL.dll (compiled as “any” version)
Newtonsoft.Json.dll (compiled as “any” version)
Attocube.chm (helpfile)
Establing a
connection
To connect to a device, please create an device object
public static
Attocube<Device> client =
new
Attocube<Device>()
where <Device> is e.g. AMC or IDS
The connect function is a property of the Attocube<Device> class.
Summary of Contents for attocube AMC100
Page 1: ...Interface Manual AMC100 AMC300...
Page 3: ......