Programming
993
Selecting the Active Channel/Trace
You can configure the E5071C by using various commands. Some
commands require you to specify and work with a particular channel or
trace, while other commands do not have this restriction.
Those commands that do not require you to specify a particular channel or
trace apply to the currently active channels and traces. Therefore, before
issuing such a command, you must make the appropriate channels and
traces active.
To make a channel active, use the following command:
:DISP:WIND{1-160}:ACT
• Only the currently displayed channels can be active channels.
Therefore, you must display the desired channels by using the
:DISP:SPL command before making them active.
To make a trace active, use the following command:
:CALC{1-160}:PAR{1-16}:SEL
• Only the currently displayed traces can be active traces.
Therefore, you must display the desired traces by using the
:CALC{1-160}:PAR:COUN command before making them active.
If you are using E5071C revision A.9.60 and above, you can select a trace
by the trace name, provided it has been defined earlier. To define a trace
name, use the following command:
:CALC{1-160}:PAR{1-16}:TNAMe:DATA
• If the trace name is not defined but used, the following error
occurs:
'51, Specified trace does not exist'
• If the defined trace name already exist, the following error
occurs:
'63, Duplicate trace name'
If you are using E5071C revision A.9.60 and above, you also have an
option to select the trace directly by using TRAC{1-16} for all SELected
commands. As such, you do not need to make a trace active before
assigning a command to it.
For example, to activate marker 3 in trace 2, channel 1:
• In E5071C revision A.9.60 and above:
:CALC1:TRAC2:MARK3:ACT
• In E5071C revision A.9.5x and below: