Data acqusition functions, Startmeasurement, Isdataready – Dataman 770 Series User Manual
Page 22: Getreconstructionpercentage, Getdata
Development kit for DATAMAN 770 series
Programmer’s Guide
3.4. Data acqusition functions
3.4.1. StartMeasurement
Starts/restarts data acquisition.
void __stdcall __export StartMeasurement();
Parameters: -
Return value: -
3.4.2. IsDataReady
Returns the data acquisition status.
int __stdcall __export IsDataReady();
Parameters: -
Return value:
Indicates data acquisition status. It is one of following constants:
DATA_NOT_TRIGGERED – valid trigger event hasn’t occured
DATA_TRIGGERED – the acquisition is triggered and is in progress
DATA_READY – the acquisition is finished, data are prepared to be
transferred to computer. This transfer can be done by GetData function.
DATA_ERROR – the communication with device is broken, it is not
possible to determine acquisition status
3.4.3. GetReconstructionPercentage
Returns ratio of the measured data to measured data + interpolated data.
void __stdcall __export GetReconstructionPercentage(int *channelA, int
*channelB);
Parameters:
channelA – amount of channel A, that was measured (percentage)
channelB – amount of channel B, that was measured (percentage)
Return value: -
Remark:
This function works only in case, that the selected timebase uses sampling
mode (SamplingMulti > 1).
3.4.4. GetData
Transfers data from device to computer.
- 22 -