HTBasic 10
Development Version

TransEra HTBasic, compatible with Hewlett-Packard's 9000 Series 200/300 Rocky Mountain BASIC, runs on PCs in DOS or Windows. HTBasic is a powerful scientific /engineering language that combines the ease-of-use of BASIC, the math capabilities of FORTRAN and the structured-programming of Pascal and C. When combined with IEEE-488 or data acquisition plug-in cards, HTBasic turns your PC into a full-featured instrument controller.

HTBasic provides the Rocky Mountain BASIC integrated program development environment including a syntax-sensitive, full screen editor and interactive execution and debugging statements.

HTBasic's LIF transfer utilities allow you to effortlessly port your current HP BASIC data and program files between HP Series 200/300 workstations and PCs (not supported under Windows XP, Windows Vista, or Windows 7). LIF utilities copy programs and data files stored in BDAT, ASCII and HP-UX format between LIF format floppy diskettes and DOS disks. For considerations and instructions on how to port your HP BASIC/9000 programs to HTBasic for Windows, click here: HTBasic Porting Guide.pdf.

Once transferred, programs can be run with little or no change avoiding time consuming and costly program rewrites. And the CONFIGURE statement customizes HTBasic to match an HP workstation environment. You get all of the capabilities needed for complex applications without sacrificing inter-platform compatibility.

HTBasic can simultaneously share data files over the network with HP BASIC workstations (using SRM/UX), HP BASIC/UX and HP BASIC DOS (measurement coprocessor II cards using NFS).


  • Provides the language and environment of an HP 9000 Series 200/300 BASlC workstation for the personal computer running Windows XP, Windows Vista or Windows 7.
  • In addition to the traditional HTBasic Legacy Editor, HTBasic for Windows includes a new windows-style editor with cut, copy, and paste, undo and redo, bookmarks, user-definable fonts, keyword colors, colored syntax error identification, and the ability to turn line numbering on or off for programming ease.
  • DLL Toolkit allows HTBasic to call Dynamic Link Libraries (DLL's) written in other languages (most notably C/C++).
  • Includes LONG integers, STATIC variables, COMPLEX numbers, matrix math, and structured programming. The TRANSFER function for GPIB, serial and file is fully supported.
  • Integrated debugger speeds program development. Set conditional and global breakpoints, step into, step out of, or step over subprograms. Includes six exclusive debugging windows for Watch variables, Line Breakpoints, Global Breakpoints, Trace, Call Stack and a debug Code Window.
  • HELP, on-line documentation, and fully functional search capabilities including find/replace and next/previous error searches.
  • LIF diskette transfer utilities (DOS, BDAT, LIF-ASCII).
  • Uses familiar HP BASIC syntax to control GPIB, GPIO and data acquisition cards from companies like TAMS, HP, Keithley/Metrabyte, ines, IOtech, Data Translation, and National Instruments, not to mention TransEra's own line of interface cards.
  • Includes HTBasic Plus (compatible with HP BASIC for Windows BASICPLUS) with Dialog Statements for information like errors, file names, lists, questions, and warnings; Data Inputs Widgets like keypad, pushbutton, radiobutton, scrollbar, slider and togglebutton; Data Output Widgets like bars, bitmaps, clocks, meters, and stripcharts; and Menu Creation Widgets like menu button, cascade menus, and pulldown menus.

Instrument Control

HTBasic makes intelligent control of IEEE-488, RS-232 and data acquisition boards easy and responsive. Featuring an homogenous I/O system, once a connection is established, data transfer is done in the same manner, regardless of whether the connection is to a file, IEEE-488 instrument, RS- 232 serial port or a plug-in data acquisition board. This makes programming easy and portable.

HTBasic allows easy control of the IEEE-488 bus using familiar HP BASIC syntax, such as ABORT, CLEAR, ENTER, LOCAL, LOCAL LOCKOUT, OUTPUT, PASS CONTROL, PPOLL, PPOLL CONFIGURE / RESPONSE / UNCONFIGURE, REMOTE, REQUEST, SEND, SPOLL and TRIGGER. ON INTR causes program branch on SRQ or other bus conditions.

In addition, loadable device drivers for almost every PC IEEE-488 card available and the many of the most popular PC data acquisition cards get you up and running in the shortest amount of time possible. And with HTBasic, multiple IO cards can be controlled simultaneously. Serial (RS-232) communication is interrupt driven and can use hardware or software (XON/XOFF) handshaking. Loadable serial drivers are provided for up to 23 RS-232 ports.

Data Presentation

HTBasic gives you powerful graphics capabilities for enhancing the presentation of scientific and engineering data. HTBasic graphics are device independent so your graphs can be made to screen, plotter, printer or a variety of graphic file formats.

Data Analysis

Complex numbers, Long integers, Static variables, matrix math operations, multi-megabyte arrays, whatever your data reduction and analysis requirements, HTBasic fits the specification. By combining acquisition, analysis and presentation features in the same easy-to-use programming language, one integrated package can handle your data from start to finish. For additional functionality, the HTBasic Workshop offers the Advanced Math Library for highly optimized functions such as curve fitting, signal processing and FFT routines. Also from the Workshop, the HTBasic Numeric Compiler provides significant performance increases for compiled math operations.

HTBasic Plus

HTBasic Plus provides almost thirty new graphic commands to simplify the creation of operator-interface graphics. Create Dialog Boxes that display questions, warnings, error messages and other critical information quickly and easily. User response is now as uncomplicated as the few lines of code that setup the input widget. HTBasic Plus and its custom Screen Builder includes keypads, pushbuttons, scrollbars, togglebuttons, and more. And Screen Builder allows you to modify your custom layout without modifying your code to adapt to any contingency.

HTBasic Plus has been re-written using new modern dialogs and widgets to provide an updated look and feel as well as better performance and additional functionality.

With functions like XY graphs, strip charts, meters and bar displays, now HTBasic for Windows displays your data with remarkable ease and clarity. And with more than a dozen core attributes and dozens of specific attributes, a single stripchart can be configured a myriad of different ways to fit any situation or need.

And traditional Rocky Mountain BASIC users will be pleased to know that HTBasic Plus is nearly perfectly compatible with the features they have enjoyed on their engineering workstations.

HTBasic for Windows

HTBasic for Windows provides all of the powerful features of the Rocky Mountain Basic programming language and environment under the most popular platform in history— Windows.

HTBasic for Windows is implemented totally in 32-bit code, making it compatible with Windows XP, Windows Vista and Windows 7.

HTBasic for Windows user interface includes all of the popular windows features including toolbars, status bar, pulldown menus, scroll bars and dialog boxes.

HTBasic for Windows, over 99% compatible with legacy RMB computers such as the 9.46 and the 310 running workstation BASIC, provides a hassle free upgrade to most users of HTBasic and HP BASIC. HTBasic supports SEPARATE ALPHA FROM GRAPHICS, ON INTR on SERIAL, and TRANSFER. HTBasic provides greater hardware connectivity with enhanced drivers for IEEE-488 in Windows NT and Windows 2000, including TransEra's Model 900 GPIB card. In addition, drivers support ines and National Instruments line of Data Acquisition (DAQ) cards including AT, PCI, PXI and PCMCIA platforms. What's more, data files are interchangeable and PROG files are backward compatible with earlier versions of HTBasic for Windows, DOS versions of HTBasic, and HP BASIC for Windows. In HTBasic for Windows, existing CSUBs from the Advanced Math Library, Numeric Compiler and most CSUBs from the CSUB toolkit will work unchanged.

Features of the Windows environment not supported directly by HTBasic for Windows, can be accessed by developers writing 32-bit DLLs in C/C++ and calling them through the integrated DLL loader.


HTBasic for Windows
• 400 MHz or higher processor
• Requires 128 MB RAM
• Requires 300 MB of free hard drive space
• Requires Windows XP, Windows Vista, or Windows 7
• CD-ROM drive or access to CD-ROM over a network


Copyright 2007 © TransEra Corp.