Best Practices and Caveats

Best practices and caveats for programming the WTS using SCPI commands.

Keep the following best practices in mind when programming the WTS .

  • Turn the signal generator output off when your configuration space does not need to access the hardware so that other virtual instruments operating concurrently are able to access the hardware.
  • Where possible, use compound commands to reduce communication overhead.
  • Use synchronization commands (*WAI ¦ *OPC[?]) when you need to ensure that all necessary overlap commands complete prior to executing a specific command. For example, you want the set list length command to complete before you populate values to the list. Set list length is a sequential command. Initiate is an overlap command.
  • If you are performing repeatable measurements among different wireless standards or variants, use different configuration spaces for them.

Keep the following caveats in mind when programming the WTS .

  • Sequential commands do not run in serial order. A sequential command will start executing while other overlap commands are executing, however no other commands will execute until the sequential command completes.
  • Make sure the timeout of your execution does not exceed the timeout of VISA. The default VISA timeout is two seconds. If your execution timeout is greater than the VISA timeout, adjust the VISA timeout to ensure proper functionality and, if errors occur, correct error messages.