Section 5 — Programming
5-95
esp_get_daq_data Report Data Acquisition Results
Synopsis:
#include “esp6000.h”
int esp_get_daq_data(long *DataArray, long *Num, long *DaqStat)
Arguments:
long DataArray
address of array where ADC data is to be stored
long Num
number of elements returned in array (512 maximum)
long
DaqStat data acquisition status.
0= normal
1= overrun occurred
Library Location:
\esp6000.dll
Description:
esp_get_daq_data() retrieves data acquisition results. The sample size depends on the
number of ADC and feedback channels tagged for acquisition.
ADC 1
ADC 2
ADC 3
ADC 4
ADC 5
ADC 6
ADC 7
ADC 8
FEEDBACK 1
FEEDBACK 2
FEEDBACK 3
FEEDBACK 4
FEEDBACK 5
FEEDBACK 6
FEEDBACK 7
FEEDBACK 8
TIMESTAMP
32-BIT
Maximum Sample Size
Returns:
ESPOK, ESPERROR
Hint:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com