beautypg.com

AMETEK SLM-4 User Manual

Page 29

background image

Sorensen SLM-4 Chassis

GPIB/RS-232 Programming

Description of GPIB Programming Command Syntax.

{ }

:The contents of the { } symbol must be used as a part or data of the

GPIB command, it can not be omitted.

[ ]

:The contents of the [ ] symbol indicates that the command is optional,

depending on the testing application.

|

:This symbol means to make a choice between one or the other. For

example “HIGH|LOW” means it can only use HIGH or LOW as the
command, but one of the choices must be used.

Terminator

:The program line terminator character must be sent after the GPIB

command; the available command terminator characters that can be
accepted in the SLM chassis are listed in Table 4–1.

LF
LF WITH EOI
CR, LF
CR, LF WITH EOI

Table 4–1 GPIB Command Terminator

A terminator informs GPIB that it has reached the end of statement.
Normally, this is sent automatically by your GPIB programming
statements. In this manual, the terminator is assumed at the end of
each example line of code. If it needs to be indicated, it is shown by
symbol (nl); which stand for “new line” and represents ASCII code byte
the OA Hexadecimal or 10 decimal.

Semicolon ”;“

:The semicolon “;” is a back-up command, the semicolon allows you to

combine command statements on one line to create command
message.


Table 4–2 presents a summary of the GPIB/RS-232 Setting commands, and Table 4–3
summarizes the GPIB/RS-232 preset Query commands with applicable module types. Table
4–4 is a summary of State commands, the System commands are in Table 4–5, Measure and
Limit commands are in Table 4–6, and the Global commands are in Table 4–7.

M540069-01 Rev B

4-3