Programming examples

The following chapters provide basic programming examples.

The examples contain SCPI commands supported by instruments and the following symbolic scripting commands:

  • // <comment>:

    A <comment> ignored by the used programming tool

  • WHILE <query> <> <value>:

    Waits until the <query> returns a certain <value>, e.g. a specific state is reached.

  • WAITKEY <message>:

    Displays a dialog box with a <message> and waits until you close the box.

For advanced programming examples, refer to www.github.com/Rohde-Schwarz/Examples.