3 #include "../../config/exports.h" 17 #define INTERNAL_SAMP_SIZE 1000 27 typedef void* TaskHandle;
42 DCS::i32 VoltageEvent(TaskHandle taskHandle,
DCS::i32 everyNsamplesEventType,
DCS::u32 nSamples,
void *callbackData);
60 typedef DCS::i32 (*NIDataCallback)(TaskHandle taskHandle,
DCS::i32 everyNsamplesEventType,
DCS::u32 nSamples,
void *callbackData);
66 typedef DCS::i32 (*NIErrorCallback)(TaskHandle taskHandle,
DCS::i32 status,
void *callbackData);
84 TaskHandle ni_opaque_handler;
92 NIDataCallback acq_callback;
93 NIErrorCallback err_callback =
nullptr;
99 std::map<const char*, InternalChannel> vchannels;
108 f64 ptr[INTERNAL_SAMP_SIZE];
Exposes DAQ functionalities of the API to the end user.
double f64
Equivalent to double.
Definition: DCS_ModuleUtils.h:61
unsigned long u32
Equivalent to uint_32t.
Definition: DCS_ModuleUtils.h:54
signed long i32
Equivalent to int_32t.
Definition: DCS_ModuleUtils.h:53
A wrapper class used to export a simple string to the client side.
Definition: DCS_ModuleUtils.h:73
Definition: internal.h:82
ChannelType
Classifies a channel type of the DAQ.
Definition: DCS_ModuleAcquisition.h:30
Definition: internal.h:72
Represents a timestamp divided fieldwise.
Definition: DCS_ModuleUtils.h:295
ChannelRef
Classifies a channel reference connector for the DAQ.
Definition: DCS_ModuleAcquisition.h:40
Definition: registry.h:70
Definition: internal.h:106
#define DCS_INTERNAL_TEST
Defines the export interface acessible via the dll-interface applicable for internal functions only...
Definition: exports.h:137
Channel measurement numeric limits.
Definition: DCS_ModuleAcquisition.h:56
unsigned long long u64
Equivalent to uint_64t.
Definition: DCS_ModuleUtils.h:52
unsigned char u8
Equivalent to uint_8t.
Definition: DCS_ModuleUtils.h:58
#define DCS_REGISTER_EVENT
Append this definition before function declarations (or anywhere in the code) to register a tcp conne...
Definition: exports.h:95