API Commands
Appendix A
A-42
ChartScan User’s Manual
M#
- Set Measuring Mode
TYPE
System
EXECUTION
Deferred
SYNTAX
M#mode
Specify measuring mode. Valid options for
mode
are:
0
- Line cycle
integration / high-speed multi-channel mode, and
1
- Single channel high-
speed burst mode.
DESCRIPTION
The Set Measuring Mode (
M#
) command selects one of the two internal measuring modes supported by the
ChartScan/1400 units:
Normal Mode
(for
Line Cycle Integration
and
High-Speed Multi-Channel
applications). Normal mode is the
system default. In this mode each channel is averaged over a selected number of samples as specified with the
Set Averaging Weight (
W#
) command. As there are 32 samples per line cycle, 32, 64, 128, or 256 samples will
automatically enable line cycle noise rejection.
Thermocouples and DC Volts are averaged over the specified number of samples. For AC Volts, the root mean
square (RMS) is computed over the specified number of samples.
High-speed, Single-Channel Mode (Burst mode)
is used to sample a single channel at a frequency specified
by the Set Frequency (
F#
) command. The channel is sampled in blocks of 256 readings, with the number of
blocks specified by the Set Counts (
Y
) command.
Refer to
Measuring Mode
section of
Appendix B
for more detailed information.
EXAMPLES
PRINT#1, “OUTPUT07;M#0X”
‘ Select Line Cycle Integration/High-Speed Multi-Channel Mode
PRINT#1, “OUTPUT07;W#32X”
‘ Select number of samples = 32
PRINT#1, “OUTPUT07;Y0,10,0”
‘ Setup to read 10 post trigger scans
PRINT#1, “OUTPUT07;C1-3,1X”
‘ Enable channels 1 - 3 for Type J thermocouples
PRINT#1, “OUTPUT07;T1,8,0,0X”
‘ Arm the unit
PRINT#1, “OUTPUT07;@X”
‘ Trigger unit and collect scans
PRINT#1, “OUTPUT07;M#1X”
‘ Select Single Channel High-Speed Burst Mode
PRINT#1, “OUTPUT07;F#10000.0X”
‘ Set sampling frequency = 10 KHz
PRINT#1, “OUTPUT07;Y0,4096,0”
‘ Set count to take 1 MB’s worth of samples
PRINT#1, “OUTPUT07;C1,26X”
‘ Select channel 1 for reading 250 Volts AC samples
PRINT#1, “OUTPUT07;T1,8,0,0X”
‘ Arm the unit
PRINT#1, “OUTPUT07;@X”
‘ Trigger unit and collect scans
Summary of Contents for OMB-CHARTSCAN 1400
Page 1: ...August 2002 OMB CHARTSCAN 1400 Portable Data Recorder p n OMB 483 0901 Rev 3 1...
Page 6: ...iv ChartScan User s Manual...
Page 24: ...ChartScan User s Manual...
Page 32: ...2 8 General Information ChartScan User s Manual Notes...
Page 56: ...3 24 ChartScan User s Manual Notes...
Page 124: ...6 20 Calibration ChartScan User s Manual...
Page 126: ...A ii ChartScan User s Manual...
Page 136: ...API Commands Appendix A A 10 ChartScan User s Manual Notes...
Page 176: ...API Commands Appendix A A 50 ChartScan User s Manual...
Page 230: ...Appendix C Registers Data Formats Queries ChartScan User s Manual C 13...
Page 237: ...Registers Data Formats Queries Appendix C C 20 ChartScan User s Manual Notes...
Page 257: ...E 2 ChartScan User s Manual Notes...
Page 265: ...ASCII Code Summary Appendix F F 8 ChartScan User s Manual Notes...
Page 269: ...Abbreviations Appendix H H 2 ChartScan User s Manual Notes...
Page 271: ...ChartScan User s Manual...