26#if defined(_WIN32) || defined(WIN32)
27#if defined(VRPN_USE_NIDAQ)
28#include "vrpn_Analog.h"
42 double dSamplingRate=100.0,
double dInterChannelRate=100000.0,
43 short sDeviceNumber=DAQ::DEF_DEVICE,
int cChannels=10,
44 short rgsChan[]=DAQ::DEF_CHANS_DIFF,
45 short rgsGain[]=DAQ::DEF_GAINS,
46 short sInputMode=DAQ::DIFFERENTIAL,
47 short sPolarity=DAQ::BIPOLAR,
61 struct timeval tvOffset;
66 CRITICAL_SECTION csAnalogBuffer;
68 static unsigned __stdcall vrpn_Nidaq::runThread(
void *pVrpnNidaq);
virtual void report_changes(vrpn_uint32 class_of_service=vrpn_CONNECTION_LOW_LATENCY, const struct timeval time=vrpn_ANALOG_NOW)
virtual void mainloop()=0
Generic connection class not specific to the transport mechanism.
定义 vrpn_Connection.h:562