SPS BASIC: Difference between revisions
No edit summary |
(Added a manual) |
||
Line 39: | Line 39: | ||
* [[Media:070-2740-00.pdf|TEK SPS BASIC V02/V02XM Peripheral Drivers CP57000/CP57500]] | * [[Media:070-2740-00.pdf|TEK SPS BASIC V02/V02XM Peripheral Drivers CP57000/CP57500]] | ||
* [[Media:070-2743-00.pdf|TEK SPS BASIC V02/V02XM Signal Processing Package CP57001/CP57501]] | * [[Media:070-2743-00.pdf|TEK SPS BASIC V02/V02XM Signal Processing Package CP57001/CP57501]] | ||
* [[Media:070-2847-00.pdf|TEK SPS BASIC V02-01 Programming Aid]] | |||
==Software== | ==Software== |
Revision as of 11:06, 28 March 2021
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
![](http://w140.com/tekwiki/images/thumb/a/ad/Tek_APD_Basic.gif/350px-Tek_APD_Basic.gif)
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:
LET PC = PA * A
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
![](http://w140.com/tekwiki/images/thumb/f/f2/Tek_Basic.gif/350px-Tek_Basic.gif)
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.
-
BASIC variant for the 7J20 Spectrometer
1976: TEK SPS Basic
![](http://w140.com/tekwiki/images/thumb/e/e9/Tek_SPS_Basic_Ext.gif/350px-Tek_SPS_Basic_Ext.gif)
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.
-
Example of TEK SPS BASIC extensions
Manuals
- SPS Programming Magazine V04 N01 from Februar 1980
- TEK SPS BASIC V02/V02XM System Software CP57000/CP57500
- TEK SPS BASIC V02/V02XM Graphics Package CP57002/CP57502
- TEK SPS BASIC V02/V02XM Peripheral Drivers CP57000/CP57500
- TEK SPS BASIC V02/V02XM Signal Processing Package CP57001/CP57501
- TEK SPS BASIC V02-01 Programming Aid