MDO3000 Programmer Manual.pdf - 第361页

Commands Listed in Alphabetical Order GPIBUsb:ADDr ess? (Q uery Only) Returns the current GPIB address se tting for a connected TEK-USB-488 adap tor module. Group Miscellaneous Syntax GPIBUsb:ADDre ss? GPIBUsb:ID? (Query…

100%1 / 1158
Commands Listed in Alphabetical Order
FPAnel:TURN (
No Query Form)
Simulates the action of turning a specified front-panel control knob.
When the front panel is locked, the front-panel button and multipurpose knob
operations are suspended. The FPAnel:PRESS and
FPAnel:TURN commands
will also not work, and, they will not generate an error. You can work around
this by usin
g the appropriate programmatic interface commands, instead of the
front-panel commands. For example, to set the trigger level to 50%, you could
use TRIGger:A SETLevel. To force a trigger, you could use TRIGger FORCe.
Group
Miscellaneous
Syntax
FPAnel:TURN <knob>,<n>
Arguments
<knob> is the name of a rotating control.
A comma (,) separates the control knob argument from the numeric rotation value
argument. You do not need a white space between the arguments and the comma.
<n> represents the rotation direction and magnitude of rotation. Negative values
represent a counterclockwise knob rotation, and positive values represent a
clockwise rotation. The magnitude of <n> specifies the amount of the turn, where
<n> = 1 represents turning the knob one unit, <n> = 2 represents turning the knob
two units, <n> = 4 represents turning the knob four units, and so on. The rangeof
units depends on which front panel knob is specified.
Table 2-55: FPAnel:TURN arguments
Argument Description
GPKNOB1
Multipurpose a knob
GPKNOB2
Multipurpose b knob
HORZPOS
Horizontal Position knob
HORZScale Horizontal Scale knob
PANKNOB1 Outer pan knob
TRIGLevel
Trigger Level knob
VERTPOS<n>
Vertical Position knob
VERTSCALE<n> Vertical Scale knob
ZOOM
Inner zoom knob
Examples
FPANEL:TURN TRIGLEVEL,10 duplicates turning the front-panel Trigger Level
knob clockwise by 10 units.
2-330 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
GPIBUsb:ADDr
ess? (Q uery Only)
Returns the current GPIB address setting for a connected TEK-USB-488 adaptor
module.
Group
Miscellaneous
Syntax
GPIBUsb:ADDress?
GPIBUsb:ID? (Query Only)
Returns the identification string of the connected TEK-USB-488 adaptor module
and firmware version. If a TEK-USB-488.2 module is not connected, the system
returns “Not detected”.
Group
Miscellaneous
Syntax
GPIBUsb:ID?
HARDCopy (No Query Form)
Sends a hard copy of the screen display to the currently active printer usingthe
current palette and layout settings.
Group
Hard Copy
Syntax
HARDCopy {STARt}
Related Commands
*WAI, *CLS
Arguments
STARt sends a block of data representing the current screen image to
the requested port. The data sent is in the image format specified by the
SAVe:IMAGe:FILEFormat command and the compression level is controlled
by the selected format (BMP and TIFF are uncompressed whereas PNG is
compressed). The HARDCopy:INKSaver determines whether the data sent is
in InkSaver mode.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-331
Commands Listed in Alphabetical Order
NOTE. The Hardc
opy command with no arguments is equivalent to pressing the
“HardCopy” button on the front panel, when the data is sent to the printer. As
there is no front panel equivalent of the HARDCOPY START, you can choose to
save the images to a different location u sing the “SAVE” button.
Examples
HARDCOPY initiates a screen copy to the active printer.
HARDCopy:ACTIVeprinter
This command specifies the currently active printer. When a hard copy operation
is performed, the output will be sent to this printer. One of two methods of
specifying the printer can be used: specifying an index value obtained from
looking at the list of attached printers or by specifying the printer name.
Group
Hard Copy
Syntax
HARDCopy:ACTIVeprinter {<NR1>|<name>}
HARDCopy:ACTIVeprinter?
Arguments
<NR1> is the index of the desired printer as returned from HARDCopy:PRINTer:
LIST?
<name> is the name of the printer as specified in the printer list. This name is case
sensitive and must be entered exactly as shown in the list.
HARDCopy:INKSaver
Changes hard copy output to print traces and graticule on a white background
while retaining waveform color information (except for channel 1, which prints as
dark blue because yellow does not show up well and is difficult to see on a white
background). This option can significantly reduce print time and quantities of ink
required compared with WYSIWYG dark background images.
Group
Hard Copy
Syntax
HARDCopy:INKSaver?
Arguments
ON or <NR1> 0 sets the ink saver mode on.
OFF or <NR1> = 0 sets the ink saver mode off.
2-332 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual