 |
DCS_SDK
2.0.0
TCP/IP control library for Ai DCS-100E and DCS-103E
|
Go to the documentation of this file.
4 #if defined(_WIN32) && defined(BUILD_SHARED)
6 #define DCS_EXPORT __declspec(dllexport)
8 #define DCS_EXPORT __declspec(dllimport)
28 virtual const char* what()
const noexcept;
41 virtual const char* what()
const noexcept;
106 double current()
const;
107 void current(
const double);
109 double pulseWidth()
const;
110 void pulseWidth(
const double);
112 double pulseDelay()
const;
113 void pulseDelay(
const double);
115 double maxContinuous()
const;
116 const double maxStrobe()
const;
119 void mode(
const Mode);
122 void triggerMode(
const Trigger);
125 void triggerInput(
const Channel);
127 double maxFrequency()
const;
129 void trigger()
const;
137 double _minPulseDelay;
158 const std::string& name()
const;
159 void name(
const std::string& name);
161 const std::string& firmwareVersion()
const;
163 const std::string& ipAddress()
const;
164 void ipAddress(
const std::string& ip);
166 size_t ChannelCount()
const;
169 const std::string& profileName()
const;
170 int profileNumber() const noexcept;
172 void profileName(const std::
string&);
173 void profileNumber(
int);
175 void webConfigEnabled(const
bool);
176 bool webConfigEnabled() const;
184 void connect(const std::
string& ip);
187 void refreshConfig();
189 const std::vector<std::
string>& profileNames() const;
193 void refreshProfiles();
196 void parseProfiles(const std::
string&);
197 void parseConfigJSON(const std::
string&);
198 void parseConfigXML(const std::
string&);
203 std::
string sendCommand(const std::
string&);
206 std::
string _firmare;
207 std::
string _lighthead;
208 std::
string _address;
209 std::
string _profileName;
210 bool _webConfigEnabled;
213 std::vector<std::
string> _profileNames;
215 void checkError(const std::
string&) const;
216 std::
string getResponse(const
char* prefix);
@ Gated
An enum constant representing the Gated mode.
Encaspsulates the data related to a single DCS channel.
Definition: DCS100.h:102
Mode
Values that represent modes.
Definition: DCS100.h:50
#define DCS_EXPORT
Definition: DCS100.h:11
@ Rising
A falling-edge trigger.
@ Pulsed
An enum constant representing the Pulsed mode.
@ Continuous
An enum constant representing the Continuous current mode.
Trigger
Values that represent trigger edges (e.g.
Definition: DCS100.h:68
Channel
Values that represent channels.
Definition: DCS100.h:79
An exception representing an error message from the device.
Definition: DCS100.h:38
@ Off
An enum constant representing the "Off" mode.
Contains information and methods for working with DCS devices.
Definition: DCS100.h:94
@ Three
The third channel.
An exception representing a warning message from the device.
Definition: DCS100.h:25
@ Falling
A rising-edge trigger.
Namespace containing AI-created functions and classes.
Definition: DCS100.h:20