Language Reference
BIT
|
| Item |
|
|
|
|
| Description |
|
| |
| Source or Destination | Amplitude |
| 0 | { 10,000 measurement units for linear trace data in | TRA, TRB , TRC, |
| ||||
| Range |
|
|
| trace range , or |
|
| ||||
|
|
|
|
| 032,768 { +32,767 measurement units for logarithmic trace data in |
| |||||
|
|
|
|
| TRA, TRB , TRC, trace range , or |
|
| ||||
|
|
|
|
| 6 1.8 2 10308 | when using | number , predened v ariable , or |
| |||
|
|
|
|
|
|
|
| ||||
|
| 1 | { 2048 | position | units. |
|
|
| |||
|
|
| 1 | { 2048 | position | units. Default | is 800 position units when using TRA, |
| |||
|
|
|
|
| TRB, TRC. Truncated if longer than destination length. If shorter than |
| |||||
|
|
|
|
| destination length, last element is extended for operation. |
|
| ||||
Example | 160 | OUTPUT 723;"VARDEF | ERROR,0;" | Dene | ERROR equal to | ||||||
|
|
|
|
|
|
|
| 0. |
|
|
|
| 170 | OUTPUT | 723;"BIT | ERROR,STB,5;" | Store value of bit 5 in ERROR. | ||||||
| 180 | OUTPUT | 723;"ERROR?;" |
| Query value of ERROR. |
|
| ||||
| 190 | ENTER | 723;Error |
|
|
|
| Assign value to computer variable, Error. |
200IF NOT Error THEN DISP NO If Error equals zero, display \NO" on com- puter display .
210 DISP "ERROR PRESENT" | Display \ERROR PRESENT" on computer |
| display . |
Description The BIT command stores the state (0 or 1) of a specied bit in the destination. When using TRA, TRB, TRC, or trace range for source, use
SNGLS and TS to be sure data reects one complete sweep. TRDEF required when using