beautypg.com

Set measuring mode – Measurement Computing TempScan/1100 User Manual

Page 240

background image

A-44 API Command Reference

889897

TempScan / MultiScan User’s Manual

M#

- Set Measuring Mode

MultiScan/1200 only

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 basic internal measuring modes supported by the

MultiScan/1200 unit:

Line-Cycle Integration / High-Speed Multi-Channel (or Default) Mode. In the line-cycle integration / high-
speed multi-channel mode, the MultiScan/1200 samples channel data at 1.92 kHz or once every 520.83 µs.
You can select the number of samples over which to average in order to accomplish noise filtering.

Single-Channel High-Speed Burst Mode. In the single-channel burst mode, the MultiScan/1200 collects
data in user-defined multiples of 256 samples at a user-defined sampling frequency between 38.5 Hz and
20.0 kHz.

For more information on MultiScan/1200 measuring mode parameters, see section Measuring Modes
(MultiScan/1200
Only) in the chapter System Configuration, and see commands Set Burst Mode Frequency (

F#

)

and Set Averaging Weight (

W#

).


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,0X”

‘ Setup to read 10 Post-Trigger scans

PRINT#1, “OUTPUT07;C1-3,1X”

‘ Enable Channels 1 - 3 for thermocouples Type J

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,0X”

‘ Set count to take a 1.0-megabyte amount 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

This manual is related to the following products: