Versatile Power Bench XR/Rack XR Series Internal Programming Language Manual

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.


Versatile Power Bench XR/Rack XR Series Internal Programming Language Manual - cover page
Brand
Versatile Power
Document type
Programming Manual
Language
English
Pages
30
File format
PDF
File size
182 KB
Published
16 October, 2023
Updated
16 October, 2023
MD5 checksum
1D79378556438F59DA48069490EE7253

About this manual

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.

What's inside

  • Overview
  • Script Naming
  • Whitespace
  • Strings
  • Numbers
  • Labels
  • Keywords
  • Variables
  • Reserved Variables
  • Statement Syntax

Frequently asked questions

How many scripts can be stored in the power supply?

Up to 10 scripts may be stored verbatim in persistent memory within the power supply.

How can scripts be run?

Scripts may be run or halted from either the front panel or via SCPI commands.

What is the maximum length of a script name?

Script names may be up to 32 characters in length, though only the first 14 are displayed on the front panel.

Download PDF (182 KB)