Command Examples; Example Program - Keithley 7065 Instruction Manual

Hall effect card
Table of Contents

Advertisement

Command Examples

Example 1: Configure Card Type
In order to configure the Model 7001 for use with a Model 7065 in Slot 1, send the following command over the bus:
:CONF:SLOT1:CTYPE C7065
Example 2: Close Channels
In order to close Row 1, Column 2, and Row 2, Column 3 of a card located in Slot 1, the following command would
be sent:
:CLOSE (@1!1!2,1!2!3)
Note that the channel list must be enclosed in parentheses and preceded by the @ symbol.
Example 3: Open Channels
Specific channels can be opened by including them in the channel list, as in the following example:
:OPEN (@1!1!2,1!2!3)
To open all closed channels simultaneously, simply send the following command:
:OPEN ALL
Be careful when using the OPEN ALL command. Recall that the card low/high
NOTE
resistivity configuration is determined by the state of Row 4, Column 5. Thus,
sending OPEN ALL will automatically place the card in the low-resistivity mode.

Example Program

The example program below demonstrates basic programming techniques for controlling the Model 7065 through
the Model 7001. The program configures the card type (Model 7065), closes a channel list, and then opens all
channels.
The program is written in Hewlett-Packard BASIC. Note that the program assumes that the Model 7065 is installed
in Slot 1 of the Model 7001.
Table 12: Example Program
Program
10 REMOTE 708
20 OUTPUT 708; ":CONF:SLOT1:CTYPE C7065"
30 OUTPUT 708; ":CLOS (@1!1!1,1!2!2)"
40 PRINT "PRESS 'CONT' TO OPEN"
50 PAUSE
60 OUTPUT 708, ":OPEN ALL"
PA-392 Rev. C / July 2009
Comments
! Put 7001 in remote.
! Slot 1 = 7065 card.
! Close 1,1 and 2,2.
! Open all channels.
11 of 21

Advertisement

Table of Contents
loading

Table of Contents