3 #ifdef SCOPE_USE_SUTTER_XYZSTAGE
5 #include "SerialConnection.h"
13 class SutterController {
17 SutterController(
const std::wstring& _comstring);
20 std::vector<BYTE> Command(
const std::string& _cmd,
const uint32_t& _answerbytes);
24 SerialConnection& Ctrl();
29 static SerialConnection& CreateInstance(
const std::wstring& _comstring);
32 static std::mutex mutex;
35 void CheckError(
const std::vector<BYTE>& _received);
39 std::wstring comstring;
bool CheckError(const int32 &error)
Checks return value of NI DAQmx function for error, prints out error information and throws an except...