Welcome to HTBasic 2021

HP Style Basic for Engineers

HTBasic 2021 New Release

What's New?

HTBasic 2021 introduces LXI support for instrument control! This new feature auto-discovers attached devices and then remembers your selections.

HTBasic 2021 is available for order now–or you can download the Trial.

This release also includes a number of other enhancements such as:

  • Updated Documentation
  • HTBSelectDirectory DLL added to the DLL Toolkit
  • MS dotnet libraries now included in the install package so an internet connection is no longer necessary;
  • BuilderPlus (BPLUS) is now loaded by default as part of the core;
  • New sample AUTOST program that saves initial settings;
  • And more… including updates to the user interface and some of the menu labels.

HTBasic is still unique with its comprehensive Test and Measurement feature set combining an easy to use Basic syntax with a Visual ScreenBuilder to simplify GUI creation with menu, dialog, and widget controls for building user friendly interfaces and virtual instruments with powerful data input and graphical data presentation elements.

HTBasic Features

  • Built-in syntax for controlling LXI, GPIB, GPIO, and data acquisition cards from companies like National Instruments, Agilent, Keysight, Keithley, Ines…
  • A Visual ScreenBuilder that works with  BuilderPlus (BPLUS) code extensions using widget controls for: Data Presentation–meters, strip charts, bars, bitmaps, and clocks; Menus–pull-down, cascade, and buttons; Data Input–keypads, pushbuttons, radio buttons, scrollbars, sliders and toggle buttons; and Dialogs–for displaying errors, file names, lists, questions, and warnings.
  • COMPLEX, LONG, and STATIC variable types together with matrix math, and extensive graphic commands for unparalleled data processing and presentation.
  • Advanced Math Library includes precompiled signal processing functions like FFTs.
  • DLL Toolkit  allows HTBasic to call Dynamic Link Libraries written in other languages like C/C++.
  • Integrated debugger.
  • Backwards compatible with legacy HP workstation BASIC (RMB) including the TRANSFER function for GPIB, serial, and file I/O while also supporting modern Windows standards on PCs.

LXI/GPIB Instrument Control

HTBasic connects to instruments over IEEE-488 (GPIB/HPIB) using 3rd party interface cards. Plus, HTBasic also supports modern standards like LXI (Lan Extensions for Instruments) over ethernet. HTBasic is vendor agnostic and connects to any make of instrument as well as Data Acquisition (DAQ) cards from vendors like National Instruments and Ines.

Data Analysis

Supported data types including Complex numbers, Long integers, and Static variables together with built-in matrix math operations simplify data  analysis. And because HTBasic combines acquisition, analysis and presentation in the same easy-to-use programming language combined with a visual widget based graphical screen builder, it can handle your data from start to finish.

HTBasic also includes an Advanced Math Library with highly optimized precompiled functions for things like signal processing, FFTs, and curve fitting. Plus HTBasic includes a Numeric Compiler that converts select user defined math intensive HTBasic subroutines into compiled SUBS when needed to realize significant performance increases.

Visual Screen Builder

Create custom operator-interfaces, virtual instruments, and data presentation graphics screens from dozens of built-in widgets and dialogs with the Screen Builder App (aka BasicPlus). Screen Builder includes widgets like XY graphs, strip charts, meters, and bar displays. You can also create Dialog Boxes that display questions, warnings, error messages and other critical information quickly and easily.

For example, a single strip chart can be configured a myriad of different ways as needed with more than a dozen core attributes and dozens of specific attributes. The Screen Builder application also includes widgets for keypads, pushbuttons, scrollbars, toggle buttons, and more so you can customize screens with operator-interface and data presentation without coding.

Windows Interface

HTBasic emulates classic features of legacy Hewlett-Packard workstations all in a contemporary Windows user interface with toolbar, status bar, pulldown menus, scroll bars, dialog boxes, and code editor. You can even execute Windows commands from within HTBasic as well as user created DLLs written in C/C++ and called through an integrated DLL loader.

Use Cases

"I used HTBasic at the DOJ to control a spectrum analyzer to monitor regional federal police spectrum usage, to determine utilization of federal police UHF channels."

- Department of Justice

"I used HTBasic at the NWS to control spectrum analyzers to monitor the frequency stability of NWS radiosondes, as they were put through temperature and pressure environmental chambers. It was also used for network analyzer control for a chamber built to test radiosonde antennas."

- National Weather Service

"We’ve been using HTBasic for over [20] years now and could not be more pleased with the product. We originally had our programs running on several HP 9845 workstations connected to a few spectrum analyzers. One by one these machines started to fail and we were tasked with finding a way to move our thousands of lines of code onto another platform. Your software product made this process fairly seamless for us and we were able to port our code over and then run it successfully on PC’s running Windows 95. Several years, several Windows OS updates, and several HTBasic updates later we are still using the same code on our test stations."

- Former RMB User
Scroll to Top
HTB icon

Please Sign In