5-24 Remote
Programming
SR785 Dynamic Signal Analyzer
indicating new data is available, average completed or new settled data is available. This
will ensure that the display data has been updated since the previous operation.
Remember, these status bits are only reset when read. The status word needs to be
cleared before waiting for the desired bits to become set.
For example, to change the span and wait until new data is available, a program might
use the following procedure.
send (“*CLS; FSPN 0,6400; STRT”) *CLS clears all status words, FSPN changes
the span of DisplayA to 6.4 kHz.STRT starts the
measurement with the new span
query (“DSPS?”)
DSPS? reads the Display Status
until NEWA and STLA are set
NEWA&STLA indicates new settled data is
available at the new span.
Command Context Errors
Commands which perform menu softkey functions are not allowed unless the
corresponding softkey function is allowed. If the softkey is not available in the current
context, either shown in gray or not displayed at all, then the corresponding set command
is not allowed.
In general, softkeys are disabled for two reasons - the function is specifically not allowed
in the current measurement context, or the function is only applicable for certain
measurement groups.
For example, FFT <Start Frequency> is grayed when the measurement is full span. The
FSTR set command is not allowed in this situation. However, the FSTR? query
command is still allowed.
An example of group specific parameter are the commands which set Swept Sine
parameters. These set commands are not allowed unless the measurement group is Swept
Sine (just like the menu interface).
Example Program
An example program is included at the end of this chapter. This program is a good
reference for writing your own programs to control the SR785.
Содержание SR785
Страница 4: ...ii ...
Страница 10: ...viii ...
Страница 80: ...1 64 Exceedance Statistics ...
Страница 158: ...2 78 Curve Fitting and Synthesis SR785 Dynamic Signal Analyzer ...
Страница 536: ...5 136 Example Program SR785 Dynamic Signal Analyzer ...