beautypg.com

EXFO IQS-600 Integrated Qualification System User Manual

Page 195

background image

Using IQS Products in an Automated Test Environment

Integrated Qualification System

187

SCPI Command Structure

You can build program messages allowing you to send more than one
command at a time. Sometimes, you can omit the leading
<mnemonic> path to simplify the program messages and speed up
the search time (the parser saves the last position in the command
tree).

Paths cannot be omitted in all cases. The example below would cause
an error.

IEEE 488.2 required commands or queries (beginning with a *) that are
part of the program message have no effect on the paths.

Example:

:system:version?;*idn?;:system:error:next? is equivalent to

:system:version?;*idn?;error:next?

Note: Omitting the leading <mnemonic> path is only possible when you have

more than one command or query in the program message that you send.

:system:version?;:system:error:next?

:system:version?;error:next?

other<mnemonic> path

<mnemonic> path
omitted –also correct

saved <mnemonic> path

:system:error:next?;:system:version?

:system:error:next?;version?

Incorrect; :version? is not in
the :system:error
branch

other<mnemonic> path

saved <mnemonic> path