Language Reference
DIV
|
| 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 |
| |||
|
|
|
|
|
|
|
|
| ||
|
| 3 | { 2048. Default is 800 when | using | TRA, TRB , TRC . When source |
| ||||
|
|
|
| lengths dier , the last element of the shorter source is repeated for the |
| |||||
|
|
|
| division process. When the sources are longer | than the | destination trace | , | |||
|
|
|
| they are truncated to t. |
|
|
|
|
| |
| 3 | { 2048 position units. |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
| |
Example | 140 | OUTPUT | 723;"SNGLS;" | Activate | mode. |
|
| |||
| 150 | OUTPUT | 723;"TS;" |
| Sweep trace A. |
|
|
|
|
160OUTPUT 723;"DIV TRB,TRA,2;" Divide trace A by 2. Store results in trace B.
170 OUTPUT 723;"VIEW TRB;" | View trace B. |
Description The DIV command divides source 1 by source 2, then sends the result to the destination. If traces are used, be sure each contains a complete sweep of
measurement information before executing DIV. The sources and destination may be of dierent length. The length of traces can vary from 3 to 2048. Variables have a length of one. When sources dier in length, the last element of the shorter source is repeated for the division process. When the sources are longer than the destination, they are truncated to t. 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