EXAMPLE The following instruction sets the X mask to 0.4div and the Y mask to 0.
SAVE/RECALL PF_SAVELOAD, PFSL Command DESCRIPTION The PF_SAVELOAD command saves or recalls the created mask setting. COMMAND SYNTAX PF_ SAVELOAD LOCATION, ,ACTION, The means to save the created mask setting to the internal memories or the external memories. : = {IN,EX} IN means to save the mask setting to the internal memories while EX means the external memories.
FUNCTION PF_CONTROL, PFCT Command /Query DESCRIPTION The PF_CONTROL command controls the pass/fail controlling options: “operate”, “output” and the “stop on output”. See instrument’s Operator Manual for these options The response to the PF_ CONTROL? query indicates the controlling options of the pass/fail.
FUNCTION PF_CREATEM, PFCM Command DESCRIPTION The PF_CREATEM command creates the mask of the pass/fail. COMMAND SYNTAX PF_ CREATEM EXAMPLE The following instruction creates the mask of the pass/fail.
FUNCTION PF_DATADIS, PFDD Query DESCRIPTION The PF_DATADIS? query returns the number of the fail ,pass and total number that the screen showing.
SAVE/RECALL SETUP *RCL Command DESCRIPTION The *RCL command sets the state of the instrument, using one of the ten non-volatile panel setups, by recalling the complete frontpanel setup of the instrument. Panel setup 0 corresponds to the default panel setup. The *RCL command produces the opposite effect of the *SAV command. If the desired panel setup is not acceptable, the EXecution error status Register (EXR) is set and the EXE bit of the standard Event Status Register (ESR) is set.
WAVEFORM TRANSFER RECALL, REC Command DESCRIPTION The RECALL command recalls a waveform file from the current directory on mass storage into any or all of the internal memories M1 to M10(or M20 in the CFL series). COMMAND SYNTAX : RECall DISK, , FILE, ‘’ : = {M1~M10}(or M1~M20 in the CFL series) : = {UDSK} := A waveform file under a legal DOS path . A filename-string of up to eight characters, with the extension “.DAV”.
SAVE/RECALL SETUP RECALL_PANEL, RCPN Command DESCRIPTION The RECALL_PANEL command recalls a front-panel setup from the current directory on mass storage. COMMAND SYNTAX ReCall_PaNel DISK, , FILE, ‘’ : = {UDSK} := A waveform file under a legal DOS path . A filename-string of up to eight characters, with the extension “.SET”. (This can include the ‘/’ character to define the root directory.) EXAMPLE The following recalls the front-panel setup from file SEAN.
SAVE/RECALL SETUP *RST Command DESCRIPTION The *RST command initiates a device reset. The *RST sets recalls the default setup.
FUNCTION REF_SET, REFS Command /Query DESCRIPTION The REF_SET command sets the reference waveform and its options. The response to the REF_ SET? query indicates whether the specified reference waveform is turned on.
SAVE/RECALL SETUP *SAV Command DESCRIPTION The *SAV command stores the current state of the instrument in internal memory. The *SAV command stores the complete front-panel setup of the instrument at the time the command is issued.
HARD COPY SCREEN_DUMP, SCDP Command DESCRIPTION The SCREEN_DUMP command is used to obtain the screen information of image format .
DISPLAY SCREEN_SAVE, SCSV Command /Query DESCRIPTION The SCREEN_SAVE command controls the automatic Screen Saver, which automatically shuts down the internal color monitor after a preset time. The response to the SCREEN_SAVE? query indicates whether the automatic screen saver feature is on or off. Note: When the screen save is in effect, the oscilloscope is still fully functional.
STATUS *SRE Command /Query DESCRIPTION The *SRE command sets the Service Request Enable register (SRE). This command allows the user to specify which summary message bit(s) in the STB register will generate a service request. A summary message bit is enabled by writing a ‘1’ into the corresponding bit location. Conversely, writing a ‘0’ into a given bit location prevents the associated event from generating a service request (SRQ). Clearing the SRE register disables SRQ interrupts.
STATUS *STB? Query DESCRIPTION The *STB? query reads the contents of the 488.1 defined status register (STB), and the Master Summary Status (MSS). The response represents the values of bits 0 to 5 and 7 of the Status Byte register and the MSS summary message. The response to a *STB? Query is identical to the response of a serial poll except that the MSS summary message appears in bit 6 in place of the RQS message.
ADDITIONAL INFORMATION Status Byte Register (STB) Bit 7 6 Bit Value 128 64 5 4 3 2 1 0 32 16 8 4 2 1 Bit Name DIO7 MSS/RQS MSS=1 RQS=1 ESB MAV DIO3 VAB DIO1 INB Description 0 reserved for future use at least 1 bit in STB masked by SRE is 1 service is requested 1 an ESR enabled event has occurred 1 output queue is not empty 0 reserved 1 a command data value has been adapted 0 reserved 1 an enabled INternal state change has occurred Note (1) (2) (3) (4) (5) (6) Notes (1) The Master Summary Status (MSS)
ACQUISITION STOP Command DESCRIPTION The STOP command immediately stops the acquisition of a signal. If the trigger mode is AUTO or NORM.
WAVEFORM TRANSFER STORE, STO Command DESCRIPTION The STORE command stores the contents of the specified trace into one of the internal memories M1 to M10(or M20 in the CFL series) or to the current directory in a USB memory device.
SAVE/RECALL SETUP STORE_PANEL, STPN Command DESCRIPTION The STORE_PANEL command stores the complete front-panel setup of the instrument, at the time the command is issued, into a file on the specified-DOS path directory in a USB memory device. COMMAND SYNTAX STore_PaNel DISK, , FILE, ‘’ :={UDSK} < directory >:=A legal DOS path or filename. A filename -string of up to 8 characters, with the extension “.SET”. (This can include the ‘/’ character to define the root directory.
WAVEFORM TRANSFER STORE_SETUP, STST Command /Query DESCRIPTION The STORE_SETUP command controls the way in which traces will be stored. A single trace or all displayed traces may be enabled for storage. COMMAND SYNTAX STore_SeTup [, ] : = {C1,C2,C3,C4,ALL_DISPLAYED } : ={M1~M10(or M20 in the CFL series),UDSK} QUERY SYNTAX STore_SeTup? RESPONSE FORMAT STore_SeTup , EXAMPLE The following command selects Channel 1 to be stored.
ACQUISITION SAMPLE_STATUS, SAST Query DESCRIPTION The SAST? query the acquisition status of the scope. QUERY SYNTAX SAST? RESPONSE FORMAT SAST < status > EXAMPLE The following command reads the acquisition status of the scope.
ACQUISITION SAMPLE_RATE, SARA Query DESCRIPTION The SARA? query returns the sample rate of the scope. QUERY SYNTAX SARA? RESPONSE FORMAT SARA EXAMPLE The following command reads the sample rate of the scope. Command message: SARA? Response message: SARA 500.
ACQUISITION SAMPLE_NUM, SANU Query DESCRIPTION The SANU? query returns the number of sampled points available from last acquisition and the trigger position. QUERY SYNTAX SANU? RESPONSE FORMAT SANU EXAMPLE The following command reads the number of sampled points available from last acquisition from the Channel 2.
ACQUISITION SKEW, SKEW Command DESCRIPTION The SKEW command sets the skew value of the specified trace. The response to the SKEW? query indicates the skew value of the specified trace. COMMAND SYNTAX :SKEW : = {C1,C2,C3,C4 } : = it is a value about time.
FUNCTION SET50, SET50 Command DESCRIPTION The SET50 command sets the trigger level of the specified trigger source to the centre of the signal amplitude.
ACQUISITION SINXX_SAMPLE, SXSA Command /Query DESCRIPTION The SINXX_SAMPLE command sets the way of interpolation. The response to the SINXX_SAMPLE? query indicates the way of interpolation.
ACQUISITION TIME_DIV, TDIV Command /Query DESCRIPTION The TIME_DIV command modifies the timebase setting. The new timebase setting may be specified with suffixes: NS for nanoseconds, US for microseconds, MS for milliseconds, S for seconds, or KS for kiloseconds. An out-ofrange value causes the VAB bit (bit 2) in the STB register to be set. The TIME_DIV? query returns the current timebase setting. COMMAND SYNTAX Time_DIV :={1NS(not every type has this value),2.
WAVEFORM TRANSFER TEMPLATE, TMPL Query DESCRIPTION The TEMPLATE? query produces a copy of the template that describes the various logical entities making up a complete waveform. In particular, the template describes in full detail the variables contained in the descriptor part of a waveform. QUERY SYNTAX TeMPLate? RESPONSE FORMAT TeMPLate “” : = A variable length string detailing the structure of a waveform.
DISPLAY TRACE, TRA Command /Query DESCRIPTION The TRACE command enables or disables the display of a trace. An environment error is set if an attempt is made to display more than four waveforms. The TRACE? query indicates whether the specified trace is displayed or not.
ACQUISITION *TRG Command DESCRIPTION The *TRG command executes an ARM command.
ACQUISITION TRIG_COUPLING, TRCP Command /Query DESCRIPTION The TRIG_COUPLING command sets the coupling mode of the specified trigger source. The TRIG_COUPLING? query returns the trigger coupling of the selected source.
ACQUISITION TRIG_DELAY, TRDL Command /Query DESCRIPTION The TRIG_DELAY command sets the time at which the trigger is to occur with respect to the first acquired data point. This mode is called pre-trigger acquisition, as data are acquired before the trigger occurs. Negative trigger delays must be given in seconds. This mode is called post-trigger acquisition, as the data are acquired after the trigger has occurred.
ACQUISITION TRIG_LEVEL, TRLV Command /Query DESCRIPTION The TRIG_LEVEL command adjusts the trigger level of the specified trigger source. An out-ofrange value will be adjusted to the closest legal value and will cause the VAB bit (bit 2) in the STB register to be set. The TRIG_LEVEL? query returns the current trigger level.
ACQUISITION TRIG_MODE, TRMD Command /Query DESCRIPTION The TRIG_MODE command specifies the trigger mode. The TRIG_MODE? query returns the current trigger mode.
ACQUISITION TRIG_SELECT, TRSE Command /Query DESCRIPTION The TRIG_SELECT command is used to set the trigger type and the type’s option HT which is an option of the TRIG_SELECT command is related to the TRSL command. The TRSL command could set the . The HT’s polarity will also be changed. The TRIG_SELECT? query returns the current trigger type.
SR,< source > :is used to set the trigger’s channel.If you want to set the other option. You must set it.
ACQUISITION TRIG_SLOPE, TRSL Command /Query DESCRIPTION The TRIG_SLOPE command sets the trigger slope of the specified trigger source. The TRIG_SLOPE? query returns the trigger slope of the selected source.
ACQUISITION UNIT, UNIT Command /Query DESCRIPTION The UNIT command sets the unit of the specified trace. The UNIT query returns the unit of the specified trace.
DISPLAY VERT_POSITION, VPOS Command /Query DESCRIPTION The VERT_POSITION command adjusts the vertical position of the specified FFT trace on the screen. It does not affect the original offset value obtained at acquisition time. The VERT_POSITION? query returns the current vertical position of the specified FFT trace. COMMAND SYNTAX : Vert_POSITION : = {TA, TB, TC, TD} :=-40 DIV to 40 DIV Note: The suffix DIV is optional.
ACQUISITION VOLT_DIV, VDIV Command /Query DESCRIPTION The VOLT_DIV command sets the vertical sensitivity in Volts/div. The VAB bit (bit 2) in the STB register is set if an out-of-range value is entered. The VOLT_DIV query returns the vertical sensitivity of the specified channel. COMMAND SYNTAX : Volt_DIV := {C1, C2, C3, C4} := 2mV to 10V(or 5V in the CFL series) Note: The suffix V is optional.
ACQUISITION VERTICAL, VTCL Command /Query DESCRIPTION The VERTICAL command controls the vertical position of the slope trigger line. It is related to the TRSE command. The VERT option of the TRSE command changes the controlling type of the slopes trigger line. When the slope trigger lines are both controlled, the vertical position of the slope trigger line is the up one’s position. The VERTICAL query returns the vertical position of the slope trigger line.
WAVEFORM TRANSFER WAVEFORM, WF Query DESCRIPTION A WAVEFORM? Query transfers a waveform from the oscilloscope to the controller. A waveform consists of several distinct entities: 1. the descriptor (DESC) 2. the user text (TEXT) 3. the time (TIME) descriptor 4. the data (DAT1) block, and, optionally 5. a second block of data (DAT2) The WAVEFORM? Query instructs the oscilloscope to transmit a waveform to the controller. The entities may be queried independently.
Note: Offset data factor is a 4 byte floating point number starting at address 0xA0. Amplitude scale factor data is a 4 byte floating point number starting at address 0x9C. Waveform descriptor block starts off from “WAVEDESC” in the return data. The size of the descriptor is 0x16e – 0x15 + 1. All waveform data are represented in two’s complement binary.
WAVEFORM TRANSFER WAVEFORM_SETUP, WFSU Command /Query DESCRIPTION The WAVEFORM_SETUP command specifies the amount of data in a waveform to be transmitted to the controller. The command controls the settings of the parameters listed below. Note: This command currently only support NP Notation FP SP first point sparsing NP number of points Sparsing (SP): The sparsing parameter defines the interval between data points.
QUERY SYNTAX WaveForm_SetUp? Note 1: After power-on, SP is set to 4, NP is set to 1000, and FP is set to 0. Note 2: Parameters are grouped in pairs. The first of the pair names the variable to be modified, whilst the second gives the new value to be assigned. Pairs may be given in any order and may be restricted to those variables to be changed.
ACQUISITION WAIT, WAIT Command DESCRIPTION The WAIT command prevents the instrument from analyzing new commands until the oscilloscope has completed the current acquisition. The instrument will be waiting for trigger or the limit time over (if we set it) or the device time out when we sent this command COMMAND SYNTAX WAIT
DISPLAY XY_DISPLAY, XYDS Command /Query DESCRIPTION The XY_DISPLAY command enables or disables to display the XY format The response to the XY_DISPLAY? query indicates whether the XY format display is enabled.
Index A ALL_STATUS?, ALST?, Query, ARM_ACQUISITION, ARM, Command, ATTENUATION, ATTN,Command/Query, AUTO_CALIBRATE, ACAL,Command/Query, AUTO_SETUP, ASET,Command, AUTO_TYPESET, AUTTS, Command/Query, AVERAGE_ACQUIRE, AVGA, Command/Query, B BANDWIDTH_LIMIT, BWL,Command/Query, BUZZER, BUZZ, Command, C CAL?, Query, CLS, Command, CMR?, Query, COMM_NET, CONET,Command/Query, COUPLING, CPL,Command/Query, CURSOR_SET, CRST,Command/Query, CURSOR_VALUE?, CRVA?,Query, CURSOR_AUTO, CRAU, Command, CSV_SAVE, CSVS, Command/
F FILENAME, FLNM,Command/Query, FORMAT_VDISK, FVDISK, Query, FILTER, FILT, Command/Query, FILT_SET, FILTS, Command/Query, FFT_WINDOW, FFTW, Command/Query, FFT_ZOOM, FFTZ, Command/Query, FFT_SCALE, FFTS, Command/Query, FFT_FULLSCREEN, FFTF, Command/Query, G GRID_DISPLAY, GRDS, Command/Query, GCSV, GET_CSV, Query, H HARDCOPY_SETUP, HCSU, HOR_MAGNIFY, HMAG,Command/Query, HOR_POSITION, HPOS,Command/Query, I IDN?, Query, INTENSITY, INTS,Command/Query, INTERLEAVED, ILVD,Command/Query, INR, INR, Query, INVERT_S
PEAK_DETECT, PDET,Command/Query, PERSIST, PERS,Command/Query, PERSIST_SETUP, PESU,Command/Query, PANEL_SETUP,PNSU, Command/Query, PF_DISPLAY, PFDS, Command/Query, PF_SET, PFST, Command/Query, PF_SAVELOAD, PFSL, Command, PF_CONTROL, PFCT, Command/Query, PF_CREATEM, PFCM, Command, PF_DATEDIS, PFDD, Query, R RCL, Command, RECALL, REC, Command, RECALL_PANEL, RCPN,Command, RST, Command, REF_SET, REFS, Command/Query, S SAV, Command, SCREEN_DUMP, SCDP,Command/Query, SRE, Command/Query, STB? Query, STOP, Command,
U UNIT, UNIT, Command/Query, V VOLT_DIV, VDIV,Command/Query, VERTICAL, VTCL, Command/Query, W WAIT, Command, WAVEFORM,WF,Command/Query, WAVEFORM_SETUP,WFSU,Command/Query, X XY_DISPLAY, XYDS, Command/Query, 134
DSO: TEMPLATE Explanation of the formats of waveforms and their descriptors on the DSO A descriptor and/or a waveform consists of one or several logical data blocks whose formats are explained below. Usually, complete waveforms are read: at the minimum they consist of the basic descriptor block WAVEDESC a data array block. Some more complex waveforms, e.g. Extrema data or the results of a Fourier transform, may contain several data array blocks.
data text unit_definition byte days (1 to 31) byte months (1 to 12) word year (0 to 16000) word unused There are 16 bytes in a time field. byte, word or float, depending on the read-out mode reflected by the WAVEDESC variable COMM_TYPE, modifiable via the remote command COMM_FORMAT. arbitrary length text string (maximum 160) a unit definition consists of a 48 character ASCII string terminated with a null byte for the unit name.
< 68> < 72> RES_ARRAY2: long RES_ARRAY3: long ; 2 expansion entries are reserved The following variables identify the instrument < 76> INSTRUMENT_NAME: string < 92> INSTRUMENT_NUMBER: long < 96> TRACE_LABEL: string ; identifies the waveform. <112> <114> RESERVED1: word RESERVED2: word ; 2 expansion entries The following variables describe the waveform and the time at which the waveform was generated. <116> WAVE_ARRAY_COUNT: long ; ; ; ; number of data points in the data array.
; each min/max pair. <154> PAIR_OFFSET: word ; ; ; ; ; for Peak Dectect waveforms only Value is the number of data points by which the first min/max pair in DATA_ARRAY_2 is offset relative to the first data value in DATA_ARRAY_1. <156> VERTICAL_GAIN: float <160> VERTICAL_OFFSET: float ; to get floating values from raw data : ; VERTICAL_GAIN * data - VERTICAL_OFFSET <164> MAX_VALUE: float ; maximum allowed value. It corresponds ; to the upper edge of the grid.
_3 _4 _5 _6 _7 endenum sparsed autoscaled no_result rolling cumulative <320> RESERVED5: word ; expansion entry <322> RIS_SWEEPS: word ; for RIS, the number of sweeps ; else 1 The following variables describe the basic acquisition conditions used when the waveform was acquired <324> TIMEBASE: enum _0 1_ns/div _1 2.5_ns/div _2 5_ns/div _3 10_ns/div _4 25_ns/div _5 50_ns/div _6 100_ns/div _7 250_ns/div _8 500_ns/div _9 1_us/div _10 2.
_5 _6 _7 _8 _9 _10 _11 endenum 100_mV/div 200_mV/div 500_mV/div 1_V/div 2_V/div 5_V/div 10_V/div <334> BANDWIDTH_LIMIT: enum _0 off _1 on endenum <336> VERTICAL_VERNIER: float <340> ACQ_VERT_OFFSET: float <344> WAVE_SOURCE: enum _0 CHANNEL_1 _1 CHANNEL_2 _2 CHANNEL_3 _3 CHANNEL_4 _9 UNKNOWN endenum /00 ENDBLOCK ========================================================================== DAT1: ARRAY Explanation of the data array DAT1.