60
How can I...
Perform resistance measurements
Some instruments have special hardware to perform resistance measurements.
Setup resistance measurements
word SetupOhmMeasurements( word wMode )
Description:
This routine sets the instrument up to perform resistance measu-
rements. Several properties of the instrument are adapted: input
sensitivity, signal coupling, record length, sampling frequency,
auto ranging, trigger source, trigger timeout, acquisition mode.
These are all brought to the required state and should not to be
set to other values afterwards.
Input:
wMode
0
switch resistance measurements off
1
switch resistance measurements on
Output:
Return value
E_NO_ERRORS
E_INVALID_VALUE
E_NOT_SUPPORTED
E_NO_HARDWARE
Retrieve the resistance values
After resistance measurements are switched on, and a measurement is perfor-
med in the normal way, the resistance values can be retrieved by using the
function
word GetOhmValues( double *dValue1, double *dValue2 )
Description:
This routine retrieved the determined resistance values from the
instrument. This routine also performs averaging on the values,
only after 5 measurements the value is valid.
The calling software is responsible for performing enough measu-
rements
Input:
-
Output:
dValue1
resistance value for Channel 1
dValue2
resistance value for Channel 2
Return value
E_NO_ERRORS
E_NOT_INITIALIZED
E_NOT_SUPPORTED
E_NO_HARDWARE
Summary of Contents for Handyscope HS3
Page 2: ......
Page 8: ...8 Introduction...
Page 65: ...Deprecated routines 65...
Page 67: ...TiePie engineering DLL programmer s manual rev 1 26...