| |
PI-5800/PI-2000 Software Compatibilities
The PI-2000 can be used as a direct replacement for the PI-5800.This document covers the PI-5800
commands supported by the PI-2000 and the additional commands required over the IEEE-488 interface
when Pulse Instruments' PI-PAT software is not being used. All commands described in this document
can be sent to the PI-2000 in lower case or ALL CAPITAL letters. Spaces are ignored. All commands
sent to the PI-2000 must be terminated with a carriage return and line feed. All
information sent back
to your controller will be terminated similarly. So, the typical command structure will be:
RUN\r\n
PI-5800A Commands Supported
Command Line | Function |
CLEAR extension |
Clears memory and resets data
generator. Extension defines SP, INST, CHANNEL, FORMAT. No extension clears
all |
DEFINE SP x(y-z) | Sets up Subpattern x
starting at bit position y and being z bits long |
LOAD CHANNEL x | Selects channel (x) that
will be loaded with data. |
GOTO x |
Points at bit x position to begin
loading data.
Position can be defined as START
or END of subpattern or CHANNEL number. |
(binary data) * x | Loads data defined in
parenthesis x times in the channel and bit location selected. |
x BEGIN y | Instruction Line (x) and
establishes reference number (y) for the program. |
x SP y * z | Instruction Line x Subpattern
y to repeat z times |
x REPEAT y * z | Instruction Line x repeat
line y through (x-1)z times |
COMPILE x | compiles/loads program x to
run. |
UPDATE | Sends data into pattern memory. |
RUN | Runs pattern continuously. |
PERIOD x units | Sets the internal clock
period to x NS, US, or MS |
CHANNEL x format | Sets format of channel x to INVERT, NONINV,
RZ OR NRZ |
New PI-2000 GPIB Commands
Command Line | Function |
POWERDOWN | This command shuts down the operating system to
prepare the PI-2000 to be powered down. |
RUNMODE | Request the run mode condition. Responses are:
"Stopped", "Running", "Paused", "WaitSeq",
"WaitStep", "WaitPause", "WaitStop", "WaitRun". |
CLKINT | Selects internal clock |
CLKEXTTTL | Selects external clock with TTL thresholds |
CLKEXTECL | Selects external clock with ECL thresholds |
STASTP x | Enables/Disables Start/Stop from rear panel.
0=disabled, 6=enabled |
SEQUENCE | Runs through the instruction set once from the
beginning or from the point the instruction set was paused. |
PAUSE | Stops the instruction set at the end of the line being
executed. |
STEP x | Step through x subpattern of the instruction sequence |
GPIB Command Mismatches
The following are commands that are interpreted slightly differently in the
PI-2000.
Command Line | Difference |
RUN x | The PI-2000 requires a variable
after the RUN to indicate Run From Start (0) or Run From Paused(1). |
STOP | The PI-2000 resets to the first
instruction line. This would replace the STOP followed by COMPILE x commands
in the PI-5800. |
PAUSE | This PI-2000 command is equivalent
to the PI-5800 STOP command. This will stop at the end of an
instruction line. The command to restart from this instruction line is RUN
1. |
|