Appendix A
API Command Reference
NetScan User’s 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 sampling frequency 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 user’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 frequency 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
Summary of Contents for OMB-NETSCAN
Page 6: ...iv NetScan User s Manual...
Page 18: ...1 12 Configuring and Starting NetScan NetScan User s Manual Notes...
Page 38: ...3 8 General Information and Specifications NetScan User s Manual Notes...
Page 82: ...4 44 ChartView Software Reference NetScan User s Manual Notes...
Page 118: ...6 20 Calibration NetScan User s Manual...
Page 140: ...A ii NetScan User s Manual...
Page 192: ...API Command Reference Appendix A A 52 NetScan User s Manual Notes...
Page 237: ...Appendix D Registers Data Formats Queries NetScan User s Manual D 13...
Page 244: ...NetScan Program Examples Appendix E E 2 NetScan User s Manual...
Page 248: ...ASCII Code Summary Appendix F F 4 NetScan User s Manual Notes...
Page 250: ...NetScan Error Messages Appendix G G 2 NetScan User s Manual Notes...
Page 252: ...Abbreviations Appendix H H 2 NetScan User s Manual Notes...
Page 254: ...NetScan User s Manual...