www.vtiinstruments.com
EX1629 Command Set
209
E
XAMPLE
#define NUM_SCANS 10
#define NUM_CHANNELS 48
#define MAX_NUM_SAMPLES (NUM_SCANS * NUM_CHANNELS)
#define TIMEOUT_SECS 5
ViSession instrumentHandle;
ViReal64 seconds[NUM_SCANS];
ViReal64 fractseconds[NUM_SCANS];
ViReal64 acqdata[MAX_NUM_SAMPLES];
ViInt32 numdata, numscans;
result = vtex1629_read_fifo(instrumentHandle,
NUM_SCANS,
seconds,
fractseconds,
&numscans,
MAX_NUM_SAMPLES,
acqdata,
&numdata,
TIMEOUT_SECS);