7-32
Scanning
Model 2701 User’s Manual
Scanning programming example
The following program will scan 10 channels (101 through 110):
NOTE
The following example can be run from the KE2700 Instrument Driver using the
example named “ScanChan” in Table G-1 of Appendix G.
TRAC:CLE
' Clear buffer.
INIT:CONT OFF
' Disable continuous initiation.
TRIG:SOUR IMM
' Select the immediate control source.
TRIG:COUN 1
' Set to perform one scan.
SAMP:COUN 10
' Set to scan 10 channels.
ROUT:SCAN (@101:110)
' Set scan list channels; 101 through 110.
ROUT:SCAN:TSO IMM
' Start scan when enabled and triggered.
ROUT:SCAN:LSEL INT
' Enable scan.
READ?
' Trigger scan and request the readings.
Scanning examples
The following scanning examples assume that the Model 7700 switching module is
installed in slot 1 of the mainframe.
Tables are used for the procedure steps to configure and run scan examples. The left side
of the table provides the front panel procedure, while the right side shows the equivalent
remote programming commands. Where appropriate, menu sequences are provided to
summarize a front panel operation or selection. For example:
SHIFT SETUP > RESTORE: FACT
For the above menu sequence, press SHIFT and then SETUP to access the menu. Use the
edit keys (
,
, , and ) to display RESTORE: FACT and then press ENTER to select
it.
External trigger scan
For this example, an external instrument is used to trigger the start of the 2-channel scan.
Trigger pulse requirements and trigger cable connections are covered in Section 8.
NOTE
For this example, the front panel TRIG key can be used in place of an external
input trigger. Each time the TRIG key is pressed, the 2-channel scan will run.
One channel (101) measures temperature and the other channel (102) measures resistance.
The two readings are stored in the buffer. Each time the scan is run, the two readings will
be appended (added) to the buffer.
A type K thermocouple is used to measure temperature. Since the internal cold (reference)
junction of the Model 7700 is being used, the thermocouple can be connected directly to
the screw terminals of the switching module.
2701-900-01.book Page 32 Wednesday, August 3, 2011 9:43 AM
Содержание 2701
Страница 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 352: ...13 SCPISignalOriented MeasurementCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Страница 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...