Page 1
Programming Manual MSO3000HD Series Programming Manual MSO3000HD Series Mixed Signal Oscilloscopes V1.0 October 2024 Instruments.uni-trend.com...
Page 2
UNI-T has certified that the product conforms to China national product standard and industry product standard as well as ISO9001: 2008 standard and ISO14001: 2004 standard. UNI-T will go further to certificate products to meet the standard of other members of the international standards organization.
Programming Manual MSO3000HD Series SCPI SCPI (Standard Commands for Programmable Instruments) is a standard command set based on the existing standards IEEE 488.1 and IEEE 488.2. And follow the IEEE754 standard floating-point arithmetic rules, ISO646 information exchange 7 bits code symbol (equivalent to ASCII programming) and other standard standardized instrument programming language.
Programming Manual MSO3000HD Series Triangular Brackets < > The parameter in the brackets must be replaced with valid value. For example, send the command “:DISPlay:GRID:BRIGhtness <count>“ in the format of “:DISPlay:GRID:BRIGhtness 30”. Parameter Description The parameter in this manual can be divided into five types: Boolean, Integer, Real, Discrete, and ASCII string.
Page 5
Programming Manual MSO3000HD Series Abbrevation All commands are case-sensitive. If a command is written in an abbreviated format, all capital letters in the command must be input completely. Date Return The data return is divided into single data and batch data returns and must end with a newline “<NL>”...
Return Format Manufacture name, oscilloscope model, product serial number, and software version are separated by a dot. For Example UNI-T Technologies, MSO3000HD, 123456789, 00.00.01 *RST Command Format *RST Functional Description Restore factory settings and clear the entire error message, send, and receive queue buffers.
Programming Manual MSO3000HD Series otherwise, it was not executed. SYSTem Command The command is used for basic operation of the oscilloscope, including operating control, full keyboard lock, error queue, and system data setting. :RUN Command Format :RUN Functional Description ...
Page 8
Programming Manual MSO3000HD Series The query returns the system lock status: 0 for unlocked and 1 for locked. For Example :SYSTem:LOCK ON/:SYST:LOCK 1 The system is locked. :SYSTem:LOCK OFF/:SYST:LOCK 0 The system is unlocked. :SYSTem:LOCK? The query returns 1, indicating that it’s locked.
Page 9
Programming Manual MSO3000HD Series :SYSTem:SETup Command Format :SYSTem:SETup <setup_data> :SYSTem:SETup? Functional Description To read or restore the system setting data, <setup_data> conforms to the Data Block Format. Return Format The query returns the system setting data. :SYSTem:VERSion? Command Format ...
Page 10
Programming Manual MSO3000HD Series Functional Description To set self-calibration of the system. During self-calibration, normal communication is disabled. :SYSTem:LA:CAL Command Format :SYSTem:LA:CAL Functional Description To set LA elf-calibration of the system. During self-calibration, normal communication is disabled.
Page 11
Programming Manual MSO3000HD Series To set and query the beep state of the system. Return Format The query returns the beep state of the system: 0 indicates OFF, while 1 indicates ON. For Example :SYSTem:BEEP ON Enable the beep.
Page 12
Programming Manual MSO3000HD Series :SYSTem:SQUare<n>:SELect { 10Hz | 100Hz | 1 kHz | 10 kHz | 100 kHz | 3VREF } :SYSTem:SQUare<n>:SELect? Functional Description To set and query the square wave selection, where the DC signal output of 3 V is only supported by Terminal 1.
Page 13
Programming Manual MSO3000HD Series :SYSTem:LAN:APPLy Command Format :SYSTem:LAN:APPLy Functional Description To immediately change and apply the current network settings. For Example :SYSTem:LAN:APPLy Immediately change and apply the current network settings. :SYSTem:LAN:GATEway Command Format :SYSTem:LAN:GATEway <gateway> :SYSTem:LAN:GATEway? Functional Description ...
Page 14
Programming Manual MSO3000HD Series :SYSTem:LAN:IPADdress <ip> :SYSTem:LAN:IPADdress? Functional Description To set the IP address. <ip> is an ASCII string in the format “xxx.xxx.xxx.xxx.” Return Format The query returns the IP address. For Example :SYST:LAN:IPAD "192.168.1.10" Set the IP address to “192.168.1.10.”...
Page 15
Programming Manual MSO3000HD Series Functional Description To immediately reset the current WiFi network to the default settings. For Example :SYSTem:WIFi:RESet Immediately reset the current WiFi network to the default settings. :SYSTem:WIFi:APPLy Command Format :SYSTem:WIFi:APPLy Functional Description ...
Page 16
Programming Manual MSO3000HD Series :SYST:WIFi:SMASK "255.255.255.0" Set the WiFi subnet mask to “255.255.255.0.” :SYST:WIFi:SMASK? The query returns “255.255.255.0.” :SYSTem:WIFi:IPADdress Command Format :SYSTem:WIFI:IPADdress <ip> :SYSTem:WIFI:IPADdress? Functional Description To set the WiFi IP address. <ip> is an ASCII string in the format “xxx.xxx.xxx.xxx.”...
Page 17
Programming Manual MSO3000HD Series :SYST:WIFi:MAC? The query returns “00-2A-A0-AA-E0-56.” :SYSTem:AUTO:CHANnel Command Format :SYSTem:AUTO:CHANnel {AUTO|KEEP} :SYSTem:AUTO:CHANnel? Functional Description Set whether the channel maintains its current state under the automatic setting. AUTO indicates that the channel is set automatically according to the preset setting; KEEP indicates that the channel is set automatically while maintaining the current state.
Programming Manual MSO3000HD Series Functional Description Set whether the trigger maintains its current state under the automatic setting. AUTO indicates that the trigger is set automatically according to the preset setting; KEEP indicates that the trigger is set automatically while maintaining the current state.
Programming Manual MSO3000HD Series For Example :SYSTem:OPTion:INFo? The query returns the activation status of all function options: #9000000196OPTION, Type, Active, Time, CAN, 0, 160H, CANFD, 1, *, LIN, 1, *, FlexRay, 1, *, SENT, 1, *, AUDio, 0, 160H,...
Page 20
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents {CH1|CH2|CH3|CH4}, respectively. Return Format The query returns the bandwidth limits. The query returns “FULL” when the bandwidth limits are disabled. When enabled, the query returns the bandwidth limits value in scientific notation, with the unit Hz.
Page 21
Programming Manual MSO3000HD Series Return Format The query returns the resistance of the specified channel, expressed in integer data. For Example :CHAN1:LOAD 50 Set the resistance of Channel 1 to 50 Ω. :CHAN1:LOAD? The query returns 50. :CHANnel<n>:DISPlay Command Format ...
Page 22
Programming Manual MSO3000HD Series :CHANnel<n>:PROBe Command Format :CHANnel<n>:PROBe { <probe> | 0.001X | 0.01X | 0.1X | 1X | 10X | 100X | 1000X} :CHANnel<n>:PROBe? Functional Description To set the attenuation factor of the probe, the probe attenuation range is 0.001X-20000X.
Page 23
Programming Manual MSO3000HD Series To set the volts/div scale in the vertical direction. <scale>: Volts/div UP: Increase by one scale based on the current scale. DOWN : Decrease by one scale based on the current scale. <n>: {1|2|3|4|5|6|7|8} indicates {CH1|CH2|CH3|CH4|REFA|REFB|REFC|REFD}, respectively.
Page 24
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents {CH1|CH2|CH3|CH4}, respectively. Return Format The query returns the bias value of the specified channel in scientific notation, with the unit related to :CHANnel<n>:UNITs For Example :CHAN1:BIASV 2 Set the bias value of Channel 1 to 2 V.
Page 25
Programming Manual MSO3000HD Series :CHANnel<n>:LABel:ENABle { {1|ON} | {0|OFF} } :CHANnel<n>:LABel:ENABle? Functional Description To set or query whether the label of the specified channel is enabled. <n>: {1|2|3|4|5|6|7|8} indicates {CH1|CH2|CH3|CH4|REFA|REFB|REFC|REFD}, respectively. Return Format The query returns either 1 or 0, indicating “ON” or “OFF”, respectively.
Page 26
Programming Manual MSO3000HD Series :CHANnel1:HIDe ON The waveform of the specified channel is hidden. :CHANnel1:HIDe? The query returns 1, indicating that CH1’s waveform is hidden. :CHANnel<n>:SELect Command Format :CHANnel<n>:SELect :CHANnel<n>:SELect? Functional Description To select a channel. <n>: {1|2|3|4|5|6|7|8} indicates {CH1|CH2|CH3|CH4|REFA|REFB|REFC|REFD}, respectively.
Page 27
Programming Manual MSO3000HD Series :TIMebase:TYPe YT Set the time base type to “YT.” :TIMebase:TYPe? The query returns “YT.” :TIMebase:XY Command Format :TIMebase:XY <source1>,<source2> :TIMebase:XY? Functional Description To set or query the channel relative to the axes in XY mode.
Page 28
Programming Manual MSO3000HD Series :TIMebase:OFFSet? Functional Description To adjust the MAIN time base offset, which changes the waveform position offset relative to the center of the screen. Return Format The query returns <offset> value in scientific notation, with the unit “s.”...
Page 29
Programming Manual MSO3000HD Series <vp1>: Represents the channel vertical value of the upper left point of the area. The unit is determined by the channel’s unit in the vertical direction. <hp2>: Represents the horizontal time value of the bottom right point of the area, with the unit “s.”...
Page 30
Programming Manual MSO3000HD Series Functional Description To set the zoomed ratio of the volts/div scale in the extended (<Zoomed>) display. <scale>: Zoomed ratio UP: Increase by one scale based on the current ratio. DOWN : Decrease by one scale based on the current ratio.
Page 31
Programming Manual MSO3000HD Series position. Return Format The query returns {CENTer|LB|RB|TRIGger}. For Example :TIMebase:HREFerence:MODe TRIGger Set the horizontal reference mode to “TRIGger”. :TIMebase:HREFerence:MODe? The query returns “TRIGger”. MATH Command This command is used to set various math operation functions for CH1, CH2, CH3, and CH4. The operations include addition, subtraction, multiplication, division, FFT, digital filtering, and function expression.
Page 32
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents {MATH1|MATH2|MATH3|MATH4}, respectively. Return Format The query returns the current volts/div scale value in scientific notation, with the unit related :CHANnel<n>:UNITs For Example :MATH1:SCAL 20V Set the volts/div scale of Channel 1 to 20 V.
Page 33
Programming Manual MSO3000HD Series MATH1:MODe? The query returns “BASic.” :MATH<n>:OPERation Command Format :MATH<n>:OPERation {ADD | SUBTract | MULTiply | DIVide } :MATH<n>:OPERation? Functional Description To set the operator, including addition, subtraction, multiplication, and division. <n>: {1|2|3|4} represents {MATH1|MATH2|MATH3|MATH4}, respectively.
Page 34
Programming Manual MSO3000HD Series :MATH<n>:FILTer:TYPe Command Format :MATH<n>:FILTer:TYPe {LP|HP|BP|BS} :MATH<n>:FILTer:TYPe? Functional Description To set the filter type. LP, HP, BP, and BS represents low-pass filter, high-pass filter, band-pass filter, and band-stop filter, respectively. <n>: {1|2|3|4} represents {MATH1|MATH2|MATH3|MATH4}, respectively.
Page 35
Programming Manual MSO3000HD Series :MATH<n>:FILTer:FREQuency:LOW? Functional Description To set the lower limit of the cut-off frequency for the filter. This is suitable for low-pass filters, band-pass filters, and band-stop filters. <n>: {1|2|3|4} represents {MATH1|MATH2|MATH3|MATH4}, respectively. Return Format The query returns 6.000000e+01, the unit is Hz.
Page 36
Programming Manual MSO3000HD Series :MATH1:LABel:ENABle ON Enable MATH1’s label. :MATH1:LABel:ENABle? The query returns 1, indicating that MATH1’s label is enabled. :MATH<n>:LABel Command Format :MATH<n>:LABel <label> :MATH<n>:LABel? Functional Description To set or query the label of the specified math channel.
Page 37
Programming Manual MSO3000HD Series :MATH<n>:SELect? Functional Description To select a math channel. <n>: {1|2|3|4} represents {MATH1|MATH2|MATH3|MATH4}, respectively. Return Format The query returns either 1 or 0. For Example :MATH1:SELect Select MATH1. :MATH1:SELect? The query returns 1, indicating that MATH1 is selected.
Page 38
Programming Manual MSO3000HD Series Return Format The query returns either 1 or 0, indicating “ON” or “OFF”, respectively. For Example :FFT1:DISP ON Enable FFT1 calculation. :FFT1:DISP? The query returns 1, indicating that FFT1 calculation is enabled. :FFT<n>:SCALe Command Format ...
Page 39
Programming Manual MSO3000HD Series :FFT1:OFFS 200uV Set the vertical offset of FFT1 to 200 µV. :FFT1:OFFS? The query returns “2.000000e-04.” :FFT<n>:SOURce Command Format :FFT<n>:SOURce {CHANnel1|CHANnel2|CHANnel3|CHANnel4} :FFT<n>:SOURce? Functional Description To set the operation source for the specified FFT. <n>: {1|2|3|4} represents {FFT1|FFT2|FFT3|FFT4}, respectively.
Page 40
Programming Manual MSO3000HD Series Functional Description To set the point for the specified FFT calculation. <n>: {1|2|3|4} represents {FFT1|FFT2|FFT3|FFT4}, respectively. Return Format The query returns {8K|16K|32K|64K|128K|256K|512K|1M|2M|4M}. For Example :FFT1:POINts 8K Set FFT1 point to 8K. :FFT1:POINts? The query returns 8K.
Page 41
Programming Manual MSO3000HD Series For Example :FFT1:WATerfall ON Enable the waterfall curve for FFT1. :FFT1:WATerfall? The query returns 1, indicating that the waterfall curve of FFT1 is enabled. :FFT<n>:FREQuency:MODe Command Format :FFT<n>:FREQuency:MODe {SPAN | RANG} :FFT<n>:FREQuency:MODe? Functional Description ...
Page 42
Programming Manual MSO3000HD Series :FFT<n>:FREQuency:CENTer Command Format :FFT<n>:FREQuency:CENTer <freq> :FFT<n>:FREQuency:CENTer? Functional Description To set the center frequency for the specified FFT. <n>: {1|2|3|4} represents {FFT1|FFT2|FFT3|FFT4}, respectively. Return Format The query returns the center frequency of the specified FFT, with the unit “Hz.”...
Page 43
Programming Manual MSO3000HD Series The query returns the stop frequency of the specified FFT, with the unit “Hz.” For Example :FFT1:FREQuency:STOP 1 kHz Set the stop frequency of FFT1 to 1 kHz. :FFT1:FREQ:STOP? The query returns “1.000000e+03.” :FFT<n>:DETEction:REALTime Command Format ...
Page 44
Programming Manual MSO3000HD Series SAMPle: Takes the first point value of each sampling interval. Return Format The query returns the detection mode of average spectrum frequency. For Example :FFT1:DETEction:AVERage PPEAK Set the detection mode for the average spectrum frequency of FFT1 to “PPEAK (peak to peak).”...
Page 45
Programming Manual MSO3000HD Series SAMPle: Takes the first point value of each sampling interval. Return Format The query returns the detection mode of the maximum hold spectrum frequency. For Example :FFT1:DETEction:MAXHold PPEAK Set the detection mode for the maximum hold spectrum frequency of to “PPEAK (peak to peak).”...
Page 46
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents {FFT1|FFT2|FFT3|FFT4}, respectively. REALtime: Marks real-time spectrum frequency. AVERage: Marks the average spectrum frequency. MAXHold: Marks the maximum hold spectrum frequency. MINHold: Marks the minimum hold spectrum frequency. Return Format The query returns the currently selected mark source.
Page 47
Programming Manual MSO3000HD Series <value>: Mark count value, ranging from 1-10. Return Format The query returns the mark count of the spectrum frequency marker. For Example :FFT1:MARKer:POINts 10 Set the mark count of FFT1 marker to 10. :FFT1:MARKer:POINts? The query returns 10.
Page 48
Programming Manual MSO3000HD Series 2, 2.000000e+03, 7.900000e-01, 3, 3.000000e+03, 7.700000e-01, 4, 4.000000e+03, 7.300000e-01, 5, 5.000000e+03, 7.400000e-01, FFT represents FFT mode, with the event table data in CSV format following. The specified format of the event data table is automatically adapted by different devices. The data are separated by commas and will automatically line wrap according to the list.
Programming Manual MSO3000HD Series To move the marker to the maximum peak. <n>: {1|2|3|4} represents {FFT1|FFT2|FFT3|FFT4}, respectively. For Example :FFT1:MARKer:MANUal:PEAK Manually move the marker to the maximum peak. MEASure Command To set and query the measurement parameters, including set the measurement statistics and custom measurement functions, for quick waveform analysis.
Page 50
Programming Manual MSO3000HD Series corresponding to the DC voltage that generates the equivalent energy. The energy generated by the conversion of the RMS value of the AC Vertical Period RMS (PVRMs) signal within one cycle corresponds to the DC voltage that generates the equivalent energy.
Page 51
Programming Manual MSO3000HD Series voltages and times less than GND (ground) displayed on the screen, measured in "V*s”. The algebraic sum of the products of all voltages greater than GND (ground) Perodic positive area Vertical (PMPArea) and time within the first cycle of the screen waveform, measured in "V*s."...
Page 52
Programming Manual MSO3000HD Series Horizontal Frequency (FREQuency) Reciprocal of period The time needed for the amplitude of the signal waveform to rise from the Horizontal Rise time (RTIMe) low value of the lower threshold to the high value of the upper threshold.
Page 53
Programming Manual MSO3000HD Series threshold to below the low value of the lower threshold. The duration of multiple consecutive Horizontal Burst width (BWIDTh) crossings above the mid-reference level. Horizontal Burst interval (BINTerval) Time interval between two bursts The burst period when both burst...
Page 54
Programming Manual MSO3000HD Series rising edge of the primary source 1 to the first rising edge of the secondary source 2, expressed in seconds, is the time between the midpoint threshold intersections. The time difference between the first falling edge of the primary source 1 to...
Page 55
Programming Manual MSO3000HD Series intersections. The time difference between the last falling edge of the primary source 1 to the last falling edge of the secondary Other FFLR (FFLR) √ source 2, expressed in seconds, is the time between the midpoint threshold intersections.
Page 56
Programming Manual MSO3000HD Series query command. <source> represents the main source: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. The order of measurement snapshot the order is shown below. Refer to Measurement Parameter Table. {VMAX|VMIN|VPP|VTOP|VBASe|VAMP|VMID|VAVG|PVAVg|VRMS|PVRMs|ACRMs|PACRms|MAR ea|MPARea|PMARea|NMARea|PMPArea|NMPArea|POVershoot|NOVershoot|PPReshoot|NPResh oot|PERiod|FREQuency|RTIMe|FTIMe|PWIDth|NWIDth|PDUTy|NDUTy|PPULses|NPULses|PEDGe s|NEDGes|BWIDTh|BINTerval|BPERiod|BCYCles}. Return Format The query returns the results of channel parameter snapshot measurement. The returned data...
Page 57
Programming Manual MSO3000HD Series {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. <source2> represents the slave source: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. Explanation: If the measurement parameter is single source, set one source and omit the slave source. If the measurement parameter requires both sources, set two sources and do not omit the slave source.
Page 58
Programming Manual MSO3000HD Series The query returns 1 or 0. For Example :MEASure:STATistic:UNLimited ON Enable the unlimited measurement statistics. :MEASure:STATistic:UNLimited? The query returns 1. :MEASure:STATistic:COUNt Command Format :MEASure:STATistic:COUNt <count> :MEASure:STATistic:COUNt? Functional Description To set or query the count of the measurement statistics.
Page 59
Programming Manual MSO3000HD Series {VMAX|VMIN|VPP|VTOP|VBASe|VAMP|VMID|VAVG|PVAVg|VRMS|PVRMs|ACRMs|PACRms|MAR ea|MPARea|PMARea|NMARea|PMPArea|NMPArea|POVershoot|NOVershoot|PPReshoot|NPResh oot|PERiod|FREQuency|RTIMe|FTIMe|PWIDth|NWIDth|PDUTy|NDUTy|PPULses|NPULses|PEDGe s|NEDGes|BWIDTh|BINTerval|BPERiod|BCYCles|ARRAtio|ARPRatio|STIMe|HTIMe|SHRAtio|FRFR| FRFF|FFFR|FFFF|FRLF|FRLR|FFLR|FFLR|RRPHase|FFPHase}. <type> represents statistical type: {MAXimum|MINimum|CURRent|AVERages|DEViation}, representing maximum, minimum, current, average, and variance, respectively. <source> represents the main source: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. <source> represents the slave source: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. Explanation: If the measurement parameter is single source, set one source and omit the slave source.
Page 60
Programming Manual MSO3000HD Series <source> represents the main source: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. <source> represents the slave source: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. Explanation: If the measurement parameter is single source, set one source and omit the slave source. If the measurement parameter requires both sources, set two sources and do not omit the slave source.
Page 61
Programming Manual MSO3000HD Series :MEASure:THReshold:DEFault Command Format :MEASure:THReshold:DEFault <source> Functional Description To set the default thresholds: the low default threshold is 10%; the middle default threshold is 50%, the high default threshold is 90%. <source> represents {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. For Example ...
Page 62
Programming Manual MSO3000HD Series To set or query the middle value of the threshold level when measuring the analog channel using automatic measurements. <source> represents {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. <value> represents the middle value, ranging from 6% - 94%. Return Format The query returns the middle value of the threshold level in scientific notation, with the unit “%”.
Page 63
Programming Manual MSO3000HD Series To set the measurement range to “SCReen (full screen)” or “CURSor (cursor area)”. When the measurement range is set to “CURSor (cursor area)”, use the commands to enable the time cursor measurement :CURSor:MEASure :CURSor:TYPe function, and then use the commands...
Page 64
Programming Manual MSO3000HD Series :MEASure:AMP:MANual:TOP MAX Set the manual measurement for the amplitude top value to “MAX.” :MEASure:AMP:MANual:TOP? The query returns “MAX.” :MEASure:AMP:MANual:BASe Command Format :MEASure:AMP:MANual:BASe {HISTogram|MIN} :MEASure:AMP:MANual:BASe? Functional Description To set or query the manual measurement for the amplitude bottom value.
Page 65
Programming Manual MSO3000HD Series :MEASure:BURSt:LEVel? Functional Description To set or query the idle level of a burst during measurement. HIGH: High level; LOW: Low level. Return Format The query returns {HIGH|LOW}. For Example :MEASure:BURSt:LEVel HIGH Set the idle level of a burst to “HIGH” during measurement.
Programming Manual MSO3000HD Series :MEASure:SH:DATA:EDGe POSitive Set the data edge of the setup & hold trigger to“POSitive (Rising edge)” during measurement. :MEASure:SH:DATA:EDGe? The query returns “POSitive.” TRIGger Command This command is used to control the trigger sweep mode and trigger specification. The trigger determines when the oscilloscope starts sampling data and displays the waveform.
Page 67
Programming Manual MSO3000HD Series :TRIGger:FORCe Functional Description Forces the oscilloscope to generate a trigger signal, allowing the input waveform to be triggered and displayed even when no suitable trigger condition is found. For Example :TRIGger:FORCe Force trigger. :TRIGger:SWEep Command Format ...
Page 68
Programming Manual MSO3000HD Series The query returns the coupling mode {DC|AC|LF|HF}. For Example :TRIGger:COUPling AC Set the coupling mode of edge trigger to “AC”. :TRIGger:COUPling? The query returns “AC”. :TRIGger:HOLDoff Command Format :TRIGger:HOLDoff <time> :TRIGger:HOLDoff? Functional Description ...
Page 69
Programming Manual MSO3000HD Series Return Format The query returns STOP/ARMED/READY/TRIGED/AUTO/SCAN/RESET/REPLAY/WAIT. For Example :TRIGger:STATus? The query returns “AUTO”. Zone Triggering :TRIGger:AREa Command Format :TRIGger:AREa { {1|ON} | {0|OFF} } :TRIGger:AREa? Functional Description To set or query the zone trigger state: “ON” or “OFF”.
Page 70
Programming Manual MSO3000HD Series The query returns the coordinate value in scientific notation. For Example :TRIGger:AREa:A -5us,200mv,5us,-200mv Zone A is from the upper left point [-5us, 200mv] to the bottom right point [5us, -200mv]. :TRIGger:AREa:A? The query returns -“5.000000e-06, 2.000000e-01, 5.000000e-06, -2.000000e-01”.
Page 71
Programming Manual MSO3000HD Series :TRIGger:AREa:A:INTersect { {1|ON} | {0|OFF} } :TRIGger:AREa:A:INTersect? Functional Description To set or query the trigger intersection state of Zone A. Return Format The query returns either 1 or 0, indicating “ON” or “OFF”, respectively.
Page 72
Programming Manual MSO3000HD Series :TRIGger:AREa:B:ENABle Command Format :TRIGger:AREa:B:ENABle { {1|ON} | {0|OFF} } :TRIGger:AREa:B:ENABle? Functional Description To set or query the enabling state of Zone B. Return Format The query returns either 1 or 0, indicating “ON” or “OFF”, respectively.
Programming Manual MSO3000HD Series :TRIGger:AREa:B:INTersect ON Set Zone B trigger to intersect. :TRIGger:AREa:B:INTersect? The query returns 1, indicating Zone B trigger is intersected. Edge Triggering :TRIGger:EDGe:SOURce Command Format :TRIGger:EDGe:SOURce <source> :TRIGger:EDGe:SOURce? Functional Description To set or query the trigger source.
Page 74
Programming Manual MSO3000HD Series :TRIGger:EDGe:POLarity Command Format :TRIGger:EDGe:POLarity {POSitive|NEGative|ANY} :TRIGger:EDGe:POLarity? Functional Description To set the trigger edge type to “POSitive (Rising edge)”, “NEGative (Falling edge)”, or “ANY (Arbitrary edge).” Return Format The query returns the trigger edge type { POSitive | NEGative | ANY }.
Page 75
Programming Manual MSO3000HD Series :TRIGger:PULse:LEVel? Functional Description To set or query the trigger level value. <level>: Trigger level value Return Format The query returns the trigger level value in scientific notation. The unit conforms to the current amplitude unit.
Programming Manual MSO3000HD Series :TRIGger:PULSe:POL POS Set the pulse polarity to “POSitive (Positive pulse width)”. :TRIGger:PULSe:POL? The query returns “POSitive.” :TRIGger:PULSe:TIMe:UPPer Command Format :TRIGger:PULSe:TIMe:UPPer <time> :TRIGger:PULSe:TIMe:UPPer? Functional Description To set the upper limit time for the pulse width trigger.
Page 77
Programming Manual MSO3000HD Series <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4. Return Format The query returns the trigger source {CHANnel1|CHANnel2|CHANnel3|CHANnel4}. For Example :TRIGger:VIDeo:SOURce CHANnel1 Set the trigger source as Channel 1.
Programming Manual MSO3000HD Series :TRIGger:VIDeo:MODe? The query returns “ODD”. :TRIGger:VIDeo:STANdard Command Format :TRIGger:VIDeo:STANdard <standard> :TRIGger:VIDeo:STANdard? Functional Description To set the video standard. <standard>:{NTSC|PAL|SECAM|R525P60|R625P50|R720P24|R720P25|R720P30|R720P50|R720 P60|R1080I25|R1080I30|R1080P24|R1080P25|R1080P30|R1080PSF24} Return Format The query returns {NTSC|PAL|SECAM|R525P60|R625P50|R720P24|R720P25|R720P30|R720P50|R720P60|R1080I 25|R1080I30|R1080P24|R1080P25|R1080P30|R1080PSF24}. For Example :TRIGger:VIDeo:STANdard NTSC Set the video standard to “NTSC”.
Page 79
Programming Manual MSO3000HD Series :TRIGger:SLOPe:SOURce <source> :TRIGger:SLOPe:SOURce? Functional Description To set or query the trigger source. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4. Return Format ...
Page 80
Programming Manual MSO3000HD Series Return Format The query returns the high trigger level value in scientific notation. The unit conforms to the current amplitude unit. For Example :TRIGger:SLOPe:HIGH:LEVel 3 Set the high trigger level value to 3 V.
Page 81
Programming Manual MSO3000HD Series :TRIGger:SLOPe:TIMe:UPPer <time> :TRIGger:SLOPe:TIMe:UPPer? Functional Description To set the upper limit time for the slope trigger. Return Format The query returns the upper limit of the current time, with the unit “s.” For Example ...
Page 82
Programming Manual MSO3000HD Series For Example :TRIGger:RUNT:SOURce CHANnel1 Set the trigger source as Channel 1. :TRIGger:RUNT:SOURce? The query returns “CHANnel1.” :TRIGger:RUNT:LOW:LEVel Command Format :TRIGger:RUNT:LOW:LEVel <level> :TRIGger:RUNT:LOW:LEVel? Functional Description To set or query the low trigger level value.
Page 83
Programming Manual MSO3000HD Series :TRIGger:RUNT:QUALifier {GREaterthan | LESSthan | INRange | NONE} :TRIGger:RUNT:QUALifier? Functional Description To set the time search for runt trigger to “GREaterthan (Greater than)”, “LESSthan (Less than)”, “INRange (Within the range)”, or “NONE (Arbitrary)”. Return Format ...
Page 84
Programming Manual MSO3000HD Series :TRIGger:RUNT:TIMe:LOWer Command Format :TRIGger:RUNT:TIMe:LOWer <time> :TRIGger:RUNT:TIMe:LOWer? Functional Description To set the lower limit time for the runt trigger. Return Format The query returns the lower limit of the current time, with the unit “s.”...
Programming Manual MSO3000HD Series <level>: Trigger level value Return Format The query returns the low-trigger level value in scientific notation. The unit conforms to the current amplitude unit. For Example :TRIGger:WINDow:LOW:LEVel -3 Set the low trigger level value to -3 V.
Page 86
Programming Manual MSO3000HD Series :TRIGger:WINDow:TIMe Command Format :TRIGger:WINDow:TIMe <time> :TRIGger:WINDow:TIMe? Functional Description To set the time interval for the window trigger. Return Format The query returns the current time interval, with the unit “s.” For Example ...
Page 87
Programming Manual MSO3000HD Series For Example :TRIGger:DELay:ASOURce CHAN1 Set the trigger source 1 as Channel 1. :TRIGger:DELay:ASOURce? The query returns “CHANnel1.” :TRIGger:DELay:ALEVel Command Format :TRIGger:DELay:ALEVel <level> :TRIGger:DELay:ALEVel? Functional Description To set or query the trigger level of source 1.
Page 88
Programming Manual MSO3000HD Series :TRIGger:DELay:BSOURce? Functional Description To set the source 2 for the delay trigger. <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. For Example :TRIGger:DELay:BSOURce CHAN1 Set the trigger source 2 as Channel 1.
Page 89
Programming Manual MSO3000HD Series :TRIGger:DELay:BPOLarity NEG Set the edge type for trigger source 2 to “NEGative”. :TRIGger:DELay:BPOLarity? The query returns “NEGative”. :TRIGger:DELay:QUALifier Command Format :TRIGger:DELay:QUALifier { GREaterthan | LESSthan | INRange | OUTRange } :TRIGger:DELay:QUALifier? Functional Description To set the time interval for the delay trigger to “GREaterthan (Greater than)”, “LESSthan (Less than)”, “INRange (Within the range)”, or “OUTRange (Outside of the range).”...
Page 90
Programming Manual MSO3000HD Series Return Format The query returns the lower limit of the current time, with the unit “s.” For Example :TRIGger:DELay:TIMe:LOWer 1 Set the lower limit time for the delay trigger to 1s. :TRIGger:DELay:TIMe:LOWer? The query returns “1.000000e+00.”...
Page 91
Programming Manual MSO3000HD Series :TRIGger:TIMeout:LEVel -3 Set the trigger level to -3 V. :TRIGger:TIMeout:LEVel? The query returns “-3.000000e+00.” :TRIGger:TIMeout:TIMe Command Format :TRIGger:TIMeout:TIMe <time> :TRIGger:TIMeout:TIMe? Functional Description To set the time interval for the timeout trigger. Return Format ...
Page 92
Programming Manual MSO3000HD Series To set or query the trigger level value. <level>: Trigger level value Return Format The query returns the trigger level value in scientific notation. The unit conforms to the current amplitude unit. For Example ...
Programming Manual MSO3000HD Series :TRIGger:DURation:QUALifier GRE Set the slope condition to “GREaterthan”. :TRIGger:DURation:QUALifier? The query returns “GREaterthan”. :TRIGger:DURation:TIMe:LOWer Command Format :TRIGger:DURation:TIMe:LOWer <time> :TRIGger:DURation:TIMe:LOWer? Functional Description To set the lower limit time for the duration trigger. The lower limit time can be set when the time interval is “GREaterthan.”...
Page 94
Programming Manual MSO3000HD Series Functional Description To set the data source for the setup & hold trigger. <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. For Example :TRIGger:SHOLd:SDA CHAN1 Set Channel 1 as data source.
Page 95
Programming Manual MSO3000HD Series :TRIGger:SHOLd:SCL? The query returns “CHANnel1.” :TRIGger:SHOLd:CLEVel Command Format :TRIGger:SHOLd:CLEVel<level> :TRIGger:SHOLd:CLEVel? Functional Description To set or query trigger clock level value. <level>: Trigger level value Return Format The query returns the trigger clock level value in scientific notation. The unit conforms to the current amplitude unit.
Page 96
Programming Manual MSO3000HD Series Functional Description To set or query the data type for the setup & hold trigger to “HIGH (High level)” or “LOW (Low level)”. Return Format The query returns { HIGH | LOW }. For Example ...
Page 97
Programming Manual MSO3000HD Series Nth Edge Triggering :TRIGger:NEDGe:SOURce Command Format :TRIGger:NEDGe:SOURce <source> :TRIGger:NEDGe:SOURce? Functional Description To set or query the trigger source. <source>: {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 98
Programming Manual MSO3000HD Series :TRIGger:NEDGe:POLarity? Functional Description To set the trigger edge type to “POSitive (Rising edge)” or “NEGative (Falling edge).” Return Format The query returns the trigger edge type {POSitive|NEGative }. For Example :TRIGger:NEDGe:POLarity POS Set the trigger edge type to “POSitive (Rising edge) .”...
Page 99
Programming Manual MSO3000HD Series Code Pattern Triggering :TRIGger:PATTern:LEVel Command Format :TRIGger:PATTern:LEVel<level> :TRIGger:PATTern:LEVel? Functional Description To set or query the trigger level value. <level>: Trigger level value Return Format The query returns the trigger level value in scientific notation. The unit conforms to the current amplitude unit.
Programming Manual MSO3000HD Series :TRIGger:RS232:SOURce? Functional Description To set or query the trigger source. <source>: {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 101
Programming Manual MSO3000HD Series The query returns the trigger pulse polarity { POSitive | NEGative}. For Example :TRIGger:RS232:POLarity POS Set the trigger pulse polarity to “POSitive (Positive) .” :TRIGger:RS232:POLarity? The query returns “POSitive.” :TRIGger:RS232:QUALifier Command Format :TRIGger:RS232:QUALifier {STARt|ERRor|CERRor|DATA}...
Page 102
Programming Manual MSO3000HD Series :TRIGger:RS232:BAUDrate Command Format :TRIGger:RS232:BAUDrate <baud rate> :TRIGger:RS232:BAUDrate? Functional Description To set or query the baud rate for the RS232 trigger. The default unit is “bps”, and it is an integer. Return Format The query returns the baud rate.
Page 103
Programming Manual MSO3000HD Series :TRIGger:RS232:STOP? The query returns 1. :TRIGger:RS232:PARity Command Format :TRIGger:RS232:PARity {EVEN | ODD | NONE} :TRIGger:RS232:PARity? Functional Description To set or query the parity check for the RS232 trigger. Return Format The query returns {EVEN | ODD | NONE}.
Page 104
Programming Manual MSO3000HD Series Functional Description To set or query the data source for the I2C trigger. <source>: {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 105
Programming Manual MSO3000HD Series <level>: Trigger level value Return Format The query returns the trigger level value in scientific notation. The unit conforms to the current amplitude unit. For Example :TRIGger:I2C:DLEVel 2 Set the trigger level of data line for the I2C trigger to 2 V.
Page 106
Programming Manual MSO3000HD Series :TRIGger:I2C:QUALifier Command Format :TRIGger:I2C:QUALifier {STARt|RESTart|STOP|NACK|ADDRess|DATA|ADATA} :TRIGger:I2C:QUALifier? Functional Description To set and query the trigger condition for the I2C trigger. STARt: Triggered when SCL is high and SDA transitions from high to low. RESTart: Triggered when another start condition occurs before the stop condition.
Page 107
Programming Manual MSO3000HD Series :TRIGger:I2C:ADDRess Command Format :TRIGger:I2C:ADDRess <address> :TRIGger:I2C:ADDRess? Functional Description To set or query the address value for the I2C trigger in the trigger conditions of “Address” or “Address and Data.” <address>: The parameter is in binary format, where the values can be 0, 1, or X. Here, X represents uncertainty.
Programming Manual MSO3000HD Series :TRIGger:I2C:DATA? Functional Description To set or query the data value for the I2C trigger in the trigger conditions of “Address” or “Address and Data.” <data>: The parameter is in binary format, where the values can be 0, 1, or X. Here, X represents uncertainty.
Page 109
Programming Manual MSO3000HD Series :TRIGger:SPI:SMOSI? Functional Description To set or query the MOSI source for the SPI trigger. <source>: {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 110
Programming Manual MSO3000HD Series To set or query the trigger level of the clock line for the SPI trigger. <level>: Trigger level value Return Format The query returns the trigger level value in scientific notation. The unit conforms to the current amplitude unit.
Page 111
Programming Manual MSO3000HD Series :TRIGger:SPI:CS:LEVel 2 Set the trigger level of chip selection line for the SPI trigger to 2 V. :TRIGger:SPI:CS:LEVel? The query returns “2.000000e+00.” :TRIGger:SPI:CLOCk:POLarity Command Format :TRIGger:SPI:CLOCk:POLarity {POSitive|NEGative} :TRIGger:SPI:CLOCk:POLarity? Functional Description To set or query the pulse polarity of the clock line for the SPI trigger to “POSitive (Positive)” or “NEGative (Negative)”.
Page 112
Programming Manual MSO3000HD Series :TRIGger:SPI:CS:POLarity? Functional Description To set or query the pulse polarity of the chip selection line for the SPI trigger to“POSitive (positive)” or “NEGative (negative)”. Return Format The query returns the pulse polarity of the trigger { POSitive | NEGative}.
Page 113
Programming Manual MSO3000HD Series For Example :TRIGger:SPI:DWIDth 4 Set the data bit width to 4. :TRIGger:SPI:DWIDth? The query returns 4. :TRIGger:SPI:DLENgth Command Format :TRIGger:SPI:DLENgth <len> :TRIGger:SPI:DLENgth? Functional Description To set or query the data frame length for the SPI trigger in the trigger conditions of “Idle Data”...
Page 114
Programming Manual MSO3000HD Series :TRIGger:SPI:MODe Command Format :TRIGger:SPI:MODe { CS | TIMeout } :TRIGger:SPI:MODe? Functional Description To set or query the bus mode for the SPI trigger. Return Format The query returns { CS | TIMeout }.
Page 115
Programming Manual MSO3000HD Series <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns the trigger source {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. For Example :TRIGger:CAN:SOURce CHANnel1 Set the trigger source as Channel 1. :TRIGger:CAN:SOURce? The query returns “CHANnel1.”...
Page 116
Programming Manual MSO3000HD Series :TRIGger:CAN:QUALifier Command Format :TRIGger:CAN:QUALifier {SOF|DFRame|REMote|ERRor|OVERload|ID|DATA|IDData|EOF|ACK|ERBit|CRCERRor|ALLERRor} :TRIGger:CAN:QUALifier? Functional Description To set or query the trigger condition for the CAN trigger. SOF: Start of frame DFRame: Data frame REMote: Remote frame ERRor: Error frame OVERload: Overload frame...
Page 117
Programming Manual MSO3000HD Series Return Format The query returns the baud rate as an integer. For Example :TRIGger:CAN:BAUDrate 100000 Set the signal baud rate for the CAN trigger to 100 kbps. :TRIGger:CAN:BAUDrate? The query returns 100,000. :TRIGger:CAN:IDFormat Command Format ...
Page 118
Programming Manual MSO3000HD Series :TRIGger:CAN:ID? Functional Description To set or query the data for the CAN trigger in the trigger condition of “ID (Identifier)”. <data>: The parameter is in binary format, where the values can be 0, 1, or X. Here, X represents uncertainty.
Page 119
Programming Manual MSO3000HD Series <data>: The parameter is in binary format, where the values can be 0, 1, or X. Here, X represents uncertainty. The range of values is determined by the setting of the command , which ranges from 0-2^n-1. Here, n equals the current data :TRIGger:CAN:DLENgth length multiplied by 8.
Page 120
Programming Manual MSO3000HD Series Return Format The query returns the trigger level value in scientific notation. The unit conforms to the current amplitude unit. For Example :TRIGger:CANFD:LEVel 2 Set the trigger level to 2 V. :TRIGger:CANFD:LEVel? The query returns “2.000000e+00.”...
Page 121
Programming Manual MSO3000HD Series IDData: ID and Data EOF: End of frame ACK: Loss of acknowledgement ERBit: Bit stuffing error CRCERRor: Crc error ALLERRor: All error Return Format The query returns {SOF|DFRame|REMote|ERRor|OVERload|ID|DATA|IDData|EOF|ACK|ERBit|CRCERRor|ALLERRor}. For Example :TRIGger:CANFD:QUALifier SOF Set the trigger condition for the CAN-FD trigger to “SOF”.
Page 122
Programming Manual MSO3000HD Series Return Format The query returns the baud rate as an integer. For Example :TRIGger:CANFD:FD:BAUDrate 500000 Set the FD baud rate for the CAN-FD trigger to 500 kbps. :TRIGger:CANFD:FD:BAUDrate? The query returns 500,000. :TRIGger:CANFD:SPOSition Command Format ...
Page 123
Programming Manual MSO3000HD Series :TRIGger:CANFD:ID Command Format :TRIGger:CANFD:ID <data> :TRIGger:CANFD:ID? Functional Description To set or query the data for the CAN-FD trigger in the trigger conditions of “ID (Identifier)”. <data>: The parameter is in binary format, where the values can be 0, 1, or X. Here, X represents uncertainty.
Page 124
Programming Manual MSO3000HD Series :TRIGger:CANFD:DATA <data> :TRIGger:CANFD:DATA? Functional Description To set or query the data for the CAN-FD trigger in the trigger conditions of “Data” or “ID and Data”. <data>: The parameter is in binary format, where the values can be 0, 1, or X. Here, X represents uncertainty.
Page 125
Programming Manual MSO3000HD Series “ID and Data”. When using this command, it is enabled by default. <offset>: Byte bias, ranging from 0-63. Return Format The query returns the data byte bias as an integer. For Example :TRIGger:CANFD:DATA:OFFSet 8 Set the data byte bias for the CAN-FD trigger to 8.
Page 126
Programming Manual MSO3000HD Series amplitude unit. For Example :TRIGger:LIN:LEVel 2 Set the trigger level to 2 V. :TRIGger:LIN:LEVel? The query returns “2.000000e+00.” :TRIGger:LIN:POLarity Command Format :TRIGger:LIN:POLarity {NORMal | INVert} :TRIGger:LIN:POLarity? Functional Description To set the polarity for the LIN bus trigger.
Page 127
Programming Manual MSO3000HD Series :TRIGger:LIN:QUALifier SYNC Set the trigger condition to “SYNC”. :TRIGger:LIN:QUALifier? The query returns “SYNC”. :TRIGger:LIN:VERSion Command Format :TRIGger:LIN:VERSion {VER1|VER2|ANY} :TRIGger:LIN:VERSion? Functional Description To set or query the version of the LIN bus trigger. {VER1| VER2|ANY}: represents V1.x, V2.x, and any arbitrary version, respectively.
Page 128
Programming Manual MSO3000HD Series To set or query whether the ID of the LIN trigger includes the parity bit. ON indicates Yes, while OFF indicates No. Return Format The query returns either 1 or 0, indicating “ON” or “OFF”, respectively.
Page 129
Programming Manual MSO3000HD Series :TRIGger:LIN:ERRor Command Format :TRIGger:LIN:ERRor {SYNC|ID|CHECk} :TRIGger:LIN:ERRor? Functional Description To set or query the error type for the LIN trigger in the trigger condition of “Error”. { SYNC | ID | CHECk}: represents “Sync, ID parity check, and checksum”, respectively.
Page 130
Programming Manual MSO3000HD Series <len>: Data length, ranging from 1-8. Return Format The query returns the data length as an integer. For Example :TRIGger:LIN:DLENgth 4 Set the data length of the data bits to 4. :TRIGger:LIN:DLENgth? The query returns 4.
Page 131
Programming Manual MSO3000HD Series Return Format The query returns the trigger source {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. For Example :TRIGger:FR:SOURce CHANnel1 Set the trigger source as Channel 1. :TRIGger:FR:SOURce? The query returns “CHANnel1.” :TRIGger:FR:LEVel Command Format ...
Page 132
Programming Manual MSO3000HD Series :TRIGger:FR:CHANnel {A | B} :TRIGger:FR:CHANnel? Functional Description To set or query the channel type for the FlexRay trigger. Return Format The query returns {A | B}. For Example :TRIGger:FR:CHANnel A Set the channel type for the FlexRay trigger to “A”.
Page 133
Programming Manual MSO3000HD Series HEAD: Header field DATA: Data IDData: ID and Data EOF: End of frame ERRor: Error frame Return Format The query returns {SOF|IND|ID|CYCLes|HEAD|DATA|IDData|EOF|ERRor}. For Example :TRIGger:FR:QUALifier SOF Set the trigger condition for the FlexRay trigger to “SOF”.
Page 134
Programming Manual MSO3000HD Series uncertainty. The range of values is 0-2^5-1. Return Format The query returns the data string in binary format. For Example :TRIGger:FR:HEAD "100X1" Set the header field indicating bit data to “100X1”. :TRIGger:FR:HEAD? The query returns “100X1”.
Page 135
Programming Manual MSO3000HD Series Field” to “000000100X1”. :TRIGger:FR:CRC? The query returns “000000100X1”. :TRIGger:FR:CYCLes Command Format :TRIGger:FR:CYCLes <data> :TRIGger:FR:CYCLes? Functional Description To set or query the cycle count for the FlexRay trigger in the trigger condition of “Header Field”.
Page 136
Programming Manual MSO3000HD Series :TRIGger:FR:EOF Command Format :TRIGger:FR:EOF { STATic | DYNamic | ALL} :TRIGger:FR:EOF? Functional Description To set or query the frame type for the FlexRay trigger in the trigger condition of “EOF”. { STATic | DYNamic | ALL}: represents static, dynamic and all, respectively.
Page 137
Programming Manual MSO3000HD Series <len>: Data length, ranging from 1-16. Return Format The query returns the data length as an integer. For Example :TRIGger:FR:DLENgth 2 Set the data length to 2. :TRIGger:FR:DLENgth? The query returns 2. :TRIGger:FR:DATA Command Format ...
Page 138
Programming Manual MSO3000HD Series :TRIGger:FR:DATA:OFFSet:CTL? The query returns 1. :TRIGger:FR:DATA:OFFSet Command Format :TRIGger:FR:DATA:OFFSet <offset> :TRIGger:FR:DATA:OFFSet? Functional Description To set the DATA byte bias for the FlexRay trigger. When using this command, it is enabled by default. <offset>: Byte bias, ranging from 0-253.
Page 139
Programming Manual MSO3000HD Series :TRIGger:AUDio:ORDer? Functional Description To set or query the byte order for the AUDIO trigger. LSB: Least significant bit; MSB: Most significant bit. Return Format The query returns {LSB|MSB}. For Example :TRIGger:AUDio:ORDer LSB Set the byte order to “LSB”.
Page 140
Programming Manual MSO3000HD Series or 4. <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns the trigger source {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. For Example :TRIGger:AUDio:WSELect:SOURce CHANnel1 Set the trigger source as Channel 1. :TRIGger:AUDio:WSELect:SOURce? The query returns “CHANnel1.”...
Page 141
Programming Manual MSO3000HD Series Return Format The query returns the trigger source {CHANnel1 | CHANnel2| CHANnel3| CHANnel4 | <Dx>}. For Example :TRIGger:AUDio:FSYNc:SOURce CHANnel1 Set the trigger source as Channel 1. :TRIGger:AUDio:FSYNc:SOURce? The query returns “CHANnel1.” :TRIGger:AUDio:BCLock:LEVel Command Format ...
Page 142
Programming Manual MSO3000HD Series :TRIGger:AUDio:DATA:LEVel Command Format :TRIGger:AUDio:DATA:LEVel <level> :TRIGger:AUDio:DATA:LEVel? Functional Description To set or query the trigger threshold for the bit data. <level>: Threshold value Return Format The query returns the threshold in scientific notation. The unit conforms to the current amplitude unit.
Page 143
Programming Manual MSO3000HD Series “NEGative (Falling edge).” Return Format The query returns the trigger edge type { POSitive | NEGative }. For Example :TRIGger:AUDio:BCLock:POLarity POS Set the edge type of bit clock to “POSitive (Rising edge)”. :TRIGger:AUDio:BCLock:POLarity? The query returns “POSitive.”...
Page 144
Programming Manual MSO3000HD Series :TRIGger:AUDio:FSYNc:POLarity Command Format :TRIGger:AUDio:FSYNc:POLarity {POSitive|NEGative} :TRIGger:AUDio:FSYNc:POLarity? Functional Description To set or query the polarity of frame sync in TDM format to “POSitive (Rising edge)” or “NEGative (Falling edge).” Return Format The query returns the trigger edge type { POSitive | NEGative }.
Page 145
Programming Manual MSO3000HD Series right-justified formats, and in data trigger mode. { LEFT | RIGHt | ANY }: represents left channel, right channel, and either channel, respectively. Return Format The query returns { LEFT | RIGHt | ANY }.
Page 146
Programming Manual MSO3000HD Series The query returns the data string in binary format. For Example :TRIGger:AUDio:DATA "X00X00X1" Set the data value to “X00X00X1”. :TRIGger:AUDio:DATA? The query returns “X00X00X1”. :TRIGger:AUDio:TDM:TYPe Command Format :TRIGger:AUDio:TDM:TYPe { FSYNc | DATA | CDATA }...
Page 147
Programming Manual MSO3000HD Series :TRIGger:AUDio:TDM:NCHannel? Functional Description To set or query the channel number of each frame for the AUDIO trigger in TDM format. <val>: Channel number, ranging from 2-64. Return Format The query returns the data length as an integer.
Page 148
Programming Manual MSO3000HD Series :TRIGger:AUDio:TDM:CHANnel 2 Set the channel to 2. :TRIGger:AUDio:TDM:CHANnel? The query returns 2. :TRIGger:AUDio:TDM:DLENgth Command Format :TRIGger:AUDio:TDM:DLENgth <len> :TRIGger:AUDio:TDM:DLENgth? Functional Description To set or query the data bit length of each channel for the AUDIO trigger in TDM format, and in channel and data trigger mode.
Page 149
Programming Manual MSO3000HD Series 1553B Triggering (Option) :TRIGger:M1553:SOURce Command Format :TRIGger:M1553:SOURce <source> :TRIGger:M1553:SOURce? Functional Description To set or query the trigger source. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 150
Programming Manual MSO3000HD Series Functional Description To set or query the high threshold value. <level>: High threshold value Return Format The query returns low threshold in scientific notation. The unit conforms to the current amplitude unit. For Example ...
Page 151
Programming Manual MSO3000HD Series :TRIGger:M1553:TYPe Command Format :TRIGger:M1553:TYPe {SYNC|COMMand|STATus|DATA|ERRor} :TRIGger:M1553:TYPe? Functional Description To set or query the trigger type for the 1553B trigger. {SYNC|COMMand|STATus|DATA|ERRor}: represents sycn, command, status, data, and error triggers pectively. Return Format The query returns {SYNC|COMMand|STATus|DATA|ERRor}.
Page 152
Programming Manual MSO3000HD Series Return Format The query returns the data string in binary format. For Example :TRIGger:M1553:TADDress "X00X00X1" Set the data value to “X00X00X1”. :TRIGger:M1553:TADDress? The query returns “X00X00X1”. :TRIGger:M1553:COMMand:TR Command Format :TRIGger:M1553:COMMand:TR {X|0|1} :TRIGger:M1553:COMMand:TR? Functional Description ...
Page 153
Programming Manual MSO3000HD Series :TRIGger:M1553:COMMand:WCNT <data> :TRIGger:M1553:COMMand:WCNT? Functional Description To set or query the word count for the command trigger. <data>: The parameter is in binary format, where the values can be 0, 1, or X. Here, X represents uncertainty.
Page 154
Programming Manual MSO3000HD Series :TRIGger:M1553:STATus:INSTr? The query returns “X”. :TRIGger:M1553:STATus:ASK Command Format :TRIGger:M1553:STATus:ASK {X|0|1} :TRIGger:M1553:STATus:ASK? Functional Description To set or query the service request bit for the status trigger. Return Format The query returns {X|0|1}. For Example ...
Page 155
Programming Manual MSO3000HD Series For Example :TRIGger:M1553:STATus:BUSY X Set the busy bit to “X”. :TRIGger:M1553:STATus:BUSY? The query returns “X”. :TRIGger:M1553:STATus:SF Command Format :TRIGger:M1553:STATus:SF {X|0|1} :TRIGger:M1553:STATus:SF? Functional Description To set or query the system indicating bit for the status trigger.
Page 156
Programming Manual MSO3000HD Series Return Format The query returns {X|0|1}. For Example :TRIGger:M1553:STATus:TF X Set terminal indicaiting bit to “X”. :TRIGger:M1553:STATus:TF? The query returns “X”. :TRIGger:MANC:BIT Command Format :TRIGger:MANC:BIT <value> :TRIGger:MANC:BIT? Functional Description To set or query the bit value for the Manchester data trigger.
Page 157
Programming Manual MSO3000HD Series :TRIGger:M1553:ERRor? Functional Description To set or query the error type for the error trigger. {PARity|SYNC|MANChester|NCData}: represents the parity check, sync, Manchester, and non-continuous data, respectively. Return Format The query returns {PARity|SYNC|MANChester|NCData}. For Example ...
Page 158
Programming Manual MSO3000HD Series <level>: Trigger level value Return Format The query returns the trigger level value in scientific notation. The unit conforms to the current amplitude unit. For Example :TRIGger:MANC:LEVel 2 Set the trigger level to 2 V.
Page 159
Programming Manual MSO3000HD Series :TRIGger:MANC:BAUDrate Command Format :TRIGger:MANC:BAUDrate <baud rate> :TRIGger:MANC:BAUDrate? Functional Description To set or query the signal baud rate for the Manchester trigger. <baud rate>: Baud rate, ranging from 1, 200 to 250, 000 bps. Return Format ...
Page 160
Programming Manual MSO3000HD Series The query returns the data length as an integer. For Example :TRIGger:MANC:STARt 4 Set the frame start bit to 4. :TRIGger:MANC:STARt? The query returns 4. :TRIGger:MANC:SYNC Command Format :TRIGger:MANC:SYNC <val> :TRIGger:MANC:SYNC? Functional Description ...
Page 161
Programming Manual MSO3000HD Series :TRIGger:MANC:DLENgth? Functional Description To set or query the data length for the Manchester trigger. <val>: Data length Return Format The query returns the data length as an integer. For Example :TRIGger:MANC:DLENgth 4 Set the data length to 4.
Page 162
Programming Manual MSO3000HD Series :TRIGger:MANC:MID1? The query returns 4. :TRIGger:MANC:MID2 Command Format :TRIGger:MANC:MID2 <val> :TRIGger:MANC:MID2? Functional Description To set or query the middle field 2 for the Manchester trigger. <val>: Middle field 2 Return Format The query returns the data length as an integer.
Page 163
Programming Manual MSO3000HD Series <val>: Trailer field Return Format The query returns the data length as an integer. For Example :TRIGger:MANC:TAIL 4 Set the trailer field to 4. :TRIGger:MANC:TAIL? The query returns 4. :TRIGger:MANC:INTerval Command Format :TRIGger:MANC:INTerval <val>...
Page 164
Programming Manual MSO3000HD Series :TRIGger:MANC:QUALifier SOF Set the trigger condition for the Manchester trigger to “SOF”. :TRIGger:MANC:QUALifier? The query returns “SOF”. :TRIGger:MANC:DATA Command Format :TRIGger:MANC:DATA <data> :TRIGger:MANC:DATA? Functional Description To set or query the data for the Manchester trigger in header, trailer, and data fields.
Page 165
Programming Manual MSO3000HD Series :TRIGger:SENT:LEVel Command Format :TRIGger:SENT:LEVel <level> :TRIGger:SENT:LEVel? Functional Description To set or query the trigger level value. <level>: Trigger level value Return Format The query returns the trigger level value in scientific notation. The unit conforms to the current amplitude unit.
Page 166
Programming Manual MSO3000HD Series The query returns the clock period in scientific notation, with the unit “s.” For Example :TRIGger:SENT:CPERiod 0.000002 Set the clock period to 2 µs. :TRIGger:SENT:CPERiod? The query returns “2.000000e-06”. :TRIGger:SENT:TOLerance Command Format :TRIGger:SENT:TOLerance <val>...
Page 167
Programming Manual MSO3000HD Series :TRIGger:SENT:PAUS? Functional Description To set or query the pause mode for the SENT trigger: ON or OFF. Return Format The query returns {ON|OFF}. For Example :TRIGger:SENT:PAUSe ON Set the pause mode to “ON”.
Page 168
Programming Manual MSO3000HD Series :TRIGger:SENT:FAST:TYPe? The query returns “SYNC”. :TRIGger:SENT:SLOW:TYPe Command Format :TRIGger:SENT:SLOW:TYPe {SYNC|ID|DATA|CRC|IDData|SID|SDATA|SCRC|SIDD|CERRor} :TRIGger:SENT:SLOW:TYPe? Functional Description To set or query the trigger type for the SENT trigger in slow mode. {SYNC|ID|DATA|CRC|IDData|SID|SDATA|SCRC|SIDD|CERRor}: represents “Sync, Short ID, Short data, Short CRC, Short ID and data, Enhanced ID, Enhanced data, Enhanced CRC, Enhanced ID and data, and Slow-channel CRC error”...
Page 169
Programming Manual MSO3000HD Series :TRIGger:SENT:FAST:DISPlay? Functional Description To set or query the data field for the SENT trigger in data, status and data, and status, data and CRC triggers, and in fast mode. {FAST|DATA}: represents the fast channel and 6 data, respectively.
Page 170
Programming Manual MSO3000HD Series uncertainty. The range of values is 0-2^n-1, where n is 8. Return Format The query returns the data string in binary format. For Example :TRIGger:SENT:FAST:STATus "X00X00X1" Set the data value to “X00X00X1”. :TRIGger:SENT:FAST:STATus? The query returns “X00X00X1”.
Page 171
Programming Manual MSO3000HD Series :TRIGger:SENT:SLOW:ID "001000X1" Set the data value to “001000X1”. :TRIGger:SENT:SLOW:ID? The query returns “001000X1”. :TRIGger:SENT:SLOW:DATA Command Format :TRIGger:SENT:SLOW:DATA <data> :TRIGger:SENT:SLOW:DATA? Functional Description To set or query the data for the SENT trigger in short data, short ID and data, enhanced data, and enhanced ID and data triggers, and in slow mode.
Page 172
Programming Manual MSO3000HD Series Arinc429 Triggering (Option) :TRIGger:A429:SOURce Command Format :TRIGger:A429:SOURce <source> :TRIGger:A429:SOURce? Functional Description To set or query the trigger source. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 173
Programming Manual MSO3000HD Series Functional Description To set or query the high threshold value. <level>: High threshold value Return Format The query returns low threshold in scientific notation. The unit conforms to the current amplitude unit. For Example ...
Page 174
Programming Manual MSO3000HD Series For Example :TRIGger:A429:TYPe SOF Set the trigger type to “SOF”. :TRIGger:A429:TYPe? The query returns “SOF”. :TRIGger:A429:MARK Command Format :TRIGger:A429:MARK <data> :TRIGger:A429:MARK? Functional Description To set or query the marker data for the Arinc429 trigger in the trigger conditions of “Marker”...
Programming Manual MSO3000HD Series :TRIGger:A429:SSM Command Format :TRIGger:A429:SSM <data> :TRIGger:A429:SSM? Functional Description To set or query the SSM data for the Arinc429 trigger in the trigger conditions of “SSM” or “Marker and Bit”. <data>: The parameter is in binary format, where the values can be 0, 1, or X. Here, X represents uncertainty.
Page 176
Programming Manual MSO3000HD Series :CURSor:MEASure Command Format :CURSor:MEASure {{1 | ON} | {0 | OFF}} :CURSor:MEASure? Functional Description To switch the cursor measurement to ON or OFF. Return Format The query returns the swtich state of the cursor measurement: 1 indicates that the cursor measurement is enabled, while 0 indicates that the cursor measurement is disabled.
Page 177
Programming Manual MSO3000HD Series (Independent)”. Return Format The query returns { TRACk | INDependent }. For Example :CURSor:MODe TRACk Set the cursor mode to “TRACk”. :CURSor:MODe? The query returns “TRACk”. :CURSor:X:MODe Command Format :CURSor:X:MODe { POSition | DELay }...
Page 178
Programming Manual MSO3000HD Series <source> represents the source of cursor measurement: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}. Return Format The query returns whether the source of cursor measurement is enabled: 0 indicates that the cursor measurement is disabled, while 1 indicates that the cursor measurement is enabled.
Page 179
Programming Manual MSO3000HD Series Functional Description To set or query the horizontal position of cursor line B. <value>: Horizontal position, where the range of horizontal position is determined by the current horizontal time base and horizontal offset. <source> represents the source of cursor measurement: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}.
Page 180
Programming Manual MSO3000HD Series To set or query the vertical position of cursor line B. <value>: Vertical position, where the range of vertical position is determined by the current vertical time base and vertical offset. <source> represents the source of cursor measurement: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|MATH1|MATH2|MATH3|MATH4}.
Page 181
Programming Manual MSO3000HD Series Return Format The query returns the X value at Cursor B in scientific notation. For Example :CURSor:BXV? CHANnel1 The query returns the X value at cursor B for Channel 1 as “2.000000e-02”. :CURSor:AYValue? Command Format ...
Page 182
Programming Manual MSO3000HD Series In voltage or screen measurement mode, the Y value at cursor line B in the YT coordinate system. Return Format The query returns the Y value at Cursor B in scientific notation. For Example ...
Page 183
Programming Manual MSO3000HD Series The query returns the X difference “∆Y” of Channel 1 as “2.000000e-01”. :CURSor? Command Format :CURSor? Functional Description The query returns all measurement parameters at once in CSV format. The format conforms the Data Block Format Return Format ...
Programming Manual MSO3000HD Series For Example :CURSor:XY:CAX 0.1 Set the horizontal position of cursor A to 100 mV. :CURSor:XY:CAX? The query returns “1.000000e-01”. :CURSor:XY:CBX Command Format :CURSor:XY:CBX <value> :CURSor:XY:CBX? Functional Description To set or query the horizontal position of cursor line B in the XY coordinate system.
Page 185
Programming Manual MSO3000HD Series :CURSor:XY:CBY Command Format :CURSor:XY:CBY <value> :CURSor:XY:CBY? Functional Description To set or query the vertical position of cursor line B in the XY coordinate system. <value>: Horizontal position, where the range determined by the vertical range and vertical offset of the corresponding channel’s Y-axis.
Page 186
Programming Manual MSO3000HD Series To query the X value at cursor B. The unit is determined by the vertical unit of the corresponding channel's X-axis. In time measurement mode, the voltage at the intersection of cursor line B and the waveform of the corresponding channel in the YT coordinate system.
Page 187
Programming Manual MSO3000HD Series In voltage or screen measurement mode, the X value at cursor line B in the XY coordinate system. Return Format The query returns the Y value at Cursor line B in scientific notation. For Example ...
Page 188
Programming Manual MSO3000HD Series For Example :CURSor:XY:YDEL? The query returns the difference “∆Y” as “2.000000e-01”. :CURSor:XY:A:RADius? Command Format :CURSor:XY:A:RADius? Functional Description To query the radius of the polar coordinate system formed by the voltage values of source X and source Y at cursor A.
Page 189
Programming Manual MSO3000HD Series source X and source Y at cursor A and cursor B, respectively. Return Format The query returns the radius of the polar coordinate system in scientific notation, with the unit “V”. For Example :CURSor:XY:DELTa:RADius? The query returns the radius of the polar coordinate system as “2.000000e+00”.
Page 190
Programming Manual MSO3000HD Series :CURSor:XY:DELTa:ANGLe? Command Format :CURSor:XY:DELTa:ANGLe? Functional Description To query the angle of the polar coordinate system formed by the voltage difference values of source X and source Y at cursor A and cursor B, respectively.
Page 191
Programming Manual MSO3000HD Series :CURSor:XY:DELta:PRODuct? Command Format :CURSor:XY:DELTa:PRODuct? Functional Description To query the product of the voltage values of source X and source Y at cursor A and cursor B, respectivly. Return Format The query returns the product in scientific notation, with the unit “VV”.
Programming Manual MSO3000HD Series Functional Description To query the ratio of the voltage values of source Y and source X at cursor A and cursor B, respectivly. Return Format The query returns the ratio in scientific notation, with the unit “VV”.
Page 193
Programming Manual MSO3000HD Series To load the waveforms into the reference channel or to load setting data into the oscilloscope. <filename> represents the filename, which must be a character string enclosed in double quotation marks, for example, “test.bsv”. A file name with a *.dat extension represents waveform data to be loaded into the reference channel, matching the oscilloscope’s suffix name.
Page 194
Programming Manual MSO3000HD Series :FILE:SAVe <filename>[,<source>][,<disk>] Functional Description To save the channel’s waveform or setting data to a file. <filename> represents the filename, which must be a character string enclosed in double quotation marks, for example, “test.bsv”. A file name with a *.dat or *.csv extension represents a channel’s waveform to be saved into the file, matching the oscilloscope’s suffix name.
Programming Manual MSO3000HD Series Save the Bode plot to the file “001.bode.csv” on a USB flash drive. FILE:SAVe "test.png", UDISK Save the picture data in the format “.png” to the file “001.bode.csv” on a USB flash drive. Notes: When the oscilloscope cannot automatically define the file name and suffix, the file names for internal storage settings must be in the format “system-set-up01.set”...
Page 196
Programming Manual MSO3000HD Series :RECord:FAST ON Enable quick waveform recording. :RECord:FAST? The query returns 1, indicating that the quick waveform recording is enabled. :RECord:STARt Command Format :RECord:STARt { {1|ON} | {0|OFF} } :RECord:STARt? Functional Description To start (ON) or stop (OFF) the waveform recording.
Page 197
Programming Manual MSO3000HD Series To set or query the frame for waveform recording. Return Format The query returns the waveform recording frame as an integer. For Example :RECord:FRAMes 400 Set the waveform recording frame as 400. :RECord:FRAMes? The query returns 400.
Page 198
Programming Manual MSO3000HD Series :RECord:PLAY:STARt Command Format :RECord:PLAY:STARt <value> :RECord:PLAY:STARt? Functional Description To set or query the start frame of playback for waveform recording. Return Format The query returns the start frame of playback for waveform recording as an integer.
Page 199
Programming Manual MSO3000HD Series For Example :RECord:PLAY:MODe LOOP Set the playback mode to “LOOP”. :RECord:PLAY:MODe? The query returns “LOOP”. :RECord:PLAY:DIRection Command Format :RECord:PLAY:DIRection {FORWard|BACKward} :RECord:PLAY:DIRection? Functional Description To set or query the playback direction for waveform recording.
Page 200
Programming Manual MSO3000HD Series Functional Description To set the playback interval for waveform recording. Return Format The query returns the playback interval in scientific notation, with the unit “s.” For Example :RECord:PLAY:INTerval 20ms Set the playback interval to 20 ms.
Page 201
Programming Manual MSO3000HD Series :RECord:PLAY:BACK Functional Description To set the playback to the previous frame of waveform recording. For Example :RECord:PLAY:BACK Set the playback to the previous frame of waveform recording. DVM Command This command is used to set the digital voltmeter function of the oscilloscope.
Page 202
Programming Manual MSO3000HD Series :DVM:MODe Command Format :DVM:MODe {ACRMs|DC|DCRMs} :DVM:MODe? Functional Description To set or query the mode for the digital voltmeter. ACRMs: Displays the RMS (Root Mean Square) value of all sampled data with removed DC components.
Page 203
Programming Manual MSO3000HD Series Return Format The query returns the beep state: 0 indicates OFF, while 1 indicates ON. For Example :DVM:BEEP ON Enable the beep of the digital voltmeter. :DVM:BEEP? The query returns 1, indicating that the beep of the digital voltmeter is enabled.
Page 204
Programming Manual MSO3000HD Series :DVM:LOWer <lower> :DVM:LOWer? Functional Description To set the lower limit of the voltage for the digital voltmeter. Return Format The query returns the current lower limit of the voltage, with the unit “V”. For Example ...
Page 205
Programming Manual MSO3000HD Series voltmeter. :DVM:STATistic:HISTogram:RESult? Command Format :DVM:STATistic:HISTogram:RESult? Functional Description To obtain the histogram statistical results of the digital voltmeter, sorted by the left boundary value, right boundary value, and probability percentage. The measurement-related settings also apply to this function.
Page 206
Programming Manual MSO3000HD Series COUNter Command This command is used to set the frequency meter of the oscilloscope. :COUNter:ENABle Command Format :COUNter:ENABle { {1|ON} | {0|OFF} } :COUNter:ENABle? Functional Description To set or query the state of the frequency meter: ON or OFF.
Page 207
Programming Manual MSO3000HD Series Functional Description To set or query the mode for the frequency meter. FREQuency: Frequency measurement PERiod: Period measurement TOTalize: Accumulation measurement Return Format The query returns {FREQuency|PERiod|TOTalize}. For Example :COUNter:MODe FREQuency Set the mode for the frequency meter to “FREQuency”.
Page 208
Programming Manual MSO3000HD Series :COUNter:EFFective:DIGits 3 Set the effective digit to 3. :COUNter:EFFective:DIGits? The query returns 3. :COUNter:CURRent? Command Format :COUNter:CURRent? Functional Description To query the currently measured value for the frequency meter. Return Format The query returns the currently measured value of the frequency meter in scientific notation, using standard units.
Page 209
Programming Manual MSO3000HD Series value, right boundary value, and probability percentage. The measurement-related settings also apply to this function. Return Format The query returns the histogram statistical results arranged in CSV format in scientific notation. The returned data conforms to the...
Page 210
Programming Manual MSO3000HD Series PF Command This command is used to set the Pass/Fail test function of the oscilloscope. :PF:ENABle Command Format :PF:ENABle { {1|ON} | {0|OFF} } :PF:ENABle? Functional Description To set or query the state of the Pass/Fail test function: ON or OFF.
Page 211
Programming Manual MSO3000HD Series Return Format The query returns {RUN|STOP}. For Example :PF:OPERate RUN Start the Pass/Fail test. :PF:OPERate? The query returns “RUN”. :PF:RESet Command Format :PF:RESet Functional Description To reset the frames, failed frames, and total frames that have passed through the Pass/Fail test.
Page 212
Programming Manual MSO3000HD Series For Example :PF:OUTPut:QUALifier PASS Set the output condition for the Pass/Fail test to “PASS”. :PF:OUTPut:QUALifier? The query returns “PASS”. :PF:OUTPut:POLarity Command Format :PF:OUTPut:POLarity {POSitive | NEGative} :PF:OUTPut:POLarity? Functional Description To set or query the output polarity for the Pass/Fail test to “POSitive (Positive pulse)” or “NEGative (Negative pulse)”.
Page 213
Programming Manual MSO3000HD Series Functional Description To set or query the stop type for the Pass/Fail test. PCOUNT represents the pass count; FCOUNT represents the failed count. Return Format The query returns {PCOUNT|FCOUNT}. For Example :PF:STOP:TYPe PCOUNT Set the stop type for the Pass/Fail test to “PCOUNT”.
Page 214
Programming Manual MSO3000HD Series :PF:STOP:THReshold? The query returns 100. :PF:SCReen Command Format :PF:SCReen { {1|ON} | {0|OFF} } :PF:SCReen? Functional Description To set or query whether the auto-save screenshot function is ON or OFF during Pass/Fail test. Return Format ...
Page 215
Programming Manual MSO3000HD Series :PF:TEMPlate:CREate Functional Description To set the current horizontal and vertical adjustments for creating the Pass/Fail test rules. For Example :PF:TEMPlate:CREate Create the Pass/Fail test rules. :PF:TEMPlate:LOAD Command Format :PF:TEMPlate:LOAD <filepath> Functional Description ...
Page 216
Programming Manual MSO3000HD Series the different oscilloscopes. Return Format The query returns the horizontal tolerance set by the template as an integer. For Example :PF:TEMPlate:X 50 Set the horizontal tolerance set by the template to 50. :PF:TEMPlate:X? The query returns 50.
Page 217
Programming Manual MSO3000HD Series ACQuire Command This command is used to set the acquisition mode for the oscilloscope. :ACQuire:TYPe Command Format :ACQuire:TYPe {NORMal | AVERage | PEAKdetect | HRESolution | ENHanced } :ACQuire:TYPe? Functional Description To set the acquisition mode for the oscilloscope to “NORMal (Normal)”, “AVERage (Average)”, “PEAKdetect (Peak)”, “HRESolution (High resolution)”, or | ENHanced.
Page 218
Programming Manual MSO3000HD Series Functional Description To set the storage depth mode, which is automatically adjusted to suit different oscilloscopes. Return Format The query returns { AUTO | 25K | 250K | 500K | 5M | 50M | 100M | MAX}.
Programming Manual MSO3000HD Series DISPlay Command This command is used to set or query the display function or data of the oscilloscope. :DISPlay:DATA? Command Format :DISPlay:DATA? [<format>] Functional Description To query the picture data in the corresponding picture format on the oscilloscope’s current screen.
Page 220
Programming Manual MSO3000HD Series Functional Description To set the display format of the grid. Return Format The query returns {FULL|HALF|CROSS|NONE}. For Example :DISPlay:GRID CROSS Set the display format of the grid to “CROSS” to hide the divide grids.
Page 221
Programming Manual MSO3000HD Series :DISPlay:GRID:BRIGhtness Command Format :DISPlay:GRID:BRIGhtness <count> :DISPlay:GRID:BRIGhtness? Functional Description To set the grid brightness, where <count> can take values from 0-100, the larger the number, the brighter the grid. Return Format The query returns the current grid brightness.
Page 222
Programming Manual MSO3000HD Series The query returns the screen backlight brightness. For Example :DISPlay:BACKlight:BRIGhtness 50 Set the screen backlight brightness to 50%. :DISPlay:BACKlight:BRIGhtness? The query returns 50. :DISPlay:WINDow:TRANsparent Command Format :DISPlay:WINDow:TRANsparent <count> :DISPlay:WINDow:TRANsparent? Functional Description To set the transparency of UI window, where <count> can take values from 0-100, the larger the number, the brighter the screen.
Programming Manual MSO3000HD Series To clear and refresh the waveform on the oscilloscope’s screen. If there is a reference waveform, it will also be cleared and refreshed. WAVeform Command This command is used to read the waveform data and the related parameters on the oscilloscope’s screen.
Page 224
Programming Manual MSO3000HD Series channel, it returns the high and low level state data of all digital channel signals in four bytes, with each digital channel occupying 1 bit, arranged according to the channel serial number from smallest to largest.
Page 225
Programming Manual MSO3000HD Series Functional Description To set or query the stop position for reading waveform data. <stop>: The stop position for reading waveform data. When the waveform mode is data displayed on the screen, the reading range is from 1 to the number of waveform points currently displayed on the screen.
Page 226
Programming Manual MSO3000HD Series Functional Description To set or query the source of waveform data to be queried. If this command is not set, it represents querying the waveform data of the current channel. Setting waveform data source will reset the start point, stop point, and waveform point parameters.
Page 227
Programming Manual MSO3000HD Series together account for four bytes. Return Format The query returns the waveform data, with the format specified by the command , conforming to the :WAVeform:FORMat Data Block Format For Example The process for obtaining waveform data from the specified analog channel is as follows.
Page 228
Programming Manual MSO3000HD Series When reading internal data in batches, each read data comes from a specific area in the internal storage, and the waveform data between two adjacent pieces is continuous. Each piece of data conforms to the Data Block Format...
Page 229
Programming Manual MSO3000HD Series When the waveform mode is data displayed on the screen, XORigin = TimeScale*5. When the waveform mode is waveform data in internal storage, XORigin = (SamplePoints/SampleRate)/2. Return Format The query returns the time, with the unit “s.”...
Page 230
Programming Manual MSO3000HD Series Functional Description To query the vertical offset relative to the vertical reference position in the Y direction for the currently selected channel. YORigin = VerticalOffset/YINCrement. Return Format The query returns the vertical offset as an integer.
Page 231
Programming Manual MSO3000HD Series Yor: The Y direction relative to zero position of YREF. Yref: The reference value and ADC Y of channel’s zero level in the Y direction. Return Format The query returns waveform parameters where integer data is represented as integers and real numeric data is represented in scientific notation.
Page 232
Programming Manual MSO3000HD Series Functional Description To select the bus protocol type on the oscilloscope. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. RS232 (UART/RS232), I2C (I2C bus), SPI (SPI bus), CAN (CAN bus), CANFD (CAN-FD bus), LIN (LIN bus), FR (FlexRay bus), AUDio (AUDIO bus), M1553 (MIL-STD-1553B bus),...
Page 233
Programming Manual MSO3000HD Series For Example :BUS1:EVENt ON Enable the bus decoding event. :BUS1:EVENt? The query returns 1. :BUS<n>:DATA? Command Format :BUS<n>:DATA? Functional Description To read the data from the decoding event table on the oscilloscope. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Page 234
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <value>: Bus decoding line position, stepping by 6, ranging from [-160,160]. The center of the screen is considered zero, with positive values above and negative values below.
Page 235
Programming Manual MSO3000HD Series <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns the source {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. For Example :BUS1:RS232:SOURce CHANnel1 Set the source to Channel 1. :BUS1:RS232:SOURce? The query returns “CHANnel1.” :BUS<n>:RS232:LEVel Command Format :BUS<n>:RS232:LEVel <level> :BUS<n>:RS232:LEVel? Functional Description ...
Page 236
Programming Manual MSO3000HD Series :BUS<n>:RS232:ORDer Command Format :BUS<n>:RS232:ORDer {LSB|MSB} :BUS<n>:RS232:ORDer? Functional Description To set or query the byte order for the RS232 bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. LSB: Least significant bit; MSB: Most significant bit.
Page 237
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. Return Format The query returns {5|6|7|8}. For Example :BUS1:RS232:WIDTh 6 Set the data bit width for the RS232 bus to 6.
Page 238
Programming Manual MSO3000HD Series :BUS<n>:I2C:SDA Command Format :BUS<n>:I2C:SDA <source> :BUS<n>:I2C:SDA? Functional Description To set or query the data source. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 239
Programming Manual MSO3000HD Series :BUS<n>:I2C:DLEVel Command Format :BUS<n>:I2C:DLEVel <level> :BUS<n>:I2C:DLEVel? Functional Description To set or query the level value of the data line. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <level>: Level value Return Format ...
Page 240
Programming Manual MSO3000HD Series Functional Description To set or query the address bit width for the I2C bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. Return Format The query returns {7 | 10}.
Page 241
Programming Manual MSO3000HD Series <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4. <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns the source {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. For Example ...
Page 242
Programming Manual MSO3000HD Series <level>: Level value Return Format The query returns the level value in scientific notation. The query returns the level value in scientific notation, with the unit matching the current amplitude unit. For Example :BUS1:SPI:CLOCk:LEVel 2 Set the level value of the clock line to 2 V.
Page 243
Programming Manual MSO3000HD Series For Example :BUS1:SPI:CS:LEVel 2 Set the level value of the chip select line to 2 V. :BUS1:SPI:CS:LEVel? The query returns “2.000000e+00.” :BUS<n>:SPI:CLOCk:POLarity Command Format :BUS<n>:SPI:CLOCk:POLarity {POSitive|NEGative} :BUS<n>:SPI:CLOCk:POLarity? Functional Description To set or query the polarity of the clock pulse to “POSitive (Positive)” or “NEGative (Negative) .”...
Page 244
Programming Manual MSO3000HD Series :BUS<n>:SPI:CS:POLarity? Functional Description To set or query the pulse polarity for the chip select line to “POSitive (Positive)” or “NEGative (Negative)”. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. Return Format ...
Page 245
Programming Manual MSO3000HD Series The query returns {LSB|MSB}. For Example :BUS1:SPI:ORDer LSB Set the byte order to “LSB”. :BUS1:SPI:ORDer? The query returns “LSB”. :BUS<n>:SPI:MODe Command Format :BUS<n>:SPI:MODe { CS | TIMeout } :BUS<n>:SPI:MODe? Functional Description To set or query the decoding mode for the SPI bus.
Page 246
Programming Manual MSO3000HD Series :BUS<n>:CAN:SOURce? Functional Description To set or query the source. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 247
Programming Manual MSO3000HD Series To set or query the signal type for the CAN bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. H: Actual CAN_H bus signal; L: Actual CAN_L bus signal. Return Format ...
Page 248
Programming Manual MSO3000HD Series <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns the source {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. For Example :BUS1:CANFD:SOURce CHANnel1 Set the source to Channel 1. :BUS1:CANFD:SOURce? The query returns “CHANnel1.” :BUS<n>:CANFD:LEVel Command Format :BUS<n>:CANFD:LEVel <level> :BUS<n>:CANFD:LEVel? Functional Description ...
Page 249
Programming Manual MSO3000HD Series :BUS1:CANFD:STYPe? The query returns “H”. :BUS<n>:CANFD:BAUDrate Command Format :BUS<n>:CANFD:BAUDrate <baud rate> :BUS<n>:CANFD:BAUDrate? Functional Description To set or query the signal baud rate for the CAN-FD bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Programming Manual MSO3000HD Series Functional Description To set or query the sampling position for the CAN-FD bus signal. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <position>: Sampling position, ranging from 30-90, with the unit “%”.
Page 251
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <level>: Level value Return Format The query returns the level value in scientific notation. The query returns the level value in scientific notation, with the unit matching the current amplitude unit.
Page 252
Programming Manual MSO3000HD Series For Example :BUS1:LIN:VERSion VER1 Set the version to “VER1”. :BUS1:LIN:VERSion? The query returns “VER1”. :BUS<n>:LIN:BAUDrate Command Format :BUS<n>:LIN:BAUDrate <baud rate> :BUS<n>:LIN:BAUDrate? Functional Description To set or query the baud rate for the LIN bus signal.
Page 253
Programming Manual MSO3000HD Series :BUS<n>:LIN:LENGth:CTL { {1|ON} | {0|OFF} } :BUS<n>:LIN:LENGth:CTL? Functional Description To set or query whether the data length should be set for the LIN bus: ON indicates yes, while OFF indicates no. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Page 254
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4. <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}.
Page 255
Programming Manual MSO3000HD Series The query returns the bus polarity {BP|BM}. For Example :BUS1:FR:POLarity BP Set the polarity for the FlexRay bus to “Bdiff” or “BP”. :BUS1:FR:POLarity? The query returns “BP”. :BUS<n>:FR:CHANnel Command Format :BUS<n>:FR:CHANnel {A | B} :BUS<n>:FR:CHANnel?
Programming Manual MSO3000HD Series AUDIO (Option) :BUS<n>:AUDio:FORMat Command Format :BUS<n>:AUDio:FORMat {STANdard|MSB|LSB|TDM} :BUS<n>:AUDio:FORMat? Functional Description To set or query the data format for the AUDIO bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Page 257
Programming Manual MSO3000HD Series Functional Description To set or query the source for the bit clock <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 258
Programming Manual MSO3000HD Series Functional Description To set or query the source for the data. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 259
Programming Manual MSO3000HD Series Functional Description To set or query the threshold for the bit clock. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <level>: Threshold value Return Format The query returns the threshold in scientific notation. The unit conforms to the current amplitude unit.
Page 260
Programming Manual MSO3000HD Series Return Format The query returns the threshold in scientific notation. The unit conforms to the current amplitude unit. For Example :BUS1:AUDio:DATA:LEVel 2 Set the threshold to 2 V. :BUS1:AUDio:DATA:LEVel? The query returns “2.000000e+00.” :BUS<n>:AUDio:FSYNc:LEVel Command Format ...
Page 261
Programming Manual MSO3000HD Series (Rising edge)”. :BUS1:AUDio:BCLock:POLarity? The query returns “POSitive.” :BUS<n>:AUDio:WSELect:POLarity Command Format :BUS<n>:AUDio:WSELect:POLarity {NORMal|INVert} :BUS<n>:AUDio:WSELect:POLarity? Functional Description To set or query the polarity of word selection for the AUDIO bus to “NORMal (Normal)” or “INVert (Invert)”.
Page 262
Programming Manual MSO3000HD Series Functional Description To set or query the polarity of the frame sync in TDM format to “POSitive (Rising edge)” or “NEGative (Falling edge).” <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Page 263
Programming Manual MSO3000HD Series The query returns the data length as an integer. For Example :BUS1:AUDio:TDM:CLOCk 4 Set the clock bit to 4. :BUS1:AUDio:TDM:CLOCk? The query returns 4. :BUS<n>:AUDio:TDM:NCHannel Command Format :BUS<n>:AUDio:TDM:NCHannel <val> :BUS<n>:AUDio:TDM:NCHannel? Functional Description To set or query the channel number of each frame in TDM format for the AUDIO bus.
Page 264
Programming Manual MSO3000HD Series :BUS<n>:AUDio:TDM:DELay Command Format :BUS<n>:AUDio:TDM:DELay <val> :BUS<n>:AUDio:TDM:DELay? Functional Description To set or query the bit delay in TDM format for the AUDIO bus. <val>: Bit delay, ranging from 0-31. Return Format The query returns the data length as an integer.
Page 265
Programming Manual MSO3000HD Series Functional Description To set or query the low threshold value. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <level>: Low threshold value Return Format The query returns low threshold in scientific notation. The unit conforms to the current amplitude unit.
Page 266
Programming Manual MSO3000HD Series The query returns {POSitive|NEGative}. For Example :BUS1:M1553:POLarity POS Set the polarity to “POSitive”. :BUS1:M1553:POLarity? The query returns “POSitive.” :BUS<n>:M1553:BLOCk Command Format :BUS<n>:M1553:BLOCk { DATA| DBLock } :BUS<n>:M1553:BLOCk? Functional Description To set or query the type of the block control.
Page 267
Programming Manual MSO3000HD Series Manchester (Option) :BUS<n>:MANC:SOURce Command Format :BUS<n>:MANC:SOURce <source> :BUS<n>:MANC:SOURce? Functional Description To set or query the source. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4.
Page 268
Programming Manual MSO3000HD Series :BUS<n>:MANC:ORDer Command Format :BUS<n>:MANC:ORDer {LSB|MSB} :BUS<n>:MANC:ORDer? Functional Description To set or query the byte order for the Manchester bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. LSB: Least significant bit; MSB: Most significant bit.
Page 269
Programming Manual MSO3000HD Series <baud rate>: Baud rate, ranging from 500 to10, 000, 000 bps. Return Format The query returns the baud rate as an integer. For Example :BUS1:MANC:BAUDrate 1200 Set the signal baud rate for the Manchester bus to 1.2 kbps.
Page 270
Programming Manual MSO3000HD Series :BUS<n>:MANC:SYNC Command Format :BUS<n>:MANC:SYNC <val> :BUS<n>:MANC:SYNC? Functional Description To set or query the sync field for the Manchester bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <val>: Sync field Return Format ...
Page 271
Programming Manual MSO3000HD Series <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <val>: Data length Return Format The query returns the data length as an integer. For Example :BUS1:MANC:DLENgth 4 Set the data length to 4.
Page 272
Programming Manual MSO3000HD Series :BUS1:MANC:MID1? The query returns 4. :BUS<n>:MANC:MID2 Command Format :BUS<n>:MANC:MID2 <val> :BUS<n>:MANC:MID2? Functional Description To set or query the middle field 2 for the Manchester bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Page 273
Programming Manual MSO3000HD Series Functional Description To set or query the trailer field for the Manchester bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <val>: Trailer field Return Format The query returns the data length as an integer.
Page 274
Programming Manual MSO3000HD Series or 4. <Dx>: Digital channel {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns the source {CHANnel1|CHANnel2|CHANnel3|CHANnel4|<Dx>}. For Example :BUS1:SENT:SOURce CHANnel1 Set the source to Channel 1. :BUS1:SENT:SOURce? The query returns “CHANnel1.” :BUS<n>:SENT:LEVel Command Format :BUS<n>:SENT:LEVel <level>...
Page 275
Programming Manual MSO3000HD Series :BUS1:SENT:MODe? The query returns “FAST”. :BUS<n>:SENT:CPERiod Command Format :BUS<n>:SENT:CPERiod <val> :BUS<n>:SENT:CPERiod? Functional Description To set or query the clock period for the SENT bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Page 276
Programming Manual MSO3000HD Series Functional Description To set or query the half-byte for the SENT bus. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively. <val>: Half-byte count Return Format The query returns the data length as an integer.
Page 277
Programming Manual MSO3000HD Series For Example :BUS1:SENT:FAST:DISPlay FAST Set the data field to “FAST”. :BUS1:SENT:FAST:DISPlay? The query returns “FAST”. Arinc429 (Option) :BUS<n>:A429:SOURce Command Format :BUS<n>:A429:SOURce <source> :BUS<n>:A429:SOURce? Functional Description To set or query the source. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Page 278
Programming Manual MSO3000HD Series :BUS1:A429:LOW:LEVel? The query returns “2.000000e+00.” :BUS<n>:A429:HIGH:LEVel Command Format :BUS<n>:A429:HIGH:LEVel <level> :BUS<n>:A429:HIGH:LEVel? Functional Description To set or query the high threshold value. <n>: {1|2|3|4} represents decoding 1, decoding 2, decoding 3, and decoding 4, respectively.
Page 279
Programming Manual MSO3000HD Series Channel Command To set the channel function of the built-in signal source. AWG<n>:OUTPut Command Format AWG<n>:OUTPut {{1 | ON} | {0 | OFF}} AWG<n>:OUTPut? Functional Description To switch the output of the specified channel to ON or OFF.
Page 280
Programming Manual MSO3000HD Series AWG<n>:LOAD Command Format AWG<n>:LOAD <resistance> AWG<n>:LOAD? Functional Description To set the output load for the specified channel. <resistance> represents the load resistance value, with the unit “Ω”. <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively.
Page 281
Programming Manual MSO3000HD Series AWG<n>:AMPLitude:UNIT {VPP | VRMS | DBM} AWG<n>:AMPLitude:UNIT? Functional Description To set or query the amplitude unit for the output of the specified channel. <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively.
Page 282
Programming Manual MSO3000HD Series maximum frequency allowed by the current waveform. <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively. Return Format The query returns the output frequency of the specified channel in scientific notation.
Page 283
Programming Manual MSO3000HD Series <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively. Return Format The query returns the DC offset of the specified channel in scientific notation. For Example ...
Page 284
Programming Manual MSO3000HD Series <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively. Return Format The query returns the low voltage value of the specified channel signal in scientific notation.
Page 285
Programming Manual MSO3000HD Series The query returns the pulse width value of the specified channel’s signal. AWG<n>:RAMP:SYMMetry Command Format AWG<n>:RAMP:SYMMetry <symmetry> AWG<n>:RAMP:SYMMetry? Functional Description To set the output symmetry of slope signal for the specified channel. < symmetry > represents the symmetry, with the unit “%”, ranging from 0-100.
Page 286
Programming Manual MSO3000HD Series AWG<n>:PULSe:FALL Command Format AWG<n>:PULSe:FALL <width> AWG<n>:PULSe:FALL? Functional Description To set the pulse width of the falling edge for the specified channel's signal pulse waveform. <width> represents pulse width, with the unit “s.” <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively.
Page 287
Programming Manual MSO3000HD Series AWG<n>:MODulate:FREQuency <freq> AWG<n>:MODulate:FREQuency? Functional Description To set the modulation frequency for the specified channel’s signal. <freq> represents the frequency, with the unit “Hz.” <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively.
Page 288
Programming Manual MSO3000HD Series AWG<n>:FM:FREQuency:DEV? Functional Description To set the frequency offset in FM mode for the specified channel. <freq> represents the frequency offset, with the unit “Hz”, ranging from 0 Hz- the current fundamental frequency. <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively.
Page 289
Programming Manual MSO3000HD Series <freq> represents frequency, with the unit “Hz.” <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively. Return Format The query returns the hopping frequency of the specified channel in scientific notation.
Page 290
Programming Manual MSO3000HD Series Return Format The query returns the start frequency in the sweep mode for the specified channel in scientific notation. For Example AWG1:SWEep:FREQuency:STARt 2000 Set the start frequency in the sweep mode fo AWG1 to 2 kHz.
Page 291
Programming Manual MSO3000HD Series respectively. Return Format The query returns the sweep time in the sweep mode for the specified channel in scientific notation. For Example AWG1:SWEep:TIMe 2 Set the sweep time for the AWG1 to 2s. AWG1:SWEep:TIMe? The query returns “2.000000e+000”.
Page 292
Programming Manual MSO3000HD Series <n>: AWG serial number, where n can take the value 1 or 2, representing AWG1 and AWG2, respectively. <filepath> represents the absolute file path of the file, which must be enclosed in double quotation marks as string data.
Page 293
Programming Manual MSO3000HD Series Functional Description To write the fundamental arbitrary wave, the maximum waveform data is 8k points. First, send this command first, and then send the arbitrary waveform file data to AWG. <arb file> represents the arbitrary wave file. This command only supports the data in .bsv format.
Page 294
Programming Manual MSO3000HD Series :LA:STATe? The query returns 1. :LA:ACTive Command Format :LA:ACTive {<Dx> | OFF} :LA:ACTive? Functional Description To set or query the currently activated channel. <Dx>: {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15}. Return Format The query returns the currently activated channel.
Page 295
Programming Manual MSO3000HD Series To switch the specified single digital channel to ON or OFF, or query the state of the specified single digital channel. <n>: An integer number from 1-16, representing 16 digital channels {D0|D1|D2|D3|D4|D5|D6|D7|D8|D9|D10|D11|D12|D13|D14|D15} Return Format The query returns 1 or 0.
Page 296
Programming Manual MSO3000HD Series The query returns 1 or 0. For Example :LA:POD1:DISPlay ON Enable POD1 (D0 to D7). :LA:POD1:DISPlay? The query returns 1. :LA:POD<n>:THReshold Command Format :LA:POD<n>:THReshold <threshold> :LA:POD<n>:THReshold? Functional Description To set or query the threshold for the specified default channel groups. The default unit is V.
Page 297
Programming Manual MSO3000HD Series :LA:SIZe Command Format :LA:SIZe {SMALl|LARGe|MEDium} :LA:SIZe? Functional Description To set or query the waveform size of the opened channel displayed on the screen. Return Format The query returns SMALl, LARGe, or MEDium. For Example ...
Page 298
Programming Manual MSO3000HD Series Functional Description To cancel the group setting of any one of the 16 digital channels, or to cancel the channel setting of any one of Group1-Group4. This command is only available for digital channels that have been grouped or to cancel the group setting of a customized channel group.
Page 299
Programming Manual MSO3000HD Series LA Bus This command is used to set LA bus data and serial decoding settings. The instrument can only function if equipped with this command. :LA:BUS<n>:DISPlay Command Format :LA:BUS<n>:DISPlay { {1|ON} | {0|OFF} } :LA:BUS<n>:DISPlay? Functional Description ...
Page 300
Programming Manual MSO3000HD Series :LA:BUS<n>:BASe {ASCII | BINary | HEX | DEC| WAV} :LA:BUS<n>:BASe? Functional Description To set the display format for the LA bus on the oscilloscope. <n>: Integer data {1|2} indicates the bus 1 or 2, respectively.
Page 301
Programming Manual MSO3000HD Series :LA:BUS<n>:SLOPe Command Format :LA:BUS<n>:SLOPe {POSitive|NEGative} :LA:BUS<n>:SLOPe? Functional Description To set the edge type of the clock channel when LA bus is sampling the data channel on the oscilloscope. <n>: Integer data {1|2} indicates the bus 1 or 2, respectively.
Page 302
Programming Manual MSO3000HD Series To set the bit sequence, which determines the data polarity for the LA bus on the oscilloscope. <n>: Integer data {1|2} indicates the bus 1 or 2, respectively. NEGative represents the bit sequence from high to low. POSitive represents the bit sequence from low to high.
Page 303
Programming Manual MSO3000HD Series :LA:BUS1:NRTime? The query returns “5.000000e-05”. BODe Command (Option) This command is used to set the Bode plot function. The instrument can only function if equipped with this command. :BODe:APPLy Command Format :BODe:APPLy {{1 | ON} | {0 | OFF}}...
Page 304
Programming Manual MSO3000HD Series :BODe:EVENt {{1 | ON} | {0 | OFF}} :BODe:EVENt? Functional Description To enable or disable the event list for the Bode plot. Return Format The query returns the event list status of Bode plot: 0 (disable) or 1 (enable).
Page 305
Programming Manual MSO3000HD Series Return Format The query returns { SINGle | CONTinue}. For Example :BODe:SWEep:MODe SINGle Set the sweep mode for the Bode plot to “SINGle (Single)”. :BODe:SWEep:MODe? The query returns “SINGle”. :BODe:SWEep:POINts Command Format :BODe:SWEep:POINts <points>...
Page 306
Programming Manual MSO3000HD Series :BODe:SWEep:FREQuency:END? Functional Description To set the stop frequency for the Bode plot on the oscilloscope. Return Format The query returns the stop frequency for the Bode plot on the oscilloscope, with the unit “Hz.”...
Page 307
Programming Manual MSO3000HD Series :BODe:AMPLitude1? The query returns “3.000000e-03”. :BODe:SOURce:OFFSet Command Format :BODe:SOURce:OFFSet <offset> :BODe:SOURce:OFFSet? Functional Description To set the DC offset of the source for the Bode plot on the oscilloscope. <offset>: Ranging from -1 V-1 V.
Page 308
Programming Manual MSO3000HD Series Functional Description To set the DUT input channel for the Bode plot on the oscilloscope. Return Format The query returns {CHANnel1| CHANnel2| CHANnel3| CHANnel4}. For Example :BODe:DUT:INPut CHANnel1 Set the DUT input channel for the Bode plot to Channel 1.
Page 309
Programming Manual MSO3000HD Series Functional Description To enable or disable the gain of Bode plot. Return Format The query returns the gain status of Bode plot: 0 (disable) or 1 (enable). For Example :BODe:GAIN ON Enable the gain of Bode plot.
Page 310
Programming Manual MSO3000HD Series :BODe:PHASe:SCALe Command Format :BODe:PHASe:SCALe <scale> :BODe:PHASe:SCALe? Functional Description Set the phase scale for Bode plot. Return Format The query returns the gain scale of Bode plot in scientific notation, with the unit “°.”...
Page 311
Programming Manual MSO3000HD Series :BODe:FREQuency:STARt? The query returns 1.000000e+03. :BODe:FREQuency:END Command Format :BODe:FREQuency:END <freq> :BODe:FREQuency:END? Functional Description To set the stop frequency for Bode plot. Return Format The query returns the stop frequency of Bode plot in scientific notation, with the unit “Hz.”...
Programming Manual MSO3000HD Series For Example :BODe:GAIN:MARGin? The query returns “52.11dB@114 Hz”. SEARch Command This command is used to control the search function on the oscilloscope. :SEARch:ENABle Command Format :SEARch:ENABle { {1|ON} | {0|OFF} } :SEARch:ENABle? Functional Description ...
Page 313
Programming Manual MSO3000HD Series {EDGe|PULSe|SLOPe|RUNT|WINDow|DELay|TIMeout|DURation|SHOLd|NEDGe|PATTern} represents EDGe (Edge), PULSe (Pulse width), SLOPe (Slope), RUNT (Runt), WINDow (Over-amplitude), DELay (Delay), TIMeout (Tiemout), DURation (Duration), SHOLd (Setup & Hold), NEDGe (Nth edge), and PATTern (Code pattern), respectively. Return Format The query returns the search type.
Programming Manual MSO3000HD Series 1,3.700000e-03, 2,8.784684e-03, 3,2.085694e-04, Edge Search :SEARch:EDGe:SOURce Command Format :SEARch:EDGe:SOURce <source> :SEARch:EDGe:SOURce? Functional Description To set or query the search source. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4|EXT|EXT5|ACLine}. Explanation: CHANnel<n> (Physical channel), EXT (External search), EXT5 (External search), ACLine (Mains supply).
Page 315
Programming Manual MSO3000HD Series :SEARch:EDGe:POLarity Command Format :SEARch:EDGe:POLarity {POSitive|NEGative|ANY} :SEARch:EDGe:POLarity? Functional Description To set the edge type for the edge search to “POSitive (Rising edge)”, “NEGative (Falling edge)”, or “ANY (Arbitrary edge).” Return Format The query returns the edge type of the search { POSitive | NEGative | ANY }.
Page 316
Programming Manual MSO3000HD Series To set or query the threshold. <level>: Threshold value Return Format The query returns the threshold in scientific notation. The unit conforms to the current amplitude unit. For Example :SEARch:PULse:LEVel 2 Set the threshold to 2 V.
Page 317
Programming Manual MSO3000HD Series :SEARch:PULSe:TIMe:UPPer Command Format :SEARch:PULSe:TIMe:UPPer <time> :SEARch:PULSe:TIMe:UPPer? Functional Description To set the upper limit time for the pulse width search. Return Format The query returns the upper limit of the current time, with the unit “s.”...
Programming Manual MSO3000HD Series Return Format The query returns the search source {CHANnel1|CHANnel2|CHANnel3|CHANnel4}. For Example :SEARch:SLOPe:SOURce CHANnel1 Set the search source to Channel 1. :SEARch:SLOPe:SOURce? The query returns “CHANnel1.” :SEARch:SLOPe:LOW:LEVel Command Format :SEARch:SLOPe:LOW:LEVel <level> :SEARch:SLOPe:LOW:LEVel? Functional Description ...
Page 319
Programming Manual MSO3000HD Series :SEARch:SLOPe:QUALifier Command Format :SEARch:SLOPe:QUALifier {GREaterthan | LESSthan | INRange} :SEARch:SLOPe:QUALifier? Functional Description To set the time search condition for the slope to “GREaterthan (Greater than)”, “LESSthan (Less than)”, or “INRange (Within the range).” Return Format ...
Page 320
Programming Manual MSO3000HD Series The query returns the upper limit of the current time, with the unit “s.” For Example :SEARch:SLOPe:TIMe:UPPer 1 Set the upper limit time for the slope search to 1s. :SEARch:SLOPe:TIMe:UPPer? The query returns “1.000000e+00.” :SEARch:SLOPe:TIMe:LOWer Command Format ...
Page 321
Programming Manual MSO3000HD Series :SEARch:RUNT:LOW:LEVel Command Format :SEARch:RUNT:LOW:LEVel <level> :SEARch:RUNT:LOW:LEVel? Functional Description To set or query the low threshold value. <level>: Low threshold value Return Format The query returns low threshold in scientific notation. The unit conforms to the current amplitude unit.
Page 322
Programming Manual MSO3000HD Series than), INRange (Within the range), OUTRange (Outside of the range), or “NONE (Arbitrary)”. Return Format The query returns {GREaterthan | LESSthan | INRange | NONE}. For Example :SEARch:RUNT:QUALifier GRE Set the runt condition to “GREaterthan”.
Page 323
Programming Manual MSO3000HD Series :SEARch:RUNT:TIMe:LOWer <time> :SEARch:RUNT:TIMe:LOWer? Functional Description To set the lower limit time for the runt search. Return Format The query returns the lower limit of the current time, with the unit “s.” For Example ...
Page 324
Programming Manual MSO3000HD Series The query returns low threshold in scientific notation. The unit conforms to the current amplitude unit. For Example :SEARch:WINDow:LOW:LEVel -3 Set the low threshold value to -3 V. :SEARch:WINDow:LOW:LEVel? The query returns “-3.000000e+00.” :SEARch:WINDow:HIGH:LEVel Command Format ...
Page 325
Programming Manual MSO3000HD Series :SEARch:WINDow:TIMe Command Format :SEARch:WINDow:TIMe <time> :SEARch:WINDow:TIMe? Functional Description To set the time interval for the window search. Return Format The query returns the current time interval, with the unit “s.” For Example ...
Page 326
Programming Manual MSO3000HD Series :SEARch:DELay:ASOURce CHAN1 Set the search source 1 to Channel 1. :SEARch:DELay:ASOURce? The query returns “CHANnel1.” :SEARch:DELay:ALEVel Command Format :SEARch:DELay:ALEVel <level> :SEARch:DELay:ALEVel? Functional Description To set or query the threshold for the source 1. <level>: Threshold value Return Format ...
Page 327
Programming Manual MSO3000HD Series Functional Description To set the source 2 for the delay search. Return Format The query returns {CHANnel1 | CHANnel2| CHANnel3| CHANnel4}. For Example :SEARch:DELay:BSOURce CHAN1 Set the source 2 to Channel 1. :SEARch:DELay:BSOURce? The query returns “CHANnel1.”...
Page 328
Programming Manual MSO3000HD Series :SEARch:DELay:QUALifier Command Format :SEARch:DELay:QUALifier { GREaterthan | LESSthan | INRange | OUTRange } :SEARch:DELay:QUALifier? Functional Description To set the time interval condition for the delay search to “GREaterthan (Greater than)”, “LESSthan (Less than)”, “INRange (Within the range)”, or “NONE (Arbitrary)”.
Page 329
Programming Manual MSO3000HD Series For Example :SEARch:DELay:TIMe:LOWer 1 Set the lower limit time for the delay search to 1s. :SEARch:DELay:TIMe:LOWer? The query returns “1.000000e+00.” Timeout Search :SEARch:TIMeout:SOURce Command Format :SEARch:TIMeout:SOURce <source> :SEARch:TIMeout:SOURce? Functional Description To set or query the search source.
Page 330
Programming Manual MSO3000HD Series :SEARch:TIMeout:TIMe Command Format :SEARch:TIMeout:TIMe <time> :SEARch:TIMeout:TIMe? Functional Description To set the time interval for the timeout search. Return Format The query returns the current time interval, with the unit “s.” For Example ...
Page 331
Programming Manual MSO3000HD Series The query returns the threshold in scientific notation. The unit conforms to the current amplitude unit. For Example :SEARch:DURation:LEVel 3 Set the threshold to 3 V. :SEARch:DURation:LEVel? The query returns “3.000000e+00.” :SEARch:DURation:PATTern Command Format ...
Page 332
Programming Manual MSO3000HD Series :SEARch:DURation:TIMe:LOWer Command Format :SEARch:DURation:TIMe:LOWer <time> :SEARch:DURation:TIMe:LOWer? Functional Description To set the lower limit time for the duration search. The lower limit time can be set when the time interval condition is “GREaterthan”. Return Format ...
Page 333
Programming Manual MSO3000HD Series The query returns {CHANnel1 | CHANnel2| CHANnel3| CHANnel4}. For Example :SEARch:SHOLd:SDA CHAN1 Set Channel 1 as data source. :SEARch:SHOLd:SDA? The query returns “CHANnel1.” :SEARch:SHOLd:DLEVel Command Format :SEARch:SHOLd:DLEVel <level> :SEARch:SHOLd:DLEVel? Functional Description To set or query the threshold for the data source.
Page 334
Programming Manual MSO3000HD Series :SEARch:SHOLd:CLEVel? Functional Description To set or query the threshold for the clock source. <level>: Threshold value Return Format The query returns the threshold of the clock source in scientific notation. The unit conforms to the current amplitude unit.
Page 335
Programming Manual MSO3000HD Series For Example :SEARch:SHOLd:PATTern HIGH Set the data type for the setup & hold search to “HIGH”. :SEARch:SHOLd:PATTern? The query returns “HIGH”. :SEARch:SHOLd:QUALifier Command Format :SEARch:SHOLd:QUALifier { SETup | HOLD | SH } :SEARch:SHOLd:QUALifier? Functional Description ...
Page 336
Programming Manual MSO3000HD Series Functional Description To set or query the search source. <source>: {CHANnel1|CHANnel2|CHANnel3|CHANnel4}. Explanation: CHANnel<n> indicates the physical channel, where n can take a value from 1, 2, 3, or 4. Return Format The query returns the search source {CHANnel1|CHANnel2|CHANnel3|CHANnel4}.
Page 337
Programming Manual MSO3000HD Series For Example :SEARch:NEDGe:POLarity POS Set the edge type to “POSitive (Rising edge)”. :SEARch:NEDGe:POLarity? The query returns “POSitive.” :SEARch:NEDGe:TIMe Command Format :SEARch:NEDGe:TIMe <time> :SEARch:NEDGe:TIMe? Functional Description To set the idle time for the Nth edge search.
Page 338
Programming Manual MSO3000HD Series Functional Description To set or query the threshold. <level>: Threshold value Return Format The query returns the threshold in scientific notation. The unit conforms to the current amplitude unit. For Example :SEARch:PATTern:LEVel 3 Set the threshold to 3 V.
Page 339
Programming Manual MSO3000HD Series To switch or query the navigation function to ON or OFF. Return Format The query returns either 1 or 0, indicating “ON” or “OFF”, respectively. For Example :NAVigate:ENABle ON Enable the navigation function. :NAVigate:ENABle? The query returns 1.
Page 340
Programming Manual MSO3000HD Series :NAVigate:MARKer:APPLy Command Format :NAVigate:MARKer:APPLy? Functional Description To set the mark in the marker navigation mode. For Example :NAVigate:MARKer:APPLy Set the mark in the marker navigation mode. :NAVigate:MARKer:CLEar Command Format :NAVigate:MARKer:CLEar Functional Description ...
Page 341
Programming Manual MSO3000HD Series :NAVigate:PLAY ON Start playback of the waveform in time navigation mode. :NAVigate:PLAY? The query returns 1. :NAVigate:PLAY:MODe Command Format :NAVigate:PLAY MODe {LOOP|SINGle} :NAVigate:PLAY MODe? Functional Description To set or query the navigation playback mode.
Page 342
Programming Manual MSO3000HD Series For Example :NAVigate:PLAY:NEXT Set the navigation playback mode to shift right. :NAVigate:PLAY:BACK Command Format :NAVigate:PLAY:BACK Functional Description To set the navigation playback mode to left right. For Example :NAVigate:PLAY:BACK Set the navigation playback mode to left right.
Page 343
Programming Manual MSO3000HD Series The query returns {HORizontal|VERTical}. For Example :HISTogram:TYPe HORizontal Set the zone histogram type to “HORizontal”. :HISTogram:TYPe? The query returns “HORizontal”. :HISTogram:SOURce Command Format :HISTogram:SOURce <source> :HISTogram:SOURce? Functional Description To set or query the source for the zone histogram type.
Programming Manual MSO3000HD Series The query returns the coordinate value in scientific notation. For Example :HISTogram:AREa -5us,200mv,5us,-200mv Zone A is from the upper left point [-5us, 200mv] to the bottom right point [5us, -200mv]. :HISTogram:AREa? The query returns “-5.000000e-06, 2.000000e-01, 5.000000e-06, -2.000000e-01”.
Programming Manual MSO3000HD Series Median: The median value of histogram. Mode: The mode value of histogram. Width: The width of histogram. Sigma: The standard deviation of histogram. POWer Command This command is used to control the power analysis function. :POWer:ENABle Command Format ...
Page 346
Programming Manual MSO3000HD Series :POWer:VOLTage:SOURce Command Format :POWer:VOLTage:SOURce <source> :POWer:VOLTage:SOURce? Functional Description To set or query the input voltage source for power analysis. <source>: CHANnel<n>, where n can take values 1, 2, 3, or 4. Return Format ...
Page 347
Programming Manual MSO3000HD Series :POWer:QUALity:PERiod Command Format :POWer:QUALity:PERiod <count> :POWer:QUALity:PERiod? Functional Description To set or query the signal period count for power quality analysis. <count> represents period count, which is an integer. Return Format The query returns the period count as an integer.
Page 348
Programming Manual MSO3000HD Series :POWer:HARMonics:IEC:CLAss Command Format :POWer:HARMonics:IEC:CLAss {A|B|C|D} :POWer:HARMonics:IEC:CLAss? Functional Description To set or query the standard for the current harmonic analysis. A:IEC61000-3-2 (Device standard for Class A); B:IEC61000-3-2 (Device standard for Class B); C:IEC61000-3-2 (Device standard for Class C);...
Page 349
Programming Manual MSO3000HD Series For Example :POWer:HARMonics:APPLy Execute the current harmonic statistical analysis. :POWer:HARMonics:FAIL? Command Format :POWer:HARMonics:FAIL? Functional Description To query the number of failures for the current harmonic statistical analysis. Return Format The query returns the number of failures as an integer.
Page 350
Programming Manual MSO3000HD Series :POWer:HARMonics:DATA? The query returns the statistical result data for the current harmonic analysis. #9000000382HARMONICS,IEC61000-3-2 A,FAIL,3.000000e+03,1.000000e+03, Harmonics,Value,Limits,Margin,Status 1,1.000000e+01,2.000000e+02,3.000000e+03,FAIL 2,1.000000e+01,2.000000e+02,3.000000e+03,FAIL 3,1.000000e+01,2.000000e+02,3.000000e+03,FAIL 4,1.000000e+01,2.000000e+02,3.000000e+03,PASS ....................:POWer:INRush:VOLTage Command Format :POWer:INRush:VOLTage <voltage> :POWer:INRush:VOLTage? Functional Description To set or query the maximum input voltage for the surge current analysis.
Page 351
Programming Manual MSO3000HD Series :POWer:INRush:CURRent? The query returns “5.000000e+00”. :POWer:INRush:APPLy Command Format :POWer:INRush:APPLy Functional Description To execute the power surge current statistical analysis. For Example :POWer:INRush:APPLy Execute the power surge current statistical analysis. :POWer:ITEM? Command Format ...
Page 352
Programming Manual MSO3000HD Series To obtain the statistical results of the corresponding measurement types for power quality analysis. The measurement-related settings also apply to this function. <item> represents the measurement items: {VCRest|VRMS|VCRFactor|ICRest|IRMS|ICRFactor|TPWR|RPWR|APWR|PWRFactor|PHASe|INRus h|RDSon|PLOSs|ELOSs|SRMAX|SRMIN} represents voltage peak, RMS voltage, voltage peak...
Programming Manual MSO3000HD Series :POWer:STATistic:HISTogram:RESult? VRMS The query returns the histogram of statistical results for the current power analysis measurement: #9000000128HISTOGRAM, Sum,Peaks,Max,Min,Pk_Pk,Mean,Median,Mode, Siqma 100, 93, -8.000mV, -16.000mV,8.000mV,-8.400mV,-8.000mV,-8.000mV, 2.400mV In which, “#9000000148” is the TMC data block header, followed by the data in the option list.
Page 354
Programming Manual MSO3000HD Series Control the running state. The oscilloscope will alternate between stop and running states if this command is sent √ continuously. SINGle Single trigger √ CLEar Clear TMENu Trigger menu HMENu Horizontal system menu MEASure Measurement function...
Page 355
Programming Manual MSO3000HD Series TPKNLeft Trigger left rotary knob TPKNRight Trigger right rotary knob VBKNob Voltage reference rotary knob VBKNLeft Voltage reference left rotary knob VBKNRight Voltage reference right rotary knob TBKNob Time reference rotary knob TBKNLeft Time reference left rotary knob...
Page 356
Programming Manual MSO3000HD Series :KEY:CH1:LOCK? The query returns Channel 1 key state, 1 indicates that this key is locked. :KEY:CH1:LED? he query returns Channel 1 LED state, 0 indicates that LED is off. Instruments.uni-trend.com 356 / 374...
Page 357
Programming Manual MSO3000HD Series Programming Explanation This chapter describes troubleshooting during the programming process. If you encounter any of the following problems, please follow the related instructions. Programming Preparation The programming preparation is only applicable for using Visual Studio and LabVIEW development tools for programming under the Windows operating system.
Page 358
Programming Manual MSO3000HD Series VISA Programming Example This section contains examples. Through these examples, users can learn how to use VISA and combine it with the commands in the programming manual to control the instrument. With these examples, users can develop more applications.
Page 359
Programming Manual MSO3000HD Series Select "Linker-General" in the attribute dialog on the left side, and set the value of "Additional Library Directories" as the installment path of NI-VIS (for example, C:\Program Files\IVI Foundation\VISA\WinNT\include), as shown in the following figure. Select "Linker-Command Line" in the attribute dialog on the left side, and set the value of "Additional"...
Page 360
Programming Manual MSO3000HD Series Add the file visa.h in the projectname.cpp file. #include <visa.h> Source code: USBTMC Example int usbtmc_test() { /** This code demonstrates sending synchronous read & write commands * to an USB Test & Measurement Class (USBTMC) instrument using NI-VISA * The example writes the "*IDN?\n"...
Page 361
Programming Manual MSO3000HD Series status = viOpenDefaultRM(&defaultRM); if (status < VI_SUCCESS) printf("Could not open a session to the VISA Resource Manager!\n"); return status; /*Find all the USB TMC VISA resources in our system and store the number of resources in the system in numInstrs.*/...
Page 362
Programming Manual MSO3000HD Series /** At this point we now have a session open to the USB TMC instrument. *We will now use the viPrintf function to send the device the string "*IDN?\n", *asking for the device’s identification. */ char * cmmand = "*IDN?\n";...
Page 363
Programming Manual MSO3000HD Series TCP/IP Example int tcp_ip_test(char *pIP) char outputBuffer[VI_FIND_BUFLEN]; ViSession defaultRM, instr; ViStatus status; /* First we will need to open the default resource manager. */ status = viOpenDefaultRM(&defaultRM); if (status < VI_SUCCESS) printf("Could not open a session to the VISA Resource Manager!\n");...
Page 364
Programming Manual MSO3000HD Series return 0; int _tmain(int argc, _TCHAR* argv[]) printf("Please input IP address:"); char ip[256]; fflush(stdin); gets(ip); tcp_ip_test(ip); return 0; C# Example Environment: Window System, Visual Studio. Description: Access the instrument via USBTMC and TCP/IP, and send "*IDN?" command on ...
Page 365
Programming Manual MSO3000HD Series System.Console.WriteLine(ex.Message); void Main(string[] args) usbtmc_test(); TCP/IP Example class Program void tcp_ip_test(string ip) using (var rmSession = new ResourceManager()) var resource = string.Format("TCPIP0::{0}::inst0::INSTR", ip); var mbSession = (MessageBasedSession)rmSession.Open(resource); mbSession.RawIO.Write("*IDN?\n"); System.Console.WriteLine(mbSession.RawIO.ReadString()); catch (Exception ex) System.Console.WriteLine(ex.Message); void Main(string[] args) tcp_ip_test("192.168.20.11");...
Page 366
Programming Manual MSO3000HD Series VB Example Environment: Window System, Microsoft Visual Basic 6.0. Description: Access the instrument via USBTMC and TCP/IP, and send “*IDN?” command on NI-VISA to query the device information. Steps: Open the Visual Basic software and create a new standard application program project.
Page 367
Programming Manual MSO3000HD Series ' Close the VISA Session Const MAX_CNT = 200 Dim defaultRM AsLong Dim instrsesn AsLong Dim numlnstrs AsLong Dim findList AsLong Dim retCount AsLong Dim status AsLong Dim instrResourceString AsString *VI_FIND_BUFLEN Dim Buffer AsString * MAX_CNT...
Page 368
Programming Manual MSO3000HD Series ' functionality. These two parameters are given the value VI_NULL. For i = 0 To numInstrs If (i > 0) Then status = viFindNext(findList, instrResourceString) EndIf status = viOpen(defaultRM, instrResourceString, VI_NULL, VI_NULL, instrsesn) If (status < VI_SUCCESS) Then resultTxt.Text = "Cannot open a session to the device "...
Page 369
Programming Manual MSO3000HD Series PrivateFunction tcp_ip_test(ByVal ip AsString) AsLong Dim outputBuffer AsString * VI_FIND_BUFLEN Dim defaultRM AsLong Dim instrsesn AsLong Dim status AsLong Dim count AsLong ' First we will need to open the default resource manager. status = viOpenDefaultRM(defaultRM) If (status <...
Programming Manual MSO3000HD Series LabVIEW Example Environment: Window System, LabVIEW. Description: Access the instrument via USBTMC and TCP/IP, and send "*IDN?" command on NI-VISA to query the device information. Steps: Open the LabVIEW software to create a VI file.
Programming Manual MSO3000HD Series MATLAB Example Environment: Window System, MATLAB. Description: Access the instrument via USBTMC and TCP/IP, and send “*IDN?” command on NI-VISA to query the device information. Steps: Open the MATLAB software, click “File>>New>>Script” on Matlab interface to create an empty M file.
Programming Manual MSO3000HD Series outputbuffer = fscanf(vu); disp(outputbuffer); %Close the VISA object fclose(vu); delete(vu); clear vu; TCP/IP Example function tcp_ip_test() % This code demonstrates sending synchronous read & write commands % to an TCP/IP instrument using NI-VISA %Create a VISA-TCPIP object connected to an instrument %configured with IP address.
Page 373
Programming Manual MSO3000HD Series Install python first, then open a Python script editor to create an empte test.py file. Use the command “pip install PyVISA” to install PyVISA. If installation fails, refer to the following link ( https://pyvisa.readthedocs.io/en/latest/ Source code:...
Page 374
Programming Manual MSO3000HD Series Programming Application Example (1) Set the bandwidth limits When observing low-frequency signals, it’s necessary to reduce the high-frequency noise in the signal, specifically by attenuating signals above 20 MHz. Use the following command to set the bandwidth limits for Channel 1.
Need help?
Do you have a question about the MSO3000HD Series and is the answer not in the manual?
Questions and answers