This manual introduces the internal programming language for the Versatile Power Bench XR and Rack XR series power supplies. The language is based on BASIC and supports script download, upload, storage, and execution. The manual provides information on script syntax, running scripts, and examples.
A full-featured scripting language based on BASIC is implemented within Versatile Power's Bench XR and Rack XR series. Scripts can be stored in persistent memory and executed via the front panel or SCPI commands over USB or Ethernet interfaces.
The manual details the syntax rules for variables, keywords, labels, and statements such as loops (FOR/NEXT), subroutines (GOSUB/RETURN), and conditional branches (IF/THEN). It also defines reserved system variables that allow scripts to control output setpoints, limits, and read measured values.
Up to 10 scripts may be stored verbatim in persistent memory within the power supply.
Scripts may be run or halted from either the front panel or via SCPI commands.
Script names may be up to 32 characters in length, though only the first 14 are displayed on the front panel.