Ieee-488 Bus Operation - Keithley 7015-S Instruction Manual

40-channel solid-state multiplexer cards
Table of Contents

Advertisement

Operation
When a scan is performed, the channels specified in the scan
list will be scanned in the order that they are presented in the
scan list.
A manual scan can be performed by using the RESET de-
fault conditions of the Model 7001 or Model 7002. RESET
is selected from the SAVESETUP menu of the main MENU.
When RESET is performed, the mainframe is configured for
an infinite number of manual scans. The first press of STEP
takes the mainframe out of the idle state. The next press of
STEP will close the first channel specified in the scan list.
Each subsequent press of STEP will select the next channel
in the scan list.

4.3.3 IEEE-488 bus operation

Bus operation is demonstrated using HP BASIC 4.0. The
programming statements assume that the primary address of
the mainframe is 07.
Closing and opening channels
The following SCPI commands are used to close and open
channels:
:CLOSe <list>
:OPEN <list>|ALL
The following statement closes channels 1!1, and 1!3
through 1!11:
OUTPUT 707; ":clos (@ 1!1, 1!3:1!11)"
Notice that the colon (:) is used to separate the range limits.
Either of the following statements will open channels 1!1,
and 1!3 through 1!11:
OUTPUT 707; ":open (@ 1!1, 1!3:1!11)"
OUTPUT 707; ":open all"
Scanning channels
There are many commands associated with scanning. How-
ever, it is possible to configure a scan using as little as four
4-4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
commands. These commands are listed as follows:
*RST
:TRIGger:SEQuence:COUNt:AUTo ON
:ROUTe:SCAN <list>
:INIT
The first command resets the mainframe to a default scan
configuration. The second command automatically sets the
channel count to the number of channels in the Scan List, the
third command defines the Scan List, and the fourth com-
mand takes the mainframe out of the idle state.
The following program will perform a single scan through all
40 channels of a multiplexer card installed in slot 1:
10 OUTPUT 707; "*RST"
20 OUTPUT 707; ":trig:seq:coun:auto on"
30 OUTPUT 707; ":scan (@ 1!1:1!40)"
40 OUTPUT 707; ":init"
50 END
Line 10
Selects a default configuration for the scan.
Line 20
Sets channel count to the scan-list-length.
Line 30
Defines the scan list.
Line 40
Take the Model 7001/7002 out of the idle state.
The scan is configured to start as soon as this
command is executed.
When the above program is run, the scan will be completed
as rapidly as possible. An additional relay delay can be added
to the program to slow down the scan for viewing. The pro-
gram is modified by adding line 25 to slow down the scan.
Also, Line 5 is added to the beginning of the program to en-
sure that all channels are open before the scan is started.
5
OUTPUT 707; ":open all"
10 OUTPUT 707; "*RST"
20 OUTPUT 707; ":trig:seq:coun:auto on"
25 OUTPUT 707; ":trig:del 0.25"
30 OUTPUT 707; ":scan (@ 1!1:1!40)"
40 OUTPUT 707; ":INIT"
50 END
Line 5
Opens all channels.
Line 25
Sets a 1/4 second delay after each channel closes.

Advertisement

Table of Contents
loading

This manual is also suitable for:

7015-c

Table of Contents