beautypg.com

Data acqusition functions, Startmeasurement, Isdataready – Dataman 770 Series User Manual

Page 22: Getreconstructionpercentage

background image


Development kit for DATAMAN 770 series

Programmer’s Guide


onoff – determines whether the digital shielding will be turned on or off

ONOFF_OFF – turns the digital shielding off

ONOFF_ON – turns the digital shielding on
level – determines the digital shielding factor (valid values are: 2, 4, 8, 16, 32 and 64)

Return value: -

Remark:
In order to make the digital shielding work correctly, it is necessary to have a stable
and well triggered signal on the input. Digital shielding prolongs the oscilloscope
response to the signal change (the higher the factor the longer the response).

3.4. Data acqusition functions

3.4.1. StartMeasurement

Starts/restarts data acquisition.

Public Declare Sub StartMeasurement Lib "m770drvdk.dll" ()


Parameters: -

Return value: -

3.4.2. IsDataReady

Returns the data acquisition status.

Public Declare Function IsDataReady Lib "m770drvdk.dll" () As Long


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.

Public Declare Sub GetReconstructionPercentage Lib "m770drvdk.dll" (ByRef

channelA As Long, ByRef channelB As Long)

Parameters:

channelA – amount of channel A, that was measured (percentage)

- 22 -