Digilent WaveForms User Manual
Page 16
WaveForms™ SDK Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Page 16 of 85
FDwfAnalogInStatusAutoTriggered(HDWF hdwf, BOOL *pfAuto)
Parameters:
-
hdwf – Interface handle.
-
pfAuto – Returns TRUE if the acquisition was auto triggered.
The function above is used to verify if the acquisition is auto triggered.
FDwfAnalogInStatusData(
HDWF hdwf,
int
idxChannel,
double
*rgdVoltData,
int
cdData)
Parameters:
-
hdwf – Interface handle.
-
idxChannel – Channel index.
-
rgdVoltData – Pointer to allocated buffer to copy the acquisition data.
-
cdData – Number of samples to copy.
The function above is used to retrieve the acquired data samples from the specified idxChannel on the AnalogIn
instrument. It copies the data samples to the provided buffer.
FDwfAnalogInStatusNoise(
HDWF hdwf,
int
idxChannel,
double
*rgdMin,
double
*rgdMax,
int
cdData)
Parameters:
-
hdwf – Interface handle.
-
idxChannel – Channel index.
-
rgdMin – Pointer to allocated buffer to copy the minimum noise data.
-
rgdMax – Pointer to allocated buffer to copy the maximum noise data.
-
cdData – Number of min/max samples to copy.
The function above is used to retrieve the acquired noise samples from the specified idxChannel on the AnalogIn
instrument. It copies the data samples to the provided buffer.
FDwfAnalogInStatusSample(HDWF hdwf,
int
idxChannel,
double
*pdVoltSample)
Parameters:
-
hdwf – Interface handle.
-
idxChannel – Channel index.
-
pdVoltSample – Variable to receive the sample value.
The function above gets the last ADC conversion sample from the specified idxChannel on the AnalogIn
instrument.