Home Previous Next


Generator Control

The commands used for control of the CMU's RF and AF signal generators are analogous to the measurement control commands explained in section Event Reporting . The generators are in one of the following two generator states:

OFF generator switched off, resources released
RUN generator running
 

The RUN state corresponds to the status indication ON in the RF generator softkey (see section Measurement Menu Analyzer/Generator).

The relation between generator commands and generator states is shown in the following diagram:

Generator states and control commands

Generator control commands are recognized by the second-level keyword RFGenerator or AFGenerator. The generator control commands behave as follows:

INITiate:
RFGenerator

INITiate:
AFGenerator...
Starts the generator, reserves all necessary hardware resources and changes to the generator state RUN.

As illustrated in the figure above, INITiate can be called in any generator state. If the generator is already running (RUN), INITiate has no effect.

If the generator can not be started due to a resource conflict it remains in the OFF state, and the measurement status returned by the FETCh:<meas_obj>:STATus? is ERR. At the same time the SCPI error
-213, Init ignored, is generated.

   
Possible resources
conflicts
The RF connector is already allocated by another generator. The other generator must be switched off first.
   
Sequential execution INITiate is implemented as a sequential command. The *OPC command (see Common Commands) can be applied together with the INITiate command.
   
ABORt:
RFGenerator

ABORt:
AFGenerator...
Switches the generator off, releases the hardware resources for other generators, and changes to the generator state RUN.

As illustrated in the figure above, ABORt can be called in any generator state. If the generator is switched off (OFF), ABORt has no effect.

   
Sequential execution ABORt is implemented as a sequential command. The command is not terminated before the generator is completely switched off.
 

Note:
In some function groups (e.g. in function group Audio), several RF or AF generators can be used. Generators relying upon the same system resources cannot be switched on simultaneously. The R&SŪ CMU provides a mechanism to decide whether conflicting generators are persistent or releasable; see section Task Priority Management.


Home Previous Next