SPS BASIC: Difference between revisions

900 bytes added ,  21 March 2021
Added some informations
(Added a short description of APD basic)
(Added some informations)
Line 1: Line 1:
To provide Users of the early Signal Processing Systems like the [[P7001|DPO]] a way to control the hardware and to write their own measurement routines a programming language was needed. The BASIC language was choosen because it was simple and easy to use. The user could modify their own programs without the need of recompiling it.
To provide Users of the early Signal Processing Systems like the [[P7001|DPO]] a way to control the hardware and to write their own measurement routines a programming language was needed. The BASIC language was choosen because it was simple and easy to use. The user could modify their own programs without the need of recompiling it.


[[Dartmouth Basic]] was the basis of all Basic variants.
[[Dartmouth Basic]] was the basis of all basic variants.




==1973 - 1974: APD Basic==
==1973 - 1974: 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.
[[File:Tek_APD_Basic.gif|right]]
 
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:


<nowiki>
LET PC = PA * A
LET PC = PA * A
</nowiki>
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)


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).


[[File:Tek_APD_Basic.gif]]
APD Basic was sold in two variants (I & II). These variants differ only in the featureset.


<br clear=all>
==1975 - 1976: TEK Basic==
==1975 - 1976: TEK Basic==
[[File:Tek_Basic.gif|right]]
With introduction of the R7912 a second specal 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.


[[File:Tek_Basic.gif]]
<br clear=all>
 
==1977: TEK SPS Basic==
==1977: TEK SPS Basic==
[[File:Tek_SPS_Basic.gif|right]]
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 generic basic package which then could be extended with instrument-specific driver and command packages.


[[File:Tek_SPS_Basic.gif]]
<gallery>
 
TEk_SPSBasic_modules.jpg|Example of TEK SPS basic extensions
 
</gallery>


<br clear=all>
==Links==
==Links==
* [https://vintagetek.org/sps-basic/ The R7912 and SPS TEK Basic Software by Hale Farley @vintagetek.org]
* [https://vintagetek.org/sps-basic/ The R7912 and SPS TEK Basic Software by Hale Farley @vintagetek.org]
928

edits