Comments for ARBSRC
100 - 180 Determines where the program is running; either in the analyzer or on an external controller.
110 Specify interface select code and primary address for Instrument BASIC.
170 Specify analyzer’s interface select code and primary address when the program is running on an
external computer. The specified primary address, 11, is the address set at the factory. If the
address for your analyzer has changed, edit the primary address to the appropriate value.
210 Allows device select code to be independent of address.
240 Assign an I/O path for binary transfers.
260 Reset the analyzer.
270 Put the analyzer in 1-channel mode.
280 Start the measurement.
290 Pause the analyzer after the first measurement. This helps speed-up the execution of the program.
It also helps speed-up the transfer of data between the program and the analyzer.
310 Reserve space for the variables Res, Max_i, and T.
320 Reserve space for the array of tone values.
330 Reserve space for the array D to accommodate a large number of values. D is an array of time
waveform data for the arbitrary source.
340 Select radians as unit of angular measure.
360 Set the variable, Span, to maximum.
370 Set the variable, Res, to 400 line resolution.
390 - 400 Specify the frequency of the example tones.
Example Programs
ARBSRC
F-4