From TekWiki
(Redirected from Tek SPS BASIC)
Jump to navigation Jump to search

To provide users of the early Signal Processing Systems like the DPO a way to control the hardware and to write their own measurement routines, a programming language was needed. The BASIC language was chosen because it was simple and easy to use. The user could modify their own programs without the need of recompiling it.

Dartmouth BASIC was used as the basis of all Tek BASIC variants.

1973: APD Basic

APD BASIC was the first iteration of the extended BASIC language. It adds several special variables and commands to interact directly with the data on the P7001. Four arrays PA..PD are defined to interact directly with the 4 waveform memory slots of the P7001:


This line downloads the data array in memory location A of the DPO to the controller, multiplies each element with the content of variable A and uploads the result back to memory location C of the DPO. The result is automatically scaled to a standard oscilloscope factor. The units of the scale factor are also maintained. So in case the variable A is also an array of waveform elements, the result unit will be changed to "VV" (Volts*Volts).

APD BASIC was sold in two variants (I & II) that differ only in the feature set.

1974: TEK Basic

With the introduction of the R7912, a second special BASIC variant was developed to provide access to the data on the new instrument. APD BASIC was renamed to TEK BASIC and the special variants were called DPO (Digital Processing Oscilloscope) Tek BASIC and WDI (Waveform Digitizing Instrument) Tek BASIC.

1976: TEK SPS Basic

To avoid further splitting of the BASIC variants and to support different instruments on one controller a more generic solution was developed. The new TEK SPS BASIC provided a base package which then could be extended with instrument-specific driver and command packages.