20
How can I...
Get all digital input values
word GetDigitalInputValues( word *wValues )
Description:
The TP112 has eight digital inputs, which are sampled simultane-
ously with the analog input channels.
This routine transfers the measured digital values from the me-
mory in the DLL into the memory in the application. The measu-
red data is returned in binary values. Each bit in the digital data
words represents a digital input. wValues is an array. The caller
must ensure that there is enough space in the array to contain the
data. Therefore the size of the array in bytes must be at least
RecordLength * sizeof(word)
Input:
-
Output:
Return value
E_NO_ERRORS
E_NOT_SUPPORTED
E_NO_HARDWARE
Get one sample of the digital input values
word GetOneDigitalValue( word wIndex, word *wValue )
Description:
This routine transfers a single digital input value from the memory
in the DLL to the memory of the application.
Input:
wIndex
The index of the measured data point, relative to the trig-
ger point (negative for pre samples, positive for post sam-
ples)
Output:
wValue
Return address for the digital input value.
Return value
E_NO_ERRORS
E_NOT_SUPPORTED
E_NO_HARDWARE
Содержание Handyscope HS3
Страница 2: ......
Страница 8: ...8 Introduction...
Страница 65: ...Deprecated routines 65...
Страница 67: ...TiePie engineering DLL programmer s manual rev 1 26...