34
How can I...
Get the current auto ranging status
word GetAutoRanging( byte byCh, byte *byMode )
Description:
This routine returns the current auto ranging mode:
0
:
Auto ranging is off
1
:
Auto ranging is on.
If Auto ranging is switched on for a channel, the sensitivity will be
automatically adjusted if the input signal becomes too large or too
small.
When a measurement is performed, the data is examined. If that
data indicates another range will provide better results, the hard-
ware is set to a new sensitivity. The
next
measurement that is
performed, will be using that new sensitivity. Auto ranging has no
effect on a current measurement.
Input:
byCh
The channel whose current Auto ranging mode
is requested (1, 2, 3 ,4).
Output:
byMode
The Auto ranging mode.
Return value
E_NO_ERRORS
E_INVALID_CHANNEL
E_NO_HARDWARE
Set the auto ranging status
word SetAutoRanging( byte byCh, byte byMode )
Description:
This routine selects the Auto ranging mode:
0
:
turn Auto ranging off
1
:
turn Auto ranging on.
See also
GetAutoRanging
.
Input:
byCh
The channel whose Auto ranging mode has to
be set (1, 2, 3, 4).
byMode
The new value for the Auto ranging mode.
Output:
Return value
E_NO_ERRORS
E_INVALID_CHANNEL
E_INVALID_VALUE
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...