beautypg.com

EXFO FLS-2200 Broadband Source User Manual

Page 56

background image

Using Your Broadband Source in an Automated Test Environment

48

FLS-2200

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.

A program message must be ended with a TERMINATOR>. For more information, see the appendix on data types.

: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