Appendix A API Command Reference
NetScan Users Manual A-25
EXAMPLES
PRINT#1, F0,0X
Set the engineering units to °C and reading format to
engineering units
PRINT#1,C1, 1, -100.0, 100.0,
1.0X
Set points and hysteresis interpreted as °C
PRINT#1, U4X
Retrieve High/Low/Last readings
LINE INPUT #1, A$
Returned readings are in engineering °C format
PRINT A$
PRINT #1, F1,1X
Set the engineering units to °F and reading format to
binary low/high
PRINT#1,C1, 1, -100.0, 100.0,
1.0X
Set points and hysteresis interpreted as °F
PRINT #1, U4X
Retrieve High/Low/Last readings
LINE INPUT #1, A$
Returned readings in binary low/high format
PRINT A$
F# - Set Burst Mode Frequency
TYPE
System
EXECUTION
Deferred
SYNTAX
F#freq
Select burst mode sampling frequency where freq is a real number and
where 38.5 < freq < 20000.0 Hertz (default).
DESCRIPTION
The Set Burst Mode Frequency (F#) command is used to select the channel samp l i ng f requenc y when in the
High-speed, single-channel mode (burst mode). See Measuring Modes section of Appendix D for more
information.
For AC measurements where the RMS value is to be returned via the U16 command, it is the us er’s
responsibility to program a frequency which will yield a sufficient whole even number of samples per line cycle in
order to compute the RMS accurately. In general for AC measurements, the frequenc y should equal (2n * 60) Hz
where n is a positive integer.
EXAMPLE
PRINT#1, F#15000.0X
Select 15 KHz sampling frequency
PRINT#1, F#100.5X
Select 100.5 Hz sampling frequency