background image

 

 

RIGOL

 

Programming Guide 

 
 

 
 
 

 
 
 
 
 

 
 

 
 

 
 
 

 
 

 

MSO7000/DS7000 Series Digital 

Oscilloscope

 

 

 
 

 
 

 
 
 

 
 

 
 
 

 
 

 
 
 

 
 

 

Apr. 2018 

RIGOL

 TECHNOLOGIES, INC.

Содержание DS7014

Страница 1: ...RIGOL Programming Guide MSO7000 DS7000 Series Digital Oscilloscope Apr 2018 RIGOL TECHNOLOGIES INC ...

Страница 2: ......

Страница 3: ...formation in this publication replaces all previously released materials Information in this publication is subject to change without notice RIGOL shall not be liable for either incidental or consequential losses in connection with the furnishing use or performance of this manual as well as any information contained Any part of this document is forbidden to be copied photocopied or rearranged with...

Страница 4: ... denoted by the format of Key Name Bold Text Box in the manual For example Utility denotes the Utility key 2 Menu The menu items are denoted by the format of Menu Word Bold Character Shading For example System denotes the System menu item under Utility 3 Operation Procedures denotes the next step of operation For example Utility System denotes that first press Utility and then press the System sof...

Страница 5: ...US n Commands 2 7 BUS n MODE 2 7 BUS n DISPlay 2 8 BUS n FORMat 2 8 BUS n EVENt 2 8 BUS n EVENt FORMat 2 9 BUS n EVENt VIEW 2 9 BUS n LABel 2 9 BUS n DATA 2 10 BUS n EEXPort 2 10 BUS n POSition 2 11 BUS n THReshold 2 11 BUS n PARallel 2 12 BUS n RS232 Option 2 16 BUS n IIC Option 2 21 BUS n SPI Option 2 23 BUS n CAN Option 2 29 BUS n FLEXray Option 2 31 BUS n LIN Option 2 33 BUS n IIS Option 2 35 ...

Страница 6: ...ISPlay CLEar 2 65 DISPlay TYPE 2 65 DISPlay GRADing TIME 2 66 DISPlay WBRightness 2 66 DISPlay GRID 2 66 DISPlay GBRightness 2 67 DISPlay DATA 2 67 DISPlay RULers 2 67 DISPlay COLor 2 68 DVM Commands 2 69 DVM CURRent 2 69 DVM ENABle 2 69 DVM SOURce 2 69 DVM MODE 2 70 HISTogram Commands 2 71 HISTogram DISPlay 2 71 HISTogram TYPE 2 71 HISTogram SOURce 2 72 HISTogram SIZE 2 72 HISTogram STATic 2 72 H...

Страница 7: ...us 2 87 LAN VISA 2 88 LAN MDNS 2 88 LAN HOST NAME 2 88 LAN DESCription 2 88 LAN APPLy 2 89 MASK Commands 2 90 MASK ENABle 2 90 MASK SOURce 2 90 MASK OPERate 2 91 MASK MDISplay 2 91 MASK X 2 92 MASK Y 2 92 MASK CREate 2 92 MASK RESet 2 92 MATH n Commands 2 93 MATH n DISPlay 2 94 MATH n OPERator 2 94 MATH n SOURce1 2 95 MATH n SOURce2 2 95 MATH n LSOUrce1 2 95 MATH n LSOUrce2 2 96 MATH n SCALe 2 96 ...

Страница 8: ...0 MEASure SETup MAX 2 110 MEASure SETup MID 2 110 MEASure SETup MIN 2 111 MEASure SETup PSA 2 111 MEASure SETup PSB 2 112 MEASure SETup DSA 2 112 MEASure SETup DSB 2 112 MEASure STATistic DISPlay 2 113 MEASure STATistic RESet 2 113 MEASure STATistic ITEM 2 113 MEASure ITEM 2 114 MEASure AREA 2 115 MEASure CREGion CAX 2 115 MEASure CREGion CBX 2 116 MEASure CATegory 2 116 POWer Commands 2 117 POWer...

Страница 9: ...4 SEARch RUNT POLarity 2 134 SEARch RUNT QUALifier 2 134 SEARch RUNT SOURce 2 135 SEARch SLOPe POLarity 2 135 SEARch SLOPe QUALifier 2 136 SEARch SLOPe SOURce 2 136 SOURce n Commands 2 137 SOURce n FREQuency FIXed 2 138 SOURce n PHASe ADJust 2 138 SOURce n PHASe INITiate 2 139 SOURce n FUNCtion SHAPe 2 139 SOURce n FUNCtion RAMP SYMMetry 2 140 SOURce n VOLTage LEVel IMMediate AMPLitude 2 140 SOURc...

Страница 10: ... TIME 2 156 SYSTem LOCKed 2 156 SYSTem MODules 2 157 TIMebase Commands 2 158 TIMebase DELay ENABle 2 158 TIMebase DELay OFFSet 2 158 TIMebase DELay SCALe 2 159 TIMebase MAIN OFFSet 2 159 TIMebase MAIN SCALe 2 160 TIMebase MODE 2 160 TIMebase HREFerence MODE 2 160 TIMebase HREFerence POSition 2 161 TIMebase VERNier 2 161 TRIGger Commands 2 162 TRIGger MODE 2 163 TRIGger COUPling 2 163 TRIGger STATu...

Страница 11: ...Veform FORMat 2 226 WAVeform DATA 2 226 WAVeform XINCrement 2 227 WAVeform XORigin 2 227 WAVeform XREFerence 2 228 WAVeform YINCrement 2 228 WAVeform YORigin 2 228 WAVeform YREFerence 2 229 WAVeform STARt 2 229 WAVeform STOP 2 229 WAVeform PREamble 2 230 Chapter 3 Programming Examples 3 1 Programming Preparations 3 2 Excel Programming Example 3 3 LabVIEW Programming Example 3 7 Visual Basic Progra...

Страница 12: ......

Страница 13: ...keywords of the command and the first parameter is separated by a space For example ACQuire TYPE type ACQuire TYPE ACQuire is the root keyword of the command and TYPE is the second level keyword The command line starts with a colon and different levels of keywords are also separated by colons type indicates a settable parameter The command ending with a quotation mark indicates querying a certain ...

Страница 14: ...ery returns an integer ranging from 1 to 100 4 Real The parameter can be any real number within the effective value range and this command accepts parameter input in decimal NR2 format and scientific notation NR3 format For example TRIGger TIMeout TIME time TRIGger TIMeout TIME Wherein time can be set to any real number ranging from 1 6E 8 i g 16 ns to 1E 1 i g 10 s The query returns a real number...

Страница 15: ...OP SINGle TFORce ACQuire Commands BUS n Commands CHANnel n Commands COUNter Commands CURSor Commands DISPlay Commands DVM Commands HISTogram Commands IEEE488 2 Common Commands LA Commands LAN Commands MASK Commands MATH n Commands MEASure Commands POWer Commands Quick Commands RECord Commands REFerence Commands SAVE and Load Commands SEARch Commands SOURce n Commands SYSTem Commands TIMebase Comma...

Страница 16: ... trigger mode according to the input signal to realize optimal waveform display This command functions the same as the AUTO key on the front panel Remarks When the AUTO function is disabled this command is invalid For details refer to SYSTem AUTOscale When the pass fail test is enabled the AUTO function runs normally but the pass fail test function is forced to be disabled When the waveform record...

Страница 17: ...performs a single trigger when the trigger conditions are met and then it stops When the waveform recording function is enabled or the recorded waveforms are played back this command is invalid For the single trigger you can use the TFORce command to generate one trigger by force TFORce Syntax TFORce Description Generates a trigger signal forcefully This command is only applicable to the normal an...

Страница 18: ... n is an integer and its range is from 1 to 16 2 Remarks You can send the ACQuire TYPE command to set the acquisition mode In the average acquisition mode greater number of averages can lower the noise and increase the vertical resolution but will also slow the response of the displayed waveform to the waveform changes Return Format The query returns an integer ranging from 2 to 65536 Example ACQu...

Страница 19: ...mal display effects AVERages In this mode the oscilloscope averages the waveforms from multiple samples to reduce the random noise of the input signal and improve the vertical resolution Greater number of averages can lower the noise and increase the vertical resolution while at the same time it will slow the response of the displayed waveform to the waveform changes PEAK indicates the peak detect...

Страница 20: ...rn Format The query returns the sample rate in scientific notation Example ACQuire LA SRATe The query returns 1 250000E 9 ACQuire LA MDEPth Syntax ACQuire LA MDEPth Description Queries the current LA memory depth Return Format The query returns the memory depth in scientific notation Example ACQuire LA MDEPth The query returns 1 250000E 4 ACQuire AALias Syntax ACQuire AALias bool ACQuire AALias De...

Страница 21: ...US n FLEXray Option BUS n LIN Option BUS n IIS Option BUS n M1553 Option BUS n MODE Syntax BUS n MODE mode BUS n MODE Description Sets or queries the decoding type of the specified decoding bus Parameter Name Type Range Default n Discrete 1 2 3 4 mode Discrete PARallel RS232 SPI IIC IIS LIN CAN FLEXray M1553 PARallel Remarks Except PARallel all the other decodings are options Only when the specifi...

Страница 22: ...ter Name Type Range Default n Discrete 1 2 3 4 fmt Discrete HEX ASCii DEC BIN ASCii Remarks HEX indicates Hexadecimal DEC indicates Decimal BIN indicates Binary Return Format The query returns HEX ASC DEC or BIN Example BUS1 FORMat HEX Sets the display format of the bus to HEX BUS1 FORMat The query returns HEX BUS n EVENt Syntax BUS n EVENt bool BUS n EVENt Description Enables or disables the even...

Страница 23: ...s or queries the data page of the specified decoding bus event table Parameter Name Type Range Default n Discrete 1 2 3 4 packet Discrete PACKets DETails PAYLoad PACKets Remarks PACKets displays time data and error information in the specified event table DETails displays the detailed data of the specified row in the event table PAYLoad displays all the data of the specified column in the event ta...

Страница 24: ...ollowed by the data in the event table The 9 digit data following 9 in the data block header indicates the number of bytes of the effective data PAL indicates the decoding type The available decoding type can also be RS232 I2C SPI or CAN The data are separated by commas and will automatically go to the next line according to the line length limit in the decoding list The data value is related to t...

Страница 25: ...iption Sets or queries the threshold of the specified decoding source Parameter Name Type Range Default n Discrete 1 2 3 4 value Real 5 VerticalScale OFFSet to 5 VerticalScale OFFSet 0 type Discrete PAL TX RX SCL SDA CS CLK MISO MO SI LIN CAN CANSub1 Remarks For VerticalScale refer to the CHANnel n SCALe command For OFFSet refer to the CHANnel n OFFSet command For RS232 decoding only when the Rx s...

Страница 26: ...D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHANnel1 CHANnel2 CHANnel3 CHANnel4 OFF OFF Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 CHAN4 or OFF Example BUS1 PARallel CLK D0 Sets the clock source of the Parallel decoding to D0 BUS1 PARallel CLK The query returns D0 BUS n PARallel SLOPe Syntax BUS n PARallel SLOPe slope BUS n PARallel SLOPe Des...

Страница 27: ...et to User can this command be valid Return Format The query returns an integer ranging from 0 to 20 for MSO7000 model or 0 to 4 for DS7000 model Example BUS1 PARallel WIDTh 16 Sets the data width of Parallel decoding to 16 BUS1 PARallel WIDTh The query returns 16 BUS n PARallel BITX Syntax BUS n PARallel BITX bit BUS n PARallel BITX Description Sets or queries the data bit that the parallel bus r...

Страница 28: ... current bit to CH2 BUS1 PARallel SOURce The query returns CHAN2 BUS n PARallel POLarity Syntax BUS n PARallel POLarity pol BUS n PARallel POLarity Description Sets or queries the data polarity of Parallel decoding Parameter Name Type Range Default n Discrete 1 2 3 4 pol Discrete NEGative POSitive POSitive Remarks NEGative indicates the negative polarity POSitive indicates the positive polarity Re...

Страница 29: ...US1 PARallel NREJect ON Enables the noise rejection function BUS1 PARallel NREJect The query returns 1 BUS n PARallel NRTime Syntax BUS n PARallel NRTime time BUS n PARallel NRTime Description Sets or queries the noise rejection time of Parallel decoding The default unit is s Parameter Name Type Range Default n Discrete 1 2 3 4 time Real 0 ns to 1 s 0 00 s Return Format The query returns the noise...

Страница 30: ...screte 1 2 3 4 source Discrete D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHANnel1 CHANnel2 CHANnel3 CHANnel4 OFF OFF Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 CHAN4 or OFF Example BUS1 RS232 TX D0 Sets the TX channel source of RS232 decoding to D0 BUS1 RS232 TX The query returns D0 BUS n RS232 RX Syntax BUS n RS232 RX source...

Страница 31: ...n the RS232 decoding the start bit of data packet indicates when to start data transmission It is determined by the polarity When pol is set to POSitive the start bit is 0 when NEGative the start bit is 1 Return Format The query returns POS or NEG Example BUS1 RS232 POLarity POSitive Sets the polarity of RS232 decoding toPOSitive BUS1 RS232 POLarity The query returns POS BUS n RS232 ENDian Syntax ...

Страница 32: ...2 decoding to 4800 bps BUS1 RS232 BAUD The query returns 4800 BUS n RS232 DBITs Syntax BUS n RS232 DBITs bits BUS n RS232 DBITs Description Sets or queries the data width of RS232 decoding Parameter Name Type Range Default n Discrete 1 2 3 4 bits Discrete 5 6 7 8 9 8 Return Format The query returns 5 6 7 8 or 9 Example BUS1 RS232 DBITs 7 Sets the data width of RS232 decoding to 7 BUS1 RS232 DBITs ...

Страница 33: ...nces of 1 in the data bit and check bit is an even number For example when 0x55 01010101 is sent 0 should be added to the check bit Return Format The query returns NONE ODD or EVEN Example BUS1 RS232 PARity ODD Sets the odd even check mode of data transmission in RS232 decoding to Odd BUS1 RS232 PARity The query returns ODD BUS n RS232 PACKet Syntax BUS n RS232 PACKet bool BUS n RS232 PACKet Descr...

Страница 34: ... the packet end type during data transmission Parameter Name Type Range Default n Discrete 1 2 3 4 package end Discrete NULL LF CR SP NULL Remarks The parameters are represented in hexadecimal as follows NULL 00 LF 0A CR 0D SP 20 Return Format The query returns NULL LF CR or SP Example BUS1 RS232 PEND LF Sets the packet end to 0A BUS1 RS232 PEND The query returns LF ...

Страница 35: ...e query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example BUS1 IIC SCLK SOURce D0 Sets the clock source of I2C decoding to D0 BUS1 IIC SCLK SOURce The query returns D0 BUS n IIC SDA SOURce Syntax BUS n IIC SDA SOURce source BUS n IIC SDA SOURce Description Sets or queries the data channel source of I2C decoding Parameter Name Type Range Default n Disc...

Страница 36: ...ecoding Parameter Name Type Range Default n Discrete 1 2 3 4 addr Discrete NORMal RW NORMal Remarks NORMal indicates that the address width does not include the R W bit RW indicates that the address width includes the R W bit Return Format The query returns NORM or RW Example BUS1 IIC ADDRess RW Sets the address of I2C decoding to include the R W bit BUS1 IIC ADDRess The query returns RW ...

Страница 37: ...BUS n SPI SS SOURce BUS n SPI SS POLarity BUS n SPI SCLK SOURce Syntax BUS n SPI SCLK SOURce source BUS n SPI SCLK SOURce Description Sets or queries the clock source of SPI decoding Parameter Name Type Range Default n Discrete 1 2 3 4 source Discrete D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHANnel1 CHANnel2 CHAN nel3 CHANnel4 CHANnel1 Return Format The query returns D0 D1 D2 D3 D4 D...

Страница 38: ...e Discrete D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D 12 D13 D14 D15 CHANnel1 CHANnel2 CHANnel 3 CHANnel4 OFF OFF Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 CHAN4 or OFF Example BUS1 SPI MISO SOURce D0 Sets the MISO data source of SPI decoding to D0 BUS1 SPI MISO SOURce The query returns D0 BUS n SPI MISO POLarity Syntax BUS n SPI MISO POLa...

Страница 39: ...PI MOSI POLarity polarity BUS n SPI MOSI POLarity Description Sets or queries the polarity of MOSI data line of SPI decoding Parameter Name Type Range Default n Discrete 1 2 3 4 polarity Discrete HIGH LOW LOW Remarks High indicates that low level is 1 and high level is 0 Low indicates that high level is 1 and low level is 0 Return Format The query returns HIGH or LOW Example BUS1 SPI MOSI POLarity...

Страница 40: ...ple BUS1 SPI ENDian LSB Sets the endian of data transmission of SPI decoding to LSB BUS1 SPI ENDian The query returns LSB BUS n SPI MODE Syntax BUS n SPI MODE mode BUS n SPI MODE Description Sets or queries the decode mode of SPI decoding Parameter Name Type Range Default n Discrete 1 2 3 4 mode Discrete CS TIMeout TIMeout Remarks CS indicates chip select CS contains a chip select line CS You can ...

Страница 41: ... timeout value in scientific notation Example BUS1 SPI TIMeout TIME 0 000005 Sets the timeout value to 5 μs BUS1 SPI TIMeout TIME The query returns 5 000000E 6 BUS n SPI SS SOURce Syntax BUS n SPI SS SOURce source BUS n SPI SS SOURce Description Sets or queries the source channel of the CS line of SPI decoding Parameter Name Type Range Default n Discrete 1 2 3 4 source Real D0 D1 D2 D3 D4 D5 D6 D7...

Страница 42: ...W Remarks HIGH indicates that the oscilloscope samples data of the source channel of data line on the specified edge of the clock signal when the CS signal is high level LOW indicates that the oscilloscope samples data of the source channel of data line on the specified edge of the clock signal when the CS signal is low level Return Format The query returns HIGH or LOW Example BUS1 SPI SS POLarity...

Страница 43: ...ding to D0 BUS1 CAN SOURce The query returns D0 BUS n CAN STYPe Syntax BUS n CAN STYPe stype BUS n CAN STYPe Description Sets or queries the signal type of CAN decoding Parameter Name Type Range Default n Discrete 1 2 3 4 stype Discrete TX RX CANH CANL DIFFerential RX Remarks TX indicates the Transmit signal from the CAN bus transceiver RX indicates the Receive signal from the CAN bus transceiver ...

Страница 44: ... CAN BAUD 120000 Sets the signal rate of CAN decoding to 120000 bps BUS1 CAN BAUD The query returns 120000 BUS n CAN SPOint Syntax BUS n CAN SPOint spoint BUS n CAN SPOint Description Sets or queries the sample point position of CAN decoding expressed in Parameter Name Type Range Default n Discrete 1 2 3 4 spoint Integer 10 to 90 50 Remarks Sample point is a point within a bit s time The oscillosc...

Страница 45: ...n Format The query returns 2500000 5000000 or 10000000 Example BUS1 FLEXray BAUD 2500000 Sets the signal rate of FlexRay decoding to 2500000 bps BUS1 FLEXray BAUD The query returns 2500000 BUS n FLEXray SOURce Syntax BUS n FLEXray SOURce source BUS n FLEXray SOURce Description Sets or queries the source channel of FlexRay decoding Parameter Name Type Range Default n Discrete 1 2 3 4 source Discret...

Страница 46: ...essed as the ratio of time from the bit start to the sample point to bit time in Return Format The query returns an integer ranging from 10 to 90 Example BUS1 FLEXray SPOint 70 Sets the sample point position of FlexRay decoding to 70 BUS1 FLEXray SPOint The query returns 70 BUS n FLEXray STYPe Syntax BUS n FLEXray STYPe stype BUS n FLEXray STYPe Description Sets or queries the signal type of FlexR...

Страница 47: ...If the baud rate is set to a value with M then A should be added at the end of the value For example if you send 5 M you need to send 5 MA Return Format The query returns an integer ranging from 2 4 kbps to 20 Mbps Example BUS1 LIN BAUD 9600 Sets the baud rate of LIN decoding to 9600 bps BUS1 LIN BAUD The query returns 9600 BUS n LIN POLarity Syntax BUS n LIN POLarity bool BUS n LIN POLarity Descr...

Страница 48: ...Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example BUS1 LIN SOURce D0 Sets the source of LIN bus to D0 BUS1 LIN SOURce The query returns D0 BUS n LIN STANdard Syntax BUS n LIN STANdard value BUS n LIN STANdard Description Sets or queries the version of LIN bus Parameter Name Type Range Default n Discrete 1 2 3 4 value Discrete V1X V2X ...

Страница 49: ...3 CHANnel4 CHANnel1 Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example BUS1 IIS SOURce CLOCk D0 Sets the clock source of the I2S decoding to D0 BUS1 IIS SOURce CLOCk The query returns D0 BUS n IIS SOURce DATA Syntax BUS n IIS SOURce DATA source BUS n IIS SOURce DATA Description Sets or queries the data source of the I2S decoding...

Страница 50: ... or queries the alignment mode of the I2S decoding Parameter Name Type Range Default n Discrete 1 2 3 4 align Discrete IIS RJ LJ IIS Remarks IIS first sends MSB of each sample data and then sends LSB RJ data transmission MSB first is right justified to the WS transition LJ data transmission MSB first begins at the edge of the WS transition Return Format The query returns IIS RJ or LJ Example BUS1 ...

Страница 51: ...S n IIS RWIDth Description Sets or queries the word size of the I2S decoding Parameter Name Type Range Default n Discrete 1 2 3 4 val Integer 4 to 32 8 Return Format The query returns an integer ranging from 4 to 32 Example BUS1 IIS RWIDth 5 Sets the word size of I2S decoding to 5 BUS1 IIS RWIDth The query returns 5 ...

Страница 52: ...3 SOURce Syntax BUS n M1553 SOURce source BUS n M1553 SOURce Description Sets or queries the source of the M1553 decoding Parameter Name Type Range Default n Discrete 1 2 3 4 source Discrete CHANnel1 CHANnel2 CHANnel3 CHANnel4 CHANnel1 Return Format The query returns CHAN1 CHAN2 CHAN3 or CHAN4 Example BUS1 M1553 SOURce CHANnel2 Sets the source of the M1553 decoding to D0 BUS1 M1553 SOURce The quer...

Страница 53: ... BWLimit Description Sets or queries the bandwidth limit of the specified channel Parameter Name Type Range Default n Discrete 1 2 3 4 type Discrete Refer to Remarks OFF Remarks The range of type is related to the instrument model MSO7054 DS7054 MSO7034 DS7034 20M 250M OFF MSO7024 DS7024 MSO7014 DS7014 20M OFF 20M 250M When you enable the bandwidth limit and limit it to 20 MHz or 250 MHz the high ...

Страница 54: ...CHANnel n DISPlay Description Turns on or off the specified channel or queries the on off status of the specified channel Parameter Name Type Range Default n Discrete 1 2 3 4 bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example CHANnel1 DISPlay ON Enables CH1 CHANnel1 DISPlay The query returns 1 CHANnel n INVert Syntax CHANnel n INVert bool CHANnel n INVert Description Turns o...

Страница 55: ... vertical offset of CH1 to 10 mV CHANnel1 OFFSet The query returns 1E 2 CHANnel n TCALibrate Syntax CHANnel n TCALibrate val CHANnel n TCALibrate Description Sets or queries the delay calibration time used to calibrate the zero offset of the corresponding channel of the specified channel The default unit is s Parameter Name Type Range Default n Discrete 1 2 3 4 val Real 100 ns to 100 ns 0 s Remark...

Страница 56: ...nput waveform is a little bit greater than the full scale under the current scale and the amplitude would be a little bit lower if the next scale is used fine adjustment can be used to improve the amplitude of waveform display to view signal details Return Format The query returns the vertical scale in scientific notation Example CHANnel1 SCALe 1 Sets the vertical scale of CH1 to 1 V CHANnel1 SCAL...

Страница 57: ... number not affect the actual amplitude of the signal The set probe ratio affects the settable range of the current vertical scale Return Format The query returns 0 01 0 02 0 05 0 1 0 2 0 5 1 2 5 10 20 50 100 200 500 or 1000 Example CHANnel1 PROBe 10 Sets the probe ratio of CH1 to 10X CHANnel1 PROBe The query returns 10 CHANnel n PROBe DELay Syntax CHANnel n PROBe DELay delay CHANnel n PROBe DELay...

Страница 58: ...ormat The query returns VOLT WATT AMP or UNKN Example CHANnel1 UNITs VOLTage Sets the amplitude display unit of CH1 to VOLTage CHANnel1 UNITs The query returns VOLT CHANnel n VERNier Syntax CHANnel n VERNier bool CHANnel n VERNier Description Enables or disables the fine adjustment of the vertical scale of the specified analog channel or queries the on off status of the fine adjustment function of...

Страница 59: ...and System RIGOL MSO7000 DS7000 Programming Guide 2 45 Return Format The query returns 1 or 0 Example CHANnel1 VERNier ON Enables the fine adjustment of the vertical scale of CH1 CHANnel1 VERNier The query returns 1 ...

Страница 60: ... the frequency counter or queries the on off status of the frequency counter Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example COUNter ENABle ON Enables the frequency counter COUNter ENABle The query returns 1 COUNter SOURce Syntax COUNter SOURce source COUNter SOURce Description Sets or queries the source of the frequency counter Parameter...

Страница 61: ...DIGits Description Sets or queries the resolution of the frequency counter Parameter Name Type Range Default val Integer 3 6 5 Remarks The resolution setting is only available for Period and Frequency and unavailable for Totalize Return Format The query returns an integer ranging from 3 to 6 Example COUNter NDIGits 4 Sets the resolution of the frequency counter to 4 COUNter NDIGits The query retur...

Страница 62: ...COUNter TOTalize ENABle ON Enables the statistical function of the frequency counter COUNter TOTalize ENABle The query returns 1 COUNter TOTalize CLEar Syntax COUNter TOTalize CLEar Description Clears the total count Description Available when Totalize is selected under Measure ...

Страница 63: ...00 DS7000 Programming Guide 2 49 CURSor Commands The CURSor commands are used to measure the X axis values e g Time and Y axis values e g Voltage of the waveform on the screen Command List CURSor MODE CURSor MANual CURSor TRACk CURSor XY ...

Страница 64: ...OFF MANual TRACk XY OFF Remarks OFF disables the cursor measurement function MANual enables the manual mode of cursor measurement TRACk enables the track cursor mode XY enables the XY cursor measurement mode This mode is valid when you select XY for the horizontal time base Return Format The query returns OFF MAN TRAC or XY Example CURSor MODE MANual Selects the manual cursor measurement mode CURS...

Страница 65: ...XDELta CURSor MANual YDELta CURSor MANual TYPE Syntax CURSor MANual TYPE type CURSor MANual TYPE Description Sets or queries the cursor type in the manual mode of cursor measurement Parameter Name Type Range Default type Discrete TIME AMPLitude TIME Remarks TIME indicates X cursor which is often used to measure the time parameters AMPLitude indicates Y cursor which is often used to measure the vol...

Страница 66: ...xample CURSor MANual SOURce CHANnel2 Sets the channel source to CH2 CURSor MANual SOURce The query returns CHAN2 CURSor MANual TUNit Syntax CURSor MANual TUNit unit CURSor MANual TUNit Description Sets or queries the horizontal unit in the manual mode of cursor measurement Parameter Name Type Range Default unit Discrete SECond HZ DEGRee PERCent SECond Remarks SECond in the measurement results AX B...

Страница 67: ...r MANual VUNit The query returns PERC CURSor MANual CAX Syntax CURSor MANual CAX ax CURSor MANual CAX Description Sets or queries the horizontal position of Cursor A in the manual mode of cursor measurement Parameter Name Type Range Default ax Integer 0 to 999 400 Remarks The horizontal and vertical position of the cursor is defined by the screen pixel coordinate The range of the screen pixel coor...

Страница 68: ...s the horizontal position of Cursor B to 200 CURSor MANual CBX The query returns 200 CURSor MANual CAY Syntax CURSor MANual CAY ay CURSor MANual CAY Description Sets or queries the vertical position of Cursor A in the manual mode of cursor measurement Parameter Name Type Range Default ay Integer 0 to 479 180 Remarks The horizontal and vertical position of the cursor is defined by the screen pixel ...

Страница 69: ...Sor MANual CBY The query returns 200 CURSor MANual AXValue Syntax CURSor MANual AXValue Description Queries the X value at Cursor A in the manual mode of cursor measurement The unit is determined by the currently selected horizontal unit Return Format The query returns the X value at Cursor A in scientific notation CURSor MANual AYValue Syntax CURSor MANual AYValue Description Queries the Y value ...

Страница 70: ...scription Queries the difference X between the X value at Cursor A and the X value at Cursor B in the manual mode of cursor measurement The unit is determined by the currently selected horizontal unit Return Format The query returns the current difference in scientific notation CURSor MANual IXDELta Syntax CURSor MANual IXDELta Description Queries the reciprocal 1 X of the absolute difference betw...

Страница 71: ...URce1 Syntax CURSor TRACk SOURce1 source CURSor TRACk SOURce1 Description Sets or queries the channel source of Cursor A in the track mode of cursor measurement Parameter Name Type Range Default source Discrete CHANnel1 CHANnel2 CHANnel3 CHANnel4 MATH1 MATH2 MATH3 MATH4 NONE CHANnel1 Remarks Only the currently enabled channel can be selected as the channel source Return Format The query returns CH...

Страница 72: ... returns CHAN2 CURSor TRACk CAX Syntax CURSor TRACk CAX ax CURSor TRACk CAX Description Sets or queries the horizontal position of Cursor A in the track mode of cursor measurement Parameter Name Type Range Default ax Integer 0 to 999 400 Remarks The horizontal and vertical position of the cursor is defined by the screen pixel coordinate The range of the screen pixel coordinate is from 0 0 to 999 4...

Страница 73: ...position of Cursor A in the track mode of cursor measurement Remarks The horizontal and vertical position of the cursor is defined by the screen pixel coordinate The range of the screen pixel coordinate is from 0 0 to 999 479 Wherein 0 0 is a location at the upper left corner of the screen and 999 479 is a location at the lower right corner of the screen The pixel range in the horizontal direction...

Страница 74: ...tude unit selected for the currently corresponding channel Return Format The query returns the X value at Cursor B in scientific notation CURSor TRACk BYValue Syntax CURSor TRACk BYValue Description Queries the Y value at Cursor B in the track mode of cursor measurement The unit is the same as that selected for the current channel Return Format The query returns the Y value at Cursor B in scientif...

Страница 75: ...IXDELTA Syntax CURSor TRACk IXDELTA Description Queries the reciprocal 1 X of the absolute difference between the X value at Cursor A and the X value at Cursor B in the track mode of cursor measurement The default unit is Hz Return Format The query returns 1 X in scientific notation ...

Страница 76: ...t mode Parameter Name Type Range Default x Integer 0 to 479 100 Remarks In the XY time base mode the horizontal and vertical position of the cursor is defined by the pixel coordinate in the XY display region The range of the screen pixel coordinate is from 0 0 to 479 479 Wherein 0 0 is a location at the upper right corner of the screen and 479 479 is a located the lower left corner of the screen T...

Страница 77: ...integer ranging from 0 to 479 Example CURSor XY BX 200 Sets the horizontal position of Cursor B to 200 CURSor XY BX The query returns 200 CURSor XY AY Syntax CURSor XY AY y CURSor XY AY Description Sets or queries the vertical position of Cursor A in the XY cursor measurement mode Parameter Name Type Range Default y Integer 0 to 479 100 Remarks In the XY time base mode the horizontal and vertical ...

Страница 78: ... the X value at Cursor A in the XY cursor measurement mode The unit is determined by the amplitude unit selected for the currently corresponding channel Return Format The query returns the X value at Cursor A in scientific notation CURSor XY AYValue Syntax CURSor XY AYValue Description Queries the X value at Cursor A in the XY cursor measurement mode The unit is determined by the amplitude unit se...

Страница 79: ...ame as the CLEAR key on the front panel You can also send the CLEar command to clear all the waveforms on the screen DISPlay TYPE Syntax DISPlay TYPE type DISPlay TYPE Description Sets or queries the display type of the waveforms on the screen Parameter Name Type Range Default type Discrete VECTors DOTS VECTors Remarks VECTors The sample points are connected by lines and displayed In most cases th...

Страница 80: ...rn Format The query returns MIN 0 1 0 2 0 5 1 2 5 10 or INF Example DISPlay GRADing TIME 0 1 Sets the persistence time to 0 1 s DISPlay GRADing TIME The query returns 0 1 DISPlay WBRightness Syntax DISPlay WBRightness time DISPlay WBRightness Description Sets or queries the brightness of the waveforms on the screen expressed in percentage Parameter Name Type Range Default time Integer 1 to 100 60 ...

Страница 81: ...ery returns an integer ranging from 1 to 100 Example DISPlay GBRightness 60 Sets the screen grid brightness to 60 DISPlay GBRightness The query returns 60 DISPlay DATA Syntax DISPlay DATA Description Queries the bitmap data stream of the currently displayed image Description The query returns the binary data stream of the screenshot in bmp format DISPlay RULers Syntax DISPlay RULers bool DISPlay R...

Страница 82: ...Play COLor Description Enables or disables the color grade display or queries the on off status of the color grade display Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example DISPlay COLor ON Enables the color grade display DISPlay COLor The query returns 1 ...

Страница 83: ...e digital voltmeter Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example DVM ENABle ON Enables the digital voltmeter DVM ENABle The query returns 1 DVM SOURce Syntax DVM SOURce source DVM SOURce Description Sets or queries the source of the digital voltmeter Parameter Name Type Range Default source Discrete CHANnel1 CHANnel2 CHANnel3 CHANnel4 ...

Страница 84: ...ault mode Discrete ACRMs DC DCRMs ACRMs Description ACRMs displays the root mean square value of the acquired data with the DC component removed DC displays the average value of the acquired data DCRMs displays the root mean square value of the acquired data Return Format The query returns ACRM DC or DCRM Example DVM MODE DC Sets the mode of the digital voltmeter to DC DVM MODE The query returns D...

Страница 85: ...on or queries the status of the histogram Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example HISTogram DISPlay ON Enables the histogram HISTogram DISPlay The query returns 1 HISTogram TYPE Syntax HISTogram TYPE type HISTogram TYPE Description Sets or queries the type of the histogram Parameter Name Type Range Default type Discrete HORizontal...

Страница 86: ...am SIZE size HISTogram SIZE Description Sets or queries the height of the histogram Parameter Name Type Range Default size Integer 1 to 4 1 Return Format The query returns an integer ranging from 1 to 4 Example HISTogram SIZE 2 Sets the height of the histogram to 2 HISTogram SIZE The query returns 2 HISTogram STATic Syntax HISTogram STATic bool HISTogram STATic Description Enables or disables the ...

Страница 87: ...LIMit Description Sets or queries the histogram s left boundary limit Parameter Name Type Range Default x Real 5 Horizontal Time Base to 5 Horizontal Time Base 0 V Return Format The query returns the histogram s left boundary limit in scientific notation Example HISTogram LLIMit 2 Sets the histogram s left boundary limit to 2 mV HISTogram LLIMit The query returns 2 000000E0 HISTogram RLIMit Syntax...

Страница 88: ...ram s top boundary limit Parameter Name Type Range Default y Real 4 VerticalScale to 4 VerticalScale vertical scale of the channel source of the histogram 0 V Return Format The query returns the histogram s top boundary limit in scientific notation Example HISTogram TLIMit 2 Sets the histogram s top boundary limit to 2 mV HISTogram TLIMit The query returns 2 000000E0 ...

Страница 89: ...ror queue ESE Syntax ESE maskargument ESE Description Sets or queries the enable register bit of the standard event register set Parameter Name Type Range Default maskargument Integer 0 to 255 0 Return Format The query returns an integer The integer equals to the binary weighted sum of all the bits set in the register Example ESE 16 Enable the bit 4 16 in decimal in the register ESE The query retu...

Страница 90: ...ent software version indicates the software version of the instrument OPC Syntax OPC OPC Description The OPC command sets bit 0 Operation Complete OPC in the standard event status register to 1 after the current operation is finished The OPC command queries whether the current operation is finished Return Format The query returns 1 after the current operation is finished otherwise the query return...

Страница 91: ...ter SRE The query returns the enable value of the register 16 STB Syntax STB Description Queries the event register for the status byte register After executing the command the value in the status byte register is cleared Remarks Bit 0 and Bit 1 in the status byte register are not used and are always treated as 0 therefore the range of the returned value is a decimal number corresponding to a bina...

Страница 92: ...LA AUTOsort LA DELete LA DIGital n DISPlay LA DIGital n POSition LA DIGital n LABel LA DISPlay LA POD n THReshold LA SIZE LA TCALibrate LA GROup n APPend LA STATe Syntax LA STATe bool LA STATe Description Enables or disables LA function or queries the on off status of LA function Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example LA STATe ON...

Страница 93: ...nel Return Format The query returns the current active channel D0 D1 D15 or NONE Example LA ACTive D3 Sets the current active channel to D3 LA ACTive The query returns D3 LA AUTOsort Syntax LA AUTOsort n Description Sets the auto sorting mode for the waveforms of the currently selected channels on the screen Parameter Name Type Range Default n Discrete 0 1 1 Remarks n 0 the waveforms on the screen...

Страница 94: ...ition Syntax LA DIGital POSition digital position LA DIGital POSition digital Description Sets or queries the position of the displayed waveforms of the specified digital channel on the screen Parameter Name Type Range Default digital Integer D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 position Integer When the waveform display size is Small 0 to 31 When the waveform display size is Medi...

Страница 95: ...queries the on off status of the specified default channel group Parameter Name Type Range Default n Integer 1 to 2 bool Bool 1 ON 0 OFF Remarks 2 default channel groups POD1 D0 to D7 and POD2 D8 to D15 Return Format The query returns 1 or 0 Example LA POD1 DISPlay 1 Enables POD1 D0 to D7 LA POD1 DISPlay The query returns 1 LA DISPlay Syntax LA DISPlay channel bool LA DISPlay channel Description T...

Страница 96: ...Default n Integer 1 to 2 thre Real 20 0 V to 20 0 V 1 40V Remarks 2 default channel groups POD1 D0 to D7 or POD2 D8 to D15 Return Format The query returns the current threshold of the specified channel group in scientific notation Example LA POD1 THReshold 3 3 Sets the threshold of POD1 D0 to D7 to 3 3 V LA POD1 THReshold The query returns 3 300000E0 LA SIZE Syntax LA SIZE size LA SIZE Description...

Страница 97: ... the corresponding channel Return Format The query returns the delay calibration time in scientific notation Example LA TCALibrate 0 00000002 Sets the delay calibration time to 20 ns LA TCALibrate The query returns 2 000000E 8 LA GROup n APPend Syntax LA GROup APPend group digital0 digital1 digital2 digita3 digital4 digital5 di gital6 digital7 digital8 digital9 digital10 digital11 digital12 digita...

Страница 98: ...de Parameter Name Type Range Default bool Bool 1 ON 0 OFF 1 ON Remarks When the three IP configuration types DHCP Auto IP and Static IP are all turned on the priority of the parameter configuration from high to low is DHCP Auto IP and Static IP The three IP configuration types cannot be all turned off at the same time When DHPC is valid the DHCP server in the current network will assign the networ...

Страница 99: ...ASCII String Refer to Remarks Remarks The format of string is nnn nnn nnn nnn The range of the first section of nnn is from 0 to 223 except 127 and the ranges of the other three sections of nnn are from 0 to 255 When you use this command the IP configuration mode should be Auto IP or Static IP mode Return Format The query returns the current gateway in strings Example LAN GATeway 192 168 1 1 Sets ...

Страница 100: ... LAN MANual bool LAN MANual Description Turns on or off the static IP configuration mode or queries the on off status of the static IP configuration mode Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Remarks When the static IP mode is valid disable DHCP and Auto IP manually You can self define the network parameters of the oscilloscope such as IP address subnet mask gateway and DNS ...

Страница 101: ...k string LAN SMASk Description Sets or queries the subnet mask Parameter Name Type Range Default string ASCII String Refer to Remarks Remarks The format of string is nnn nnn nnn nnn The range of the section nnn is from 0 to 255 When you use the command the IP configuration mode should be static IP The DHCP and auto IP should be disabled Return Format The query returns the current subnet mask in st...

Страница 102: ...at The query returns 1 or 0 Example LAN MDNS ON Enables MDNS LAN MDNS The query returns 1 LAN HOST NAME Syntax LAN HOST NAME name LAN HOST NAME Description Sets or queries the host name Parameter Name Type Range Default name ASCII String The name can contain English letters and numbers as well as some symbols Return Format The query returns the host name in ASCII strings LAN DESCription Syntax LAN...

Страница 103: ...Chapter 2 Command System RIGOL MSO7000 DS7000 Programming Guide 2 89 LAN APPLy Syntax LAN APPLy Description Applies the network configuration ...

Страница 104: ...XY or ROLL when in the slow sweep mode i g the horizontal time base mode is YT and the horizontal time base is 200 ms div or slower when in waveform recoding Return Format The query returns 1 or 0 Example MASK ENABle ON Enables the pass fail test function MASK ENABle The query returns 1 MASK SOURce Syntax MASK SOURce source MASK SOURce Description Sets or queries the measurement source of the pass...

Страница 105: ... pass fail test function MASK OPERate The query returns RUN MASK MDISplay Syntax MASK MDISplay bool MASK MDISplay Description Enables or disables the statistical function or queries the on off status of the statistical function when the pass fail test is enabled Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Description Before running this command send the MASK ENABle command to enab...

Страница 106: ...vertical adjustment parameter of the pass fail test mask The default unit is div Parameter Name Type Range Default y Real 0 04 div to 2 div 0 48 div Return Format The query returns the current vertical adjustment parameter in scientific notation Example MASK Y 0 36 Sets the vertical adjustment parameter to 0 36 div MASK Y The query returns 3 600000E 1 MASK CREate Syntax MASK CREate Description Cre...

Страница 107: ... operation the waveform data involved in the operation and the preset threshold are compared with each other and then transferred to 0 or 1 Therefore the operation results are only reduced to 0 and 1 Command List MATH n DISPlay MATH n OPERator MATH n SOURce1 MATH n SOURce2 MATH n LSOUrce1 MATH n LSOUrce2 MATH n SCALe MATH n OFFSet MATH n INVert MATH n RESet MATH n FFT SOURce MATH n FFT WINDow MATH...

Страница 108: ... The query returns 1 or 0 Example MATH1 DISPlay ON Enables the operation function of Math1 MATH1 DISPlay The query returns 1 MATH n OPERator Syntax MATH n OPERator opt MATH n OPERator Description Sets or queries the operator of math operation Parameter Name Type Range Default n Discrete 1 2 3 4 opt Discrete ADD SUBTract MULTiply DIVision AND OR X OR NOT FFT INTG DIFF SQRT LOG LN EXP ABS LPASs HPAS...

Страница 109: ...OURce2 Description Sets or queries Source B of arithmetic operation Parameter Name Type Range Default n Discrete 1 2 3 4 src Discrete CHANnel1 CHANnel2 CHANnel3 CHANnel4 CHANnel1 Remarks This command is only available for arithmetic operation containing two sources Return Format The query returns CHAN1 CHAN2 CHAN3 or CHAN4 Example MATH1 SOURce2 CHANnel3 Sets Source B of the arithmetic operation to...

Страница 110: ... D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example MATH1 LSOUrce2 D4 Sets Source B of the logic operation to D4 MATH1 LSOUrce2 The query returns D4 MATH n SCALe Syntax MATH n SCALe scale MATH n SCALe Description Sets or queries the vertical scale of the operation results The unit is related to the currently selected operator and the unit selected by the source Parameter Name Type Range Default n Disc...

Страница 111: ...1 OFFSet The query returns 8 000000E0 MATH n INVert Syntax MATH n INVert bool MATH n INVert Description Enables or disables the inverted display of the operation results or queries the status of the inverted display of the operation results Parameter Name Type Range Default n Discrete 1 2 3 4 bool Bool 1 ON 0 OFF 0 OFF Remarks This command is invalid for FFT operation Return Format The query retur...

Страница 112: ... BLACkman HANNing HAMMing FLATtop TRIangle RECTangle Remarks Spectral leakage can be considerably decreased when a window function is used Different window functions are applicable to measurements of different waveforms You need to select the window function according to the different waveforms to be measured and their characteristics Return Format The query returns RECT BLAC HANN HAMM FLAT or TRI...

Страница 113: ... or queries the vertical unit of FFT operation results Parameter Name Type Range Default n Discrete 1 2 3 4 unit Discrete VRMS DB DB Return Format The query returns VRMS or DB Example MATH1 FFT UNIT VRMS Sets the vertical unit of FFT operation results to Vrms MATH1 FFT UNIT The query returns VRMS MATH n FFT SCALe Syntax MATH n FFT SCALe scale MATH n FFT SCALe Description Sets or queries the vertic...

Страница 114: ... Range Default hsc Real 10 Hz to 5 GHz 10 MHz Remarks You can reduce the frequency range to observe the details of the spectrum Return Format The query returns the current frequency range in scientific notation Example MATH1 FFT HSCale 500000 Sets the frequency range of FFT operation results to 500 kHz MATH1 FFT HSCale The query returns 5 000000E 5 MATH n FFT HCENter Syntax MATH n FFT HCENter cent...

Страница 115: ...FT FREQuency END Description Sets or queries the stop frequency of FFT operation results Parameter Name Type Range Default n Discrete 1 2 3 4 value Real 2 5 GHz to 2 5 GHz 10 MHz Return Format The query returns the stop frequency of the operation results in scientific notation Example MATH1 FFT FREQuency END 10000000 Sets the stop frequency of the FFT operation results to 10 MHz MATH1 FFT FREQuenc...

Страница 116: ...screte 1 2 3 4 thres Real Related to the vertical scale and vertical offset of FFT operation 5 5 dB Return Format The query returns the threshold in scientific notation Example MATH1 FFT SEARch THReshold 0 5 Sets the threshold of the FFT peak search to 500 mdB MATH1 FFT SEARch THReshold The query returns 5 000000E 1 MATH n FFT SEARch EXCursion Syntax MATH n FFT SEARch EXCursion excur MATH n FFT SE...

Страница 117: ...encies in the signal by setting the bandwidth You can use the MATH n FFT SOURce command to set or query the channel source of the filter LPASs indicates low pass filter which only allows the signals whose frequencies are smaller than the current cut off frequency to pass HPASs indicates high pass filter which only allows the signals whose frequencies are greater than the current cut off frequency ...

Страница 118: ...ate to 0 095 screen sample rate at a step of 0 005 screen sample rate Wherein screen sample rate 100 horizontal time base Note The cut off frequency 1 must be smaller than the cut off frequency 2 Return Format The query returns the current cut off frequency or cut off frequency 1 in scientific notation Example MATH1 FILTer W1 1000000 Sets the cut off frequency of Low Pass Filter to 1 MHz MATH1 FIL...

Страница 119: ... n DISTance dist MATH n DISTance Description Sets or queries the smoothing window width of differential operation Parameter Name Type Range Default n Discrete 1 2 3 4 dist Integer 5 to 10000 5 Return Format The query returns an integer ranging from 5 to 10000 Example MATH1 DISTance 20 Sets the smoothing window width of differential operation to 20 MATH1 DISTance The query returns 20 MATH n THResho...

Страница 120: ... logic operation The default unit is V Parameter Name Type Range Default n Discrete 1 2 3 4 thre Real 4 VerticalScale VerticalOffset to 4 VerticalScale VerticalOffset 0 V Description This command is only available in the following conditions logic operations A B A B A B and A and Source B of the logic operation is an analog channel VerticalScale indicates the vertical scale of the current Source B...

Страница 121: ... MAX MEASure SETup MID MEASure SETup MIN MEASure SETup PSA MEASure SETup PSB MEASure SETup DSA MEASure SETup DSB MEASure STATistic DISPlay MEASure STATistic RESet MEASure STATistic ITEM MEASure ITEM MEASure AREA MEASure CREGion CAX MEASure CREGion CBX MEASure CATegory MEASure SOURce Syntax MEASure SOURce sour MEASure SOURce Description Sets or queries the channel source of the current measurement ...

Страница 122: ...re COUNter SOURce Syntax MEASure COUNter SOURce source MEASure COUNter SOURce Description Sets or queries the measurement source of the frequency counter Parameter Name Type Range Default source Discrete D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D 11 D12 D13 D14 D15 CHANnel1 CHANnel2 CHANnel3 CHANnel4 EXT CHANnel1 Remarks Only the currently enabled channels can be selected Return Format The query returns ...

Страница 123: ...ame Type Range Default source Discrete CHANnel1 CHANnel2 CHANnel3 CHANnel4 MATH1 MATH2 MATH3 MATH4 CHANnel1 Remarks Modifying the threshold will affect the measurement results of time delay and phase parameters Example MEASure THReshold SOURce CHANnel2 Sets the threshold source to CH2 MEASure THReshold DEFault Syntax MEASure THReshold DEFault Description Sets the threshold level of the analog chan...

Страница 124: ...Name Type Range Default value Integer Refer to Remarks Remarks When the threshold type is percentage its range is from 0 to 100 when the threshold type is absolute its range is from 100 mV to 100 mV When the set upper limit is smaller than the current middle value the middle value will be automatically reduced so as to make itself to be smaller than the upper limit Return Format The query returns ...

Страница 125: ... current middle value the middle value will be automatically increased so as to make itself greater than the lower limit Return Format The query returns an integer Example MEASure SETup MIN 53 Sets the lower limit of the threshold level to 53 MEASure SETup MIN The query returns 53 MEASure SETup PSA Syntax MEASure SETup PSA source MEASure SETup PSA Description Sets or queries Source A in the phase ...

Страница 126: ...D 12 D13 D14 D15 CHANnel1 CHANnel2 CHANnel 3 CHANnel4 MATH1 MATH2 MATH3 MATH4 CHANnel1 Remarks Return Format This command has the same function as the MEASure SETup PSA command The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 CHAN4 MATH1 MATH2 MATH3 or MATH4 Example MEASure SETup DSA CHANnel1 Sets Source A of the delay measurement to CH1 MEASure SETup DSA T...

Страница 127: ...EM Syntax MEASure STATistic ITEM item src src MEASure STATistic ITEM type item src src Description Enables the statistical function of any waveform parameter of the specified source or queries the statistical results of any waveform parameter of the specified source Parameter Name Type Range Default item Discrete VMAX VMIN VPP VTOP VBASe VAMP VA VG VRMS OVERshoot PREShoot MARea MPARea PERiod FREQu...

Страница 128: ...PREShoot MARea MPARea PERiod FREQuency RTIMe FTIMe PWIDth NWIDth PDUTy NDUTy TVMax TVMin PSLew rate NSLewrate VUPPer VMID VLOWer VARia nce PVRMs PPULses NPULses PEDGes NEDG es RRDelay RFDelay FRDelay FFDelay RRPH ase RFPHase FRPHase FFPHase src Discrete Refer to Remarks Remarks The parameter src src is used to set the source of the parameter under measurement If the parameter item is set to PERiod...

Страница 129: ...rns MAIN ZOOM or CURS Example MEASure AREA ZOOM Sets the type of the measurement range to ZOOM MEASure AREA The query returns ZOOM MEASure CREGion CAX Syntax MEASure CREGion CAX cax MEASure CREGion CAX Description Sets or queries the position of Cursor A when the measurement range is the cursor region Parameter Name Type Range Default cax Integer 0 to 1 000 600 Remarks The position of the cursor i...

Страница 130: ...m 0 to 1 000 from left to right You can run the MEASure AREA command to set the measurement range to cursor region Return Format The query returns the position of Cursor B in integer Example MEASure CREGion CBX 100 Sets the position of Cursor B to 100 MEASure CREGion CBX The query returns 100 MEASure CATegory Syntax MEASure CATegory val MEASure CATegory Description Sets or queries the measurement ...

Страница 131: ...lyzing the power quality you can test the quality of AC input lines RIPPle indicates the ripple quantity of the output DC voltage Return Format The query returns QUAL or RIPP Example POWer TYPE RIPPle Sets the power analysis type to RIPPle POWer TYPE The query returns RIPP POWer CURRentsource Syntax POWer CURRentsource source POWer CURRentsource Description Sets or queries the current source of po...

Страница 132: ...ence Description Sets or queries the frequency reference source of power quality Parameter Name Type Range Default source Discrete VOLTage CURRent VOLTage Return Format The query returns VOLT or CURR Example POWer QUALity FREQREFerence CURRent Sets the frequency reference source of power quality to CURRent POWer QUALity FREQREFerence The query returns CURR POWer REFLevel METHod Syntax POWer REFLev...

Страница 133: ...t LOW Description Sets or queries the reference level percentage lower limit of power quality Parameter Name Type Range Default value Integer median 1 to 0 0 Return Format The query returns an integer ranging from median 1 to 0 Example POWer REFLevel PERCent LOW 20 Sets the reference level percentage lower limit of power quality to 20 POWer REFLevel PERCent LOW The query returns 20 POWer REFLevel ...

Страница 134: ...r queries the type of the shortcut keys Parameter Name Type Range Default type Discrete SIMage SWAVe SSETup AMEasure SRESet SIMage Remarks SIMage indicates the screen image SWAVe indicates the waveform saving SSETup indicates the setup saving AMEasure indicates all measurement SRESet indicates statistics reset Return Format The query returns SIM SWAV SSET AME or SRES Example Quick OPERation SWAVe ...

Страница 135: ...Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example RECord ENABle ON Enables the waveform recording function RECord ENABle The query returns 1 RECord STARt Syntax RECord STARt bool RECord STARt Description Sets to start the waveform recording or queries whether the waveform recording starts or stops Parameter Name Type Range Default bool Bool...

Страница 136: ...ameter Name Type Range Default value Integer 1 to the maximum number of frames recorded The maximum number of frames recorded Return Format The query returns an integer Example RECord CURRent 300 Sets the current frame for waveform playing to 300 RECord CURRent The query returns 300 RECord FRAMes Syntax RECord FRAMes value RECord FRAMes Description Sets or queries the number of frames for waveform...

Страница 137: ... Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example REFerence DISPlay ON Enables the REF function REFerence DISPlay The query returns 1 REFerence SOURce Syntax REFerence SOURce ref chan REFerence SOURce ref Description Sets or queries the source of the specified reference channel Parameter Name Type Range Default ref Discrete 1 2 3 4 5 6 7 8...

Страница 138: ...ference channel has saved the reference waveforms Otherwise when you send this command a prompt message Reference data not ready is displayed Return Format The query returns the vertical scale in scientific notation Example REFerence VSCale 1 2 Sets the vertical scale of reference channel 1 to 2 V REFerence VSCale 1 The query returns 2 000000E0 REFerence VOFFset Syntax REFerence VOFFset ref offset...

Страница 139: ...cted as the current reference channel REFerence SAVE Syntax REFerence SAVE ref Description Saves the waveform of the specified reference channel to the internal memory as the reference waveform Parameter Name Type Range Default ref Discrete 1 2 3 4 5 6 7 8 9 10 REFerence COLor Syntax REFerence COLor ref color REFerence COLor ref Description Sets or queries the display color of the specified refere...

Страница 140: ...play of all the labels REFerence LABel ENABle The query returns 1 REFerence LABel CONTent Syntax REFerence LABel CONTent ref str REFerence LABel CONTent ref Description Sets or queries the label of the specified reference channel Parameter Name Type Range Default ref Discrete 1 2 3 4 5 6 7 8 9 10 str ASCII String The string can contain English letters and numbers as well as some symbols Return For...

Страница 141: ...a suffix If the specified storage location already contains a file with the same filename the original file will be overwritten The stored csv file can be opened and edited in Excel Example SAVE CSV D 123 csv Stores the waveform data displayed on the screen into the external memory Disk D with the filename 123 csv SAVE CSV LENGth Syntax SAVE CSV LENGth len SAVE CSV LENGth Description Sets or queri...

Страница 142: ...ter Name Type Range Default path ASCII String Refer to Remarks Remarks path includes the file storage location and the filename with a suffix The suffix of the filename can be bmp png jpg or tiff If the specified storage location already contains a file with the same filename the original file will be overwritten Example SAVE IMAGe D 123 png Stores the contents displayed on the screen into the ext...

Страница 143: ...eturn Format The query returns COL or GRAY Example SAVE IMAGe COLor GRAY Sets the image color for image saving to GRAY SAVE IMAGe COLor The query returns GRAY SAVE SETup Syntax SAVE SETup path Description Saves the current parameter settings of the oscilloscope to the internal or external memory in stp format Parameter Name Type Range Default path ASCII String Refer to Remarks Remarks In the inter...

Страница 144: ...the waveform file to the external memory Disk D with the filename 123 wfm SAVE STATus Syntax SAVE STATus Description Queries the saving status of the internal memory or the external USB storage device Return Format The query returns 0 or 1 when the saving operation is completed LOAD SETup Syntax LOAD SETup path Description Loads the setup file of the oscilloscope from the specified path Parameter ...

Страница 145: ...OLarity SEARch RUNT QUALifier SEARch RUNT SOURce SEARch SLOPe POLarity SEARch SLOPe QUALifier SEARch SLOPe SOURce SEARch STATe Syntax SEARch STATe bool SEARch STATe Description Enables or disables the search function or queries the on off status of the search function Parameter Name Type Range Default bool Bool 1 ON 0 OFF 0 OFF Return Format The query returns 1 or 0 Example SEARch STATe ON Enables...

Страница 146: ...S232 I2C or SPI Example SEARch MODE PULSe Selects the search type to PULSe SEARch MODE The query returns PULS SEARch EVENt Syntax SEARch EVENt value SEARch EVENt Description Sets to navigate a search event Parameter Name Type Range Default value Integer 0 to the number of searched events 1 0 Return Format The query returns an integer Example SEARch MODE EDGE Sets to navigate to Search Event 1 SEAR...

Страница 147: ...rity Syntax SEARch PULSe POLarity polarity SEARch PULSe POLarity Description Sets or queries the polarity for Pulse search type Parameter Name Type Range Default polarity Discrete POSitive NEGative POSitive Return Format The query returns POS or NEG Example SEARch PULSe POLarity POSitive Sets the polarity for Pulse search type to POSitive SEARch PULSe POLarity The query returns POS SEARch PULSe QU...

Страница 148: ...turn Format The query returns CHAN1 CHAN2 CHAN3 or CHAN4 Example SEARch PULSe SOURce CHANnel1 Sets the source to CH1 SEARch PULSe SOURce The query returns CHAN1 SEARch RUNT POLarity Syntax SEARch RUNT POLarity polarity SEARch RUNT POLarity Description Sets or queries the polarity for Runt search type Parameter Name Type Range Default polarity Discrete POSitive NEGative POSitive Return Format The q...

Страница 149: ... The query returns LESS SEARch RUNT SOURce Syntax SEARch RUNT SOURce source SEARch RUNT SOURce Description Sets or queries the source for Runt search type Parameter Name Type Range Default source Discrete CHANnel1 CHANnel2 CHANnel3 CHANnel4 CHANnel1 Return Format The query returns CHAN1 CHAN2 CHAN3 or CHAN4 Example SEARch RUNT SOURce CHANnel1 Sets the source to CH1 SEARch RUNT SOURce The query ret...

Страница 150: ...ope time of the input signal is greater than the specified lower limit of time and smaller than the specified upper limit of time Return Format The query returns GRE LESS or GLES Example SEARch SLOPe QUALifier LESS Sets the search condition for Slope search type to LESS SEARch SLOPe QUALifier The query returns LESS SEARch SLOPe SOURce Syntax SEARch SLOPe SOURce source SEARch SLOPe SOURce Descripti...

Страница 151: ...arbitrary waveform generator option Command List SOURce n FREQuency FIXed SOURce n PHASe ADJust SOURce n PHASe INITiate SOURce n FUNCtion SHAPe SOURce n FUNCtion RAMP SYMMetry SOURce n VOLTage LEVel IMMediate AMPLitude SOURce n VOLTage LEVel IMMediate OFFSet SOURce n PULSe DCYCle SOURce n MOD TYPE SOURce n MOD AM DEPTh SOURce n MOD AM INTernal FREQuency SOURce n MOD FM INTernal FREQuency SOURce n ...

Страница 152: ...fault the operations are carried out on GI frequency Real Sine 100 mHz to 25 MHz Square 100 mHz to 15 MHz Pulse 100 mHz to 1 MHz Ramp 100 mHz to 100 kHz Arb 100 mHz to 10 MHz 1 kHz Return Format The query returns the frequency value in scientific notation For example 2 0000000E 5 Example FREQuency 1000 Sets the output frequency of GI to 1 kHz FREQuency The query returns 1 000000E 3 SOURce n PHASe ...

Страница 153: ...to adjust the start phase of the function arbitrary waveform generator manually SOURce n FUNCtion SHAPe Syntax SOURce n FUNCtion SHAPe wave SOURce n FUNCtion SHAPe Description If modulation is not enabled for the specified function arbitrary waveform generator channel this command is used to select or query the output signal waveform If modulation is enabled for the specified function arbitrary wa...

Страница 154: ...ry 50 Sets the symmetry of Ramp waveform output from GI to 50 FUNCtion RAMP SYMMetry The query returns 5 000000E 1 SOURce n VOLTage LEVel IMMediate AMPLitude Syntax SOURce n VOLTage LEVel IMMediate AMPLitude amplitude SOURce n VOLTage LEVel IMMediate AMPLitude Description Sets or query the amplitude of the signal output from the specified function arbitrary waveform generator channel By default th...

Страница 155: ...arks Send the SOURce n OUTPut n IMPedance command to set the input impedance Send the SOURce n VOLTage LEVel IMMediate AMPLitude command to set the current amplitude Return Format The query returns the DC offset in scientific notation Example VOLTage OFFSet 0 5 Sets the DC offset of GI to 500 mVDC VOLTage OFFSet The query returns 5 0000000E 1 SOURce n PULSe DCYCle Syntax SOURce n PULSe DCYCle perc...

Страница 156: ...Keying Modulation Control the carrier frequency changes with the digital signal The Sine Square Ramp Built in Waveform or Non DC signal s arbitrary waveforms can be regarded as carrier waveforms You can select Sine Square Triangle or Noise as the modulating waveforms Return Format The query returns AM FM or FSK Example MOD TYPE AM Sets the modulation type of GI to AM MOD TYPE The query returns AM ...

Страница 157: ...iption Sets or queries the modulating waveform frequency of AM or FM of the specified function arbitrary waveform generator channel Parameter Name Type Range Default n Discrete 1 2 When omitted by default the operations are carried out on GI frequency Integer 1 Hz to 50 kHz 1 kHz Remarks You can send the SOURce n MOD TYPE command to set the modulation type AM Amplitude Modulation The amplitude of ...

Страница 158: ... can send the SOURce n MOD TYPE command to set the modulation type AM Amplitude Modulation The amplitude of the carrier waveform changes with the amplitude of the modulating waveform FM Frequency Modulation The frequency of the carrier waveform changes with the modulating waveform Return Format The query returns SIN SQU RAMP or NOIS Example MOD AM INTernal FUNCtion SQUare Sets the modulating wavef...

Страница 159: ...ult n Discrete 1 2 When omitted by default the operations are carried out on GI Return Format The query returns the current output configuration in waveform name frequency amplitude offset start phase format If no corresponding parameter is found DEF is replaced with the specified parameter value Example APPLy The query returns SIN 1000 000000 2 000000 0 500000 90 000000 SOURce n APPLy NOISe SOURc...

Страница 160: ...waveform this parameter is not available for Noise waveform By default the unit is Hz amp sets the amplitude of the specified waveform By default the unit is Vpp offset sets the DC offset of the specified waveform By default the unit is VDC phase sets the start phase of the specified waveform this parameter is not available for Noise waveform By default the unit is degree This series of commands a...

Страница 161: ...over the latter That is when the former is omitted the latter is used to specify the channel when the former is not omitted the former is used to specify the channel Return Format The query returns OFF or ON Example OUTPut 1 Enables the output of GI OUTPut The query returns ON SOURce n OUTPut n IMPedance Syntax SOURce n OUTPut n IMPedance impedance SOURce n OUTPut n IMPedance Description Sets or q...

Страница 162: ...and List SYSTem AOUTput SYSTem AUTOscale SYSTem BEEPer SYSTem DATE SYSTem ERRor NEXT SYSTem GAMount SYSTem GPIB SYSTem KEY PRESs SYSTem KEY INCRease SYSTem KEY DECRease SYSTem LANGuage SYSTem PON SYSTem PSTatus SYSTem OPTion INSTall SYSTem OPTion UNINSTall SYSTem OPTion STATus SYSTem RAMount SYSTem RESet SYSTem SETup SYSTem SSAVEr TIME SYSTem TIME SYSTem LOCKed SYSTem MODules ...

Страница 163: ...d event Return Format The query returns TOUT or PFA Example SYSTem AOUTput PFAil Sets the signal type to PFAil SYSTem AOUTput The query returns PFA SYSTem AUTOscale Syntax SYSTem AUTOscale bool SYSTem AUTOscale Description Enables or disables the function of the front panel AUTO key or queries the on off status of the AUTO key on the front panel Parameter Name Type Range Default bool Bool 1 ON 0 O...

Страница 164: ...to 31 28 29 or 30 Return Format The query returns the system date in strings The year month and date are separated by commas Example SYSTem DATE 2017 10 17 Sets the system date to 2017 10 17 SYSTem DATE The query returns 2017 10 17 SYSTem ERRor NEXT Syntax SYSTem ERRor NEXT Description Queries and clears the latest error message Return Format The query is in Message Number Message Content format W...

Страница 165: ...Sition Remarks The value of the parameter key corresponds to the specified key on the front panel The definitions for the key are as follows CH1 CH2 CH3 CH4 MATH REF LA DECode DEFault CLEar AUTO SINGle QUICk ME ASure ACQuire STORage CURSor DISPlay UTILity FORCe BACK TOUCh ZOOM SEA Rch press the specified key on the front panel MOFF hides or display the menu at the right side of the screen F1 F2 F3...

Страница 166: ...STem KEY PRESs CH1 Press the CH1 key on the front panel of the oscilloscope SYSTem KEY INCRease SYSTem KEY DECRease Syntax SYSTem KEY INCRease key val SYSTem KEY DECRease key val Description Rotate the specified knob clockwise Rotate the specified knob counterclockwise Parameter Name Type Range Default key Discrete VOFFset1 VOFFset2 VOFFset3 VOFFset4 VSCale1 VSCale2 VSCale3 VSCale4 HSCale HPOSitio...

Страница 167: ...Hinese KORean JAPanese EN GLish GERMan PORTuguese POLish FRENch RUSSian SPAN SCHinese Remarks The language settings are not affected by factory default settings send the RST command Return Format The query returns SCH TCH KOR JAP ENGL GERM PORT POL FREN RUSS or SPAN Example SYSTem LANGuage ENGLish Sets the system language to ENGLish SYSTem LANGuage The query returns ENGL SYSTem PON Syntax SYSTem P...

Страница 168: ...nd then use the key to obtain the option license according to the following steps Log in to the RIGOL official website www rigol com click License Activation to enter the Registered product license code interface In the interface enter the correct key serial number press Utility System About to obtain the serial number of the instrument You can also open the Help function menu and then press About...

Страница 169: ...n Resets the system to power on again SYSTem SETup Syntax SYSTem SETup setup_data SYSTem SETup Description Sends or reads the data stream of the system setup file Parameter Name Type Range Default setup_data ASCII String Refer to Remarks Remarks setup_data is a binary data block which consists of the TMC data block header and setup data The format of the TMC data block header is NX X Wherein is th...

Страница 170: ...inutes seconds SYSTem TIME Description Sets or queries the system time Parameter Name Type Range Default hours Integer 0 to 23 minutes Integer 0 to 59 seconds Integer 0 to 59 Remarks There is a certain delay between the return time value and the set time value due to the command response time and other factors Return Format The query returns the system time in strings Example SYSTem TIME 16 10 17 ...

Страница 171: ...157 SYSTem MODules Syntax SYSTem MODules Description Queries the hardware modules Return Format The query returns 1 0 0 0 0 The first figure indicates LA the second figure indicates DG and the others are not defined currently 1 indicates not null and 0 indicates null ...

Страница 172: ...Type Range Default bool Bool 1 ON 0 OFF 0 OFF Remarks Delayed sweep can be used to enlarge a length of waveform horizontally to view waveform details Return Format The query returns 1 or 0 Example TIMebase DELay ENABle ON Enables the delayed sweep TIMebase DELay ENABle The query returns 1 TIMebase DELay OFFSet Syntax TIMebase DELay OFFSet offset TIMebase DELay OFFSet Description Sets or queries th...

Страница 173: ...m the maximum value at 1 2 5 step If the minimum value calculated from the above formula is not one of the settable values take the minimum settable value that is greater than the minimum value calculated Return Format The query returns the delayed time base scale in scientific notation Example TIMebase DELay SCALe 0 00000005 Sets the delayed time base scale to 50 ns div TIMebase DELay SCALe The q...

Страница 174: ...time base scale to 200 μs div TIMebase MAIN SCALe The query returns 2 000000E 4 TIMebase MODE Syntax TIMebase MODE mode TIMebase MODE Description Sets or queries the horizontal time base mode Parameter Name Type Range Default mode Discrete MAIN XY ROLL MAIN Remarks MAIN indicates the YT mode XY indicates the XY mode ROLL indicates the Roll mode Return Format The query returns MAIN XY or ROLL Examp...

Страница 175: ...sition TIMebase HREFerence MODE The query returns TRIG TIMebase HREFerence POSition Syntax TIMebase HREFerence POSition pos TIMebase HREFerence POSition Description Sets or queries the user defined reference position when the waveforms are expanded or compressed horizontally Parameter Name Type Range Default pos Discrete 500 to 500 0 Return Format The query returns an integer ranging from 500 to 5...

Страница 176: ...Pling TRIGger STATus TRIGger SWEep TRIGger HOLDoff TRIGger NREJect TRIGger EDGE TRIGger PULSe TRIGger SLOPe TRIGger VIDeo TRIGger PATTern TRIGger DURATion TRIGger TIMeout TRIGger RUNT TRIGger WINDows TRIGger DELay TRIGger SHOLd TRIGger NEDGe TRIGger RS232 Option TRIGger IIC Option TRIGger CAN Option TRIGger SPI Option TRIGger FLEXray Option TRIGger IIS Option TRIGger LIN Option TRIGger M1553 Optio...

Страница 177: ...ng couple TRIGger COUPling Description Selects or queries the trigger coupling type Parameter Name Type Range Default couple Discrete AC DC LFReject HFReject DC Remarks This command is only available for the Edge trigger in which the analog channel is selected as the source AC blocks any DC components DC allows DC and AC components to pass the trigger path LFReject blocks the DC components and rej...

Страница 178: ...er SWEep SINGle Selects the single trigger mode TRIGger SWEep The query returns SING TRIGger HOLDoff Syntax TRIGger HOLDoff value TRIGger HOLDoff Description Sets or queries the trigger holdoff time The default unit is s Parameter Name Type Range Default value Real 16 ns to 10 s 16ns Remarks Trigger holdoff can be used to stably trigger complex waveforms such as pulse waveform Holdoff time indicat...

Страница 179: ...E Command List TRIGger EDGE SOURce TRIGger EDGE SLOPe TRIGger EDGE LEVel TRIGger EDGE SOURce Syntax TRIGger EDGE SOURce source TRIGger EDGE SOURce Description Sets or queries the trigger source of Edge trigger Parameter Name Type Range Default source Discrete D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D 11 D12 D13 D14 D15 CHANnel1 CHANnel2 CHANnel3 CHANnel4 ACLine EXT CHANnel1 Return Format The query retur...

Страница 180: ... or queries the trigger level of Edge trigger The unit is the same as that of current amplitude of the selected source Parameter Name Type Range Default level Real 5 VerticalScale OFFSet to 5 VerticalScale OFFSet 0 Remarks For VerticalScale refer to the CHANnel n SCALe command For OFFSet refer to the CHANnel n OFFSet command Only when the selected source is an analog channel a digital channel or a...

Страница 181: ...ts the trigger source to CH1 TRIGger PULSe SOURce The query returns CHAN1 TRIGger PULSe WHEN Syntax TRIGger PULSe WHEN when TRIGger PULSe WHEN Description Sets or queries the trigger condition of Pulse trigger Parameter Name Type Range Default when Discrete GREater LESS GLESs GREater Remarks GReater triggers when the positive negative pulse width of the input signal is greater than the specified p...

Страница 182: ...al 800 ps to pulse upper limit 1 μs Remarks The set lower limit must be smaller than the upper limit otherwise the upper limit will be automatically changed Return Format The query returns the lower limit of the pulse width in scientific notation Example TRIGger PULSe LWIDth 0 000003 Sets the lower limit of the pulse width to 3 μs TRIGger PULSe LWIDth The query returns 3 000000E 6 TRIGger PULSe LE...

Страница 183: ...ets the trigger source to CH2 TRIGger SLOPe SOURce The query returns CHAN2 TRIGger SLOPe WHEN Syntax TRIGger SLOPe WHEN when TRIGger SLOPe WHEN Description Sets or queries the trigger condition of Slope trigger Parameter Name Type Range Default when Discrete GREater LESS GLESs GREater Remarks GREater the positive slope time of the input signal is greater than the specified time value LESS the nega...

Страница 184: ... trigger The default unit is s Parameter Name Type Range Default time Real 2 ns to upper limit 1 μs Remarks The set lower limit must be smaller than the upper limit otherwise the upper limit will be automatically changed Return Format The query returns the lower time limit in scientific notation Example TRIGger SLOPe TLOWer 0 000000020 Sets the lower time limit to 20 ns TRIGger SLOPe TLOWer The qu...

Страница 185: ...xample TRIGger SLOPe ALEVel 0 16 Sets the upper limit of the trigger level to 160 mV TRIGger SLOPe ALEVel The query returns 1 600000E 1 TRIGger SLOPe BLEVel Syntax TRIGger SLOPe BLEVel level TRIGger SLOPe BLEVel Description Sets or queries the lower limit of the trigger level of Slope trigger The unit is the same as that of the current amplitude Parameter Name Type Range Default level Real 5 Verti...

Страница 186: ...te CHANnel1 CHANnel2 CHANnel3 CHANnel4 CHANnel1 Return Format The query returns CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger VIDeo SOURce CHANnel2 Sets the trigger source to CH2 TRIGger VIDeo SOURce The query returns CHAN2 TRIGger VIDeo POLarity Syntax TRIGger VIDeo POLarity polarity TRIGger VIDeo POLarity Description Sets or queries the video polarity of Video trigger Parameter Name Type Range Defa...

Страница 187: ...NTSC or PAL SECAM LINE for NTSC and PAL SECAM video standards the oscilloscope triggers on the specified line in the odd or even field For 480P and 576P video standards the oscilloscope triggers on the specified line ALINes triggers on all the horizontal sync pulses Return Format The query returns ODDF EVEN LINE or ALIN Example TRIGger VIDeo MODE ODDField Sets the sync type to odd field TRIGger VI...

Страница 188: ...s that the frame frequency is 60 frames per second The TV scan line is 525 with progressive scan the line frequency is 31 5 kHz 576P indicates that the frame frequency is 60 frames per second The TV scan line is 625 with progressive scan Return Format The query returns PALS NTSC 480P or 576P Example TRIGger VIDeo STANdard NTSC Selects NTSC as the video standard TRIGger VIDeo STANdard The query ret...

Страница 189: ...parameter range H indicates high level higher than the threshold level of the channel L indicates low level lower than the threshold level of the channel and X indicates omitting the channel This channel is not used as a part of the pattern When all the channels are set to X the oscilloscope will not trigger R indicates rising edge and F indicates falling edge Only one edge rising or falling can b...

Страница 190: ...FSet refer to the CHANnel n OFFSet command Return Format The query returns the trigger level in scientific notation Example TRIGger PATTern LEVel CHANnel2 0 16 Sets the trigger level of CH2 to 160 mV TRIGger PATTern LEVel CHANnel2 The query returns 1 600000E 1 TRIGger PATTern SOURce Syntax TRIGger PATTern SOURce source TRIGger PATTern SOURce Description Sets or queries the trigger source of Patter...

Страница 191: ...eturns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger DURATion SOURce CHANnel2 Sets the trigger source to CH2 TRIGger DURATion SOURce The query returns CHAN2 TRIGger DURATion TYPE Syntax TRIGger DURation TYPE pch1 pch2 pch3 pch4 pla0 pla1 pla2 pla3 pla4 pla5 pla6 pla7 pla8 pla9 pla10 pla11 pla12 pla13 pla14 pla15 TRIGger DURation TYPE Description S...

Страница 192: ...t duration time of the pattern is greater than the preset time LESS triggers when the set duration time of the pattern is smaller than the preset time GLESs triggers when the set duration time of the pattern is smaller than the preset upper time limit and greater than the preset lower time limit UNGLess triggers when the set duration time of the pattern is greater than the preset upper time limit ...

Страница 193: ...er The query returns 3 000000E 6 TRIGger DURation LEVel Syntax TRIGger DURation LEVel source level TRIGger DURation LEVel source Description Sets or queries the trigger level of the specified channel in Duration trigger The unit is the same as that of the current amplitude Parameter Name Type Range Default source Discrete D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D 11 D12 D13 D14 D15 CHANnel1 CHANnel2 CHA...

Страница 194: ...AN4 Example TRIGger TIMeout SOURce CHANnel2 Sets the trigger source to CH2 TRIGger TIMeout SOURce The query returns CHAN2 TRIGger TIMeout SLOPe Syntax TRIGger TIMeout SLOPe slope TRIGger TIMeout SLOPe Description Sets or queries the edge type of Timeout trigger Parameter Name Type Range Default slope Discrete POSitive NEGative RFALl POSitive Remarks POSitive starts timing when the rising edge of t...

Страница 195: ...TIMeout TIME The query returns 2 000000E 3 TRIGger TIMeout LEVel Syntax TRIGger TIMeout LEVel level TRIGger TIMeout LEVel Description Sets or queries the trigger level of Timeout trigger The unit is the same as that of the current amplitude Parameter Name Type Range Default level Real 5 VerticalScale OFFSet to 5 VerticalScale OFFSet 0 V Remarks For VerticalScale refer to the CHANnel n SCALe comman...

Страница 196: ...4 Example TRIGger RUNT SOURce CHANnel2 Sets the trigger source to CH2 TRIGger RUNT SOURce The query returns CHAN2 TRIGger RUNT POLarity Syntax TRIGger RUNT POLarity polarity TRIGger RUNT POLarity Description Sets or queries the polarity of Runt trigger Parameter Name Type Range Default polarity Discrete POSitive NEGative POSitive Remarks POSitive indicates the positive polarity The oscilloscope tr...

Страница 197: ...t of the pulse width must be smaller than the upper limit Return Format The query returns NONE GRE LESS or GLES Example TRIGger RUNT WHEN LESS Sets the qualifier to LESS TRIGger RUNT WHEN The query returns LESS TRIGger RUNT WUPPer Syntax TRIGger RUNT WUPPer width TRIGger RUNT WUPPer Description Sets or queries the upper limit of the pulse width of Runt trigger The default unit is s Parameter Name ...

Страница 198: ... is the same as that of the current amplitude Parameter Name Type Range Default level Real Lower limit to 5 VerticalScale OFFSet 0 V Remarks For VerticalScale refer to the CHANnel n SCALe command for OFFSet refer to the CHANnel n OFFSet command Return Format The query returns the upper limit of the trigger level in scientific notation Example TRIGger RUNT ALEVel 0 16 Sets the upper limit of the tr...

Страница 199: ...Gger WINDows SOURce The query returns CHAN2 TRIGger WINDows SLOPe Syntax TRIGger WINDows SLOPe type TRIGger WINDows SLOPe Description Sets or queries the window type of Window trigger Parameter Name Type Range Default type Discrete POSitive NEGative RFALl POSitive Remarks POSitive triggers on the rising edge of the input signal when the voltage level is greater than the preset high trigger level N...

Страница 200: ...er WINDows TIME time TRIGger WINDows TIME Description Sets or queries the window time of Window trigger Parameter Name Type Range Default time Real 8 ns to 10 s 1 μs Return Format The query returns the window time in scientific notation Example TRIGger WINDows TIME 0 002 Sets the window time to 2 ms TRIGger WINDows TIME The query returns 2 000000E 3 TRIGger WINDows ALEVel Syntax TRIGger WINDows AL...

Страница 201: ...that of the current amplitude Parameter Name Type Range Default level Real 5 VerticalScale OFFSet to upper limit 0 V Remarks For VerticalScale refer to the CHANnel n SCALe command for OFFSet refer to the CHANnel n OFFSet command Return Format The query returns the lower limit of the trigger level in scientific notation Example TRIGger WINDows BLEVel 0 05 Sets the lower limit of the trigger level t...

Страница 202: ...D5 D6 D7 D8 D9 D10 D1 1 D12 D13 D14 D15 CHANnel1 CHANnel2 CH ANnel3 CHANnel4 CHANnel1 Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger DELay SA CHANnel2 Sets trigger source A to CH2 TRIGger DELay SA The query returns CHAN2 TRIGger DELay SLOPa Syntax TRIGger DELay SLOPa slope TRIGger DELay SLOPa Description Sets or quer...

Страница 203: ...type of Edge B to Falling Edge TRIGger DELay SLOPb The query returns NEG TRIGger DELay TYPE Syntax TRIGger DELay TYPE type TRIGger DELay TYPE Description Sets or queries the delay type of Delay trigger Parameter Name Type Range Default type Discrete GREater LESS GLESs GOUT GREater Remarks GREater triggers when the time difference T between the specified edges of Source A and Source B is greater th...

Страница 204: ...00E 3 TRIGger DELay TLOWer Syntax TRIGger DELay TLOWer time TRIGger DELay TLOWer Description Sets or queries the lower limit of delay time of the Delay trigger The default unit is s Parameter Name Type Range Default time Real 8 ns to 9 9 s 1 μs Remarks This command is available when the delay type is GREater GOUT or GLESs Return Format The query returns the lower limit of delay time in scientific ...

Страница 205: ...BLEVel Description Sets or queries the lower limit of the trigger level of Delay trigger The unit is the same as that of the current amplitude Parameter Name Type Range Default level Real 5 VerticalScale OFFSet to upper limit 0 V Remarks For VerticalScale refer to the CHANnel n SCALe command for OFFSet refer to the CHANnel n OFFSet command Return Format The query returns the lower limit of the tri...

Страница 206: ... CHANnel4 CHANnel2 Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger SHOLd DSRC CHANnel1 Sets the data source to CH1 TRIGger SHOLd DSRC The query returns CHAN1 TRIGger SHOLd CSRC Syntax TRIGger SHOLd CSRC source TRIGger SHOLd CSRC Description Sets or queries the clock source of Setup Hold trigger Parameter Name Type Ran...

Страница 207: ...arks H indicates high level L indicates low level Return Format The query returns H or L Example TRIGger SHOLd PATTern L Sets data type to L TRIGger SHOLd PATTern The query returns L TRIGger SHOLd TYPE Syntax TRIGger SHOLd TYPE type TRIGger SHOLd TYPE Description Sets or queries the hold type of Setup Hold trigger Parameter Name Type Range Default type Discrete SETup HOLD SETHold SETup Remarks SET...

Страница 208: ...Range Default time Real 8 ns to 1 s 1 μs Remarks Hold time indicates the time that the data remain stable and unchanged after the clock signal of the trigger comes This command is only available when the hold type is HOLD or SETHold Return Format The query returns the hold time value in scientific notation Example TRIGger SHOLd HTIMe 0 002 Sets the hold time to 2 ms TRIGger SHOLd HTIMe The query r...

Страница 209: ...ent amplitude Parameter Name Type Range Default level Real 5 VerticalScale OFFSet to 5 VerticalScale OFFSet 0 V Remarks For VerticalScale refer to the CHANnel n SCALe command for OFFSet refer to the CHANnel n OFFSet command Return Format The query returns the trigger level of the clock source in scientific notation Example TRIGger SHOLd CLEVel 0 05 Sets the trigger level of the clock source to 50 ...

Страница 210: ... CHAN3 or CHAN4 Example TRIGger NEDGe SOURce CHANnel2 Sets the trigger source to CH2 TRIGger NEDGe SOURce The query returns CHAN2 TRIGger NEDGe SLOPe Syntax TRIGger NEDGe SLOPe slope TRIGger NEDGe SLOPe Description Sets or queries the edge type of the Nth Edge trigger Parameter Name Type Range Default slope Discrete POSitive NEGative POSitive Remarks POSitive indicates that the oscilloscope trigge...

Страница 211: ...eter Name Type Range Default edge Integer 1 to 65535 2 Return Format The query returns an integer ranging from 1 to 65535 Example TRIGger NEDGe EDGE 20 Sets the number of edges to 20 TRIGger NEDGe EDGE The query returns 20 TRIGger NEDGe LEVel Syntax TRIGger NEDGe LEVel level TRIGger NEDGe LEVel Description Sets or queries the trigger level of the Nth Edge trigger The unit is the same as that of cu...

Страница 212: ... D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger RS232 SOURce CHANnel2 Sets the trigger source to CH2 TRIGger RS232 SOURce The query returns CHAN2 TRIGger RS232 WHEN Syntax TRIGger RS232 WHEN when TRIGger RS232 WHEN Description Sets or queries the trigger condition of RS232 trigger Parameter Name Type Range Default when Discrete STARt ERRor CERRor D...

Страница 213: ...n Sets or queries the stop bits of RS232 trigger Parameter Name Type Range Default bit Discrete 1 1 5 2 1 Return Format The query returns 1 1 5 or 2 Example TRIGger RS232 STOP 2 Sets the stop bits to 2 TRIGger RS232 STOP The query returns 2 TRIGger RS232 DATA Syntax TRIGger RS232 DATA data TRIGger RS232 DATA Description Sets or queries the data value of RS232 trigger when the trigger condition is ...

Страница 214: ...is set to a value with M then A should be added at the end of the value For example if you send 5 M you need to send 5 MA Return Format The query returns an integer ranging from 1 bps to 20 Mbps Example TRIGger RS232 BAUD 4800 Sets the baud rate to 4800bps TRIGger RS232 BAUD The query returns 4800 TRIGger RS232 LEVel Syntax TRIGger RS232 LEVel level TRIGger RS232 LEVel Description Sets or queries ...

Страница 215: ...3 CHANnel4 CHANnel1 Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger IIC SCL CHANnel2 Sets the clock source to CH2 TRIGger IIC SCL The query returns CHAN2 TRIGger IIC SDA Syntax TRIGger IIC SDA source TRIGger IIC SDA Description Sets or queries the source channel of the data line of I2C trigger Parameter Name Type Rang...

Страница 216: ...it ADDRess indicates that the oscilloscope searches for the specified address and triggers on the read write bit DATA indicates that the oscilloscope searches for the specified data on the data line SDA and triggers on the clock line SCL of the jumping edge of the last bit of the data ADATa indicates that the oscilloscope searches for the specified address and data and then triggers when both the ...

Страница 217: ...er when the trigger condition is ADDRess or ADATa Parameter Name Type Range Default dir Discrete READ WRITe RWRite WRITe Remarks This command is unavailable when the address width is set to 8 Return Format The query returns READ WRIT or RWR Example TRIGger IIC DIRection RWRite Sets the data direction to RWRite TRIGger IIC DIRection The query returns RWR TRIGger IIC DATA Syntax TRIGger IIC DATA dat...

Страница 218: ...in scientific notation Example TRIGger IIC CLEVel 0 16 Sets the trigger level to 160 mV TRIGger IIC CLEVel The query returns 1 600000E 1 TRIGger IIC DLEVel Syntax TRIGger IIC DLEVel level TRIGger IIC DLEVel Description Sets or queries the trigger level of the data line in I2C trigger The unit is the same as that of the current amplitude Parameter Name Type Range Default level Real 5 VerticalScale ...

Страница 219: ...e if you send 5 M you need to send 5 MA Return Format The query returns an integer ranging from 10 kbps to 5 Mbps Example TRIGger CAN BAUD 125000 Sets the signal rate to 125000 bps TRIGger CAN BAUD The query returns 125000 TRIGger CAN SOURce Syntax TRIGger CAN SOURce source TRIGger CAN SOURce Description Sets or queries the trigger source of CAN trigger Parameter Name Type Range Default source Dis...

Страница 220: ... signal TRIGger CAN STYPe The query returns L TRIGger CAN WHEN Syntax TRIGger CAN WHEN cond TRIGger CAN WHEN Description Sets or queries the trigger condition of CAN trigger Parameter Name Type Range Default cond Discrete SOF EOF IDRemote OVERload IDFRam e DATafream IDData ERFReam ERANsw er ERCHeck ERFormat ERRandom SOF Remarks SOF indicates start of frame It indicates that the oscilloscope trigge...

Страница 221: ...ns an integer ranging from 10 to 90 Example TRIGger CAN SPoint 60 Sets the sample point position of CAN trigger to 60 TRIGger CAN SPoint The query returns 60 TRIGger CAN LEVel Syntax TRIGger CAN LEVel level TRIGger CAN LEVel Description Sets or queries the trigger level of CAN trigger Its unit is the same as that of the current amplitude Parameter Name Type Range Default level Real 5 VerticalScale...

Страница 222: ...Nnel3 CHANnel4 CHANnel1 Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger SPI SCL CHANnel1 Sets the channel source of the clock line to CH1 TRIGger SPI SCL The query returns CHAN1 TRIGger SPI SDA Syntax TRIGger SPI SDA source TRIGger SPI SDA Description Sets or queries the channel source of the data line of SPI trigger ...

Страница 223: ... width TRIGger SPI WIDTh Description Sets or queries the data width of data channel in SPI trigger Parameter Name Type Range Default width Integer 4 to 32 8 Return Format The query returns an integer Example TRIGger SPI WIDTh 10 Sets the data width to 10 TRIGger SPI WIDTh The query returns 10 TRIGger SPI DATA Syntax TRIGger SPI DATA data TRIGger SPI DATA Description Sets or queries the data value ...

Страница 224: ...itive NEGative POSitive Remarks POSitive samples the SDA data on the rising edge of the clock NEGative samples the SDA data on the falling edge of the clock Return Format The query returns POS or NEG Example TRIGger SPI SLOPe POSitive Sets the clock edge to POSitive TRIGger SPI SLOPe The query returns POS TRIGger SPI CLEVel Syntax TRIGger SPI CLEVel level TRIGger SPI CLEVel Description Sets or que...

Страница 225: ...EVel level TRIGger SPI SLEVel Description Sets or queries the trigger level of the CS channel of SPI trigger The unit is the same as that of the current amplitude Parameter Name Type Range Default level Real 5 VerticalScale OFFSet to 7 VerticalScale OFFSet 0 V Remarks For VerticalScale refer to the CHANnel n SCALe command for OFFSet refer to the CHANnel n OFFSet command Return Format The query ret...

Страница 226: ...et to CS Parameter Name Type Range Default source Discrete D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D 11 D12 D13 D14 D15 CHANnel1 CHANnel2 CHANnel3 CHANnel4 CHANnel3 Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger SPI CS CHANnel2 Sets source channel of the CS line when the trigger condition of SPI is set to CS to CH2 TRIGger...

Страница 227: ...RIGger FLEXray BAUD 5000000 Sets the signal rate to 5000000 bps TRIGger FLEXray BAUD The query returns 5000000 TRIGger FLEXray LEVel Syntax TRIGger FLEXray LEVel level TRIGger FLEXray LEVel Description Sets or queries the trigger level of FlexRay trigger Its unit is the same as that of the current amplitude Parameter Name Type Range Default level Real 5 VerticalScale OFFSet to 5 VerticalScale OFFS...

Страница 228: ...uery returns CHAN2 TRIGger FLEXray WHEN Syntax TRIGger FLEXray WHEN cond TRIGger FLEXray WHEN Description Sets or queries the trigger condition of FLEXray trigger Parameter Name Type Range Default cond Discrete FRAMe SYMBol ERRor TSS FRAMe Remarks FRAMe triggers on the frame of the FlexRay bus SYMBol triggers on the Channel Idle Delimiter CID Collision Avoidance Symbol CAS Media Access Test Symbol...

Страница 229: ...first begins at the edge of the WS transition IIS MSB Most Significant Bit of data for each sample is sent first and LSB Least Significant Bit is sent last The MSB appears on the SDA line one bit clock after the edge of the WS transition Return Format The query returns LJ RJ or IIS Example TRIGger IIS ALIGnment LJ Sets the alignment mode of I2S trigger to LJ TRIGger IIS ALIGnment The query returns...

Страница 230: ...S trigger Parameter Name Type Range Default source Discrete D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D 10 D11 D12 D13 D14 D15 CHANnel1 CHANnel2 CHANnel3 CHANnel4 EXT CHANnel1 Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 CHAN4 or EXT Example TRIGger IIS SOURce DATA CHANnel2 Sets the data source to CH2 TRIGger IIS SOURce DATA The query returns CHAN2 TR...

Страница 231: ... data value is smaller than the set upper limit value and greater than the set lower limit value OUTRange triggers on when the channel s data value is greater than the set upper limit value or smaller than the set lower limit value Return Format The query returns EQU NOT LESS GRE INR or OUTR Example TRIGger IIS WHEN NOTequal Sets the trigger condition of I2S trigger to NOTequal TRIGger IIS WHEN Th...

Страница 232: ...Parameter Name Type Range Default data Integer 0 to 232 1 Description The settable range of data is affected by the byte length The maximum byte length can be set to 4 i g 32 bit binary data Therefore the range of data is from 0 to 232 1 Return Format The query returns an integer ranging from 0 to 232 1 Example TRIGger IIS DATA 10 Sets the data value to 10 TRIGger IIS DATA The query returns 10 ...

Страница 233: ...D5 D6 D7 D8 D9 D10 D11 D1 2 D13 D14 D15 CHANnel1 CHANnel2 CHANnel3 CHANnel4 CHANnel1 Return Format The query returns D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 CHAN1 CHAN2 CHAN3 or CHAN4 Example TRIGger LIN SOURce CHANnel2 Sets the trigger source to CH2 TRIGger LIN SOURce The query returns CHAN2 TRIGger LIN ID Syntax TRIGger LIN ID id TRIGger LIN ID Description Sets or queries the ID va...

Страница 234: ...Ndard Syntax TRIGger LIN STANdard std TRIGger LIN STANdard Description Sets or queries the protocol version of LIN trigger Parameter Name Type Range Default std Discrete 1X 2X 1X Return Format The query returns 1X or 2X Example TRIGger LIN STANdard 2X Sets the protocol version of LIN trigger to 2X TRIGger LIN STANdard The query returns 2X TRIGger LIN SAMPlepoint Syntax TRIGger LIN SAMPlepoint valu...

Страница 235: ...p triggers when the wakeup frame is found ERRor triggers on the specified type of error frame Return Format The query returns SYNC ID DATA IDD SLE WAK or ERR Example TRIGger LIN WHEN SYNCbreak Sets the trigger condition to SYNCbreak TRIGger LIN WHEN The query returns SYNC TRIGger LIN LEVel Syntax TRIGger LIN LEVel level TRIGger LIN LEVel Description Sets or queries the trigger level of LIN trigger...

Страница 236: ...r M1553 SOURce CHANnel2 Sets the trigger source to CH2 TRIGger M1553 SOURce The query returns CHAN2 TRIGger M1553 WHEN Syntax TRIGger M1553 WHEN when TRIGger M1553 WHEN Description Sets or queries the trigger condition of M1553 trigger Parameter Name Type Range Default when Discrete SYNCbreak DATA CMD STATus ERRor SYNCbreak Description SYNCbreak triggers on the specified sync type DATA triggers on...

Страница 237: ...s For VerticalScale refer to the CHANnel n SCALe command for OFFSet refer to the CHANnel n OFFSet command Return Format The query returns the upper limit of the trigger level in scientific notation Example TRIGger M1553 ALEVel 0 16 Sets the upper limit of the trigger level to 160 mV TRIGger M1553 ALEVel The query returns 1 600000E 1 TRIGger M1553 BLEVel Syntax TRIGger M1553 BLEVel level TRIGger M1...

Страница 238: ...r the parameters are different as shown in Figure 2 1 and 2 2 Figure 2 1 Parameter Definitions in NORMAL Mode Figure 2 2 Parameter Definitions in RAW Mode Note 1 In RAW mode YINCrement and Verticalscale of the memory waveforms are related to the currently selected Verticalscale Command List WAVeform SOURce XORigion YORigion YREFerence YINCrement 1 XINCrement 1 SampleRate XORigion YORigion YREFeren...

Страница 239: ...o a digital channel the query command WAVeform DATA always returns the waveform data in byte format If the command reads the screen waveform data it returns the signal status of the currently selected channel source One waveform point occupies 1 byte 8 bits If the command reads the memory waveform data it returns the signal status of the channel group where the currently selected channel sources r...

Страница 240: ...eries the return format of the waveform data Parameter Name Type Range Default format Discrete WORD BYTE ASCii BYTE Remarks WORD Each waveform point occupies 2 bytes 16 bits The lower 8 bits are valid and the higher 8 bits are 0 BYTE Each waveform point occupies one byte 8 bits ASCii The query returns the actual voltage value of each waveform point in scientific notation and the voltage values are...

Страница 241: ...n waveform data it returns the signal status of the currently selected channel source One waveform point occupies 1 byte 8 bits If the command reads the memory waveform data it returns the signal status of the channel group where the currently selected channel sources reside 1 byte represents the status of one group of digital signals When the waveform data in the internal memory are read in batch...

Страница 242: ...the current amplitude Remarks The returned value is related to the current data reading mode In NORMal mode YINCrement VerticalScale 25 In RAW mode YINCrement and VerticalScale of the memory waveforms are related to the currently selected VerticalScale In Max mode YINCrement VerticalScale 25 when the instrument is in the RUN state YINCrement is related to the VerticalScale of the internal waveform...

Страница 243: ...orm STARt sta WAVeform STARt Description Sets or queries the start position of waveform data reading Parameter Name Type Range Default sta Integer NORMal 1 to 1000 MAX 1 to the number of effective points on the current screen RAW 1 to the current maximum memory depth 1 Remarks When reading the waveform data in the internal memory the actual settable ranges of the start point and stop point of a re...

Страница 244: ...ASC type indicates 0 NORMal 1 MAXimum or 2 RAW points After the memory depth option is installed points is an integer ranging from 1 to 50000000 count indicates the number of averages in the average sample mode The value of count parameter is 1 in other modes xincrement indicates the time difference between two neighboring points in the X direction xorigin indicates the start time of the waveform ...

Страница 245: ...00 DS7000 series digital oscilloscope by programming in Excel LabVIEW Visual Basic and Visual C These instances are programmed based on Virtual Instrument Software Architecture VISA library Contents in this chapter Programming Preparations Excel Programming Example LabVIEW Programming Example Visual Basic Programming Example Visual C Programming Example ...

Страница 246: ...ath is C Program Files IVI Foundation VISA In the manual the oscilloscope communicates with the PC via the USB interface Connect the USB Device interface on the rear panel of the oscilloscope to the PC by using the USB cable After the oscilloscope is properly connected to the PC power on the instrument to start it Press Utility IO USB and select computer In this case Found New Hardware Wizard dial...

Страница 247: ...k File Options at the upper left corner of the Excel file to open the interface as shown in the figure below Click Customize Ribbon at the left check Developer and click OK At this point the Excel menu bar displays the Developer menu 3 Enter a device resource descriptor into a cell of the file as shown in the figure below For example the device resource descriptor is USB0 0x1AB1 0x0514 DS7B2001123...

Страница 248: ...ed dialog box select VISA Library and click OK to refer to VISA Library Remarks If you cannot find VISA Library in the left section of the above dialog box please follow the method below to find it 1 Make sure that your PC has installed the NI VISA library 2 Click Browse at the right section to search visa32 dll from C WINDOWS system32 as shown in the figure below ...

Страница 249: ...Str As String Dim idnStr As String 128 Dim ret As Long Turn on the device and the device resource descriptor is in CELLS 1 2 of SHEET1 viErr visa viOpenDefaultRM viDefRm viErr visa viOpen viDefRm Sheet1 Cells 1 2 0 5000 viDevice Send request read the data and the return value is in CELLS 2 2 of SHEET1 cmdStr IDN viErr visa viWrite viDevice cmdStr Len cmdStr ret viErr visa viRead viDevice idnStr 12...

Страница 250: ...0 Programming Guide The default name of the button is Button1 Right click the button and select Edit Text in the pop up menu to change the button name to IDN 7 Click the IDN button to send request and read data The returned value is in CELLS 2 2 of SHEET1 ...

Страница 251: ...e and VISA Close 4 Connect the VISA resource name with the VISA Open Then connect the VISA resource name outputs of all the functions with the VISA resource name and connect the error output with the error input as shown in the figure below 5 Add string constant in the write buffer areas of the VISA Write function and input the following instructions in the figure below Waveform data is read throu...

Страница 252: ...X 9 bytes are used to describe the length of the data 000001000 represents the length of the waveform data namely 1000 bytes Use the following block diagram to obtain the number of bytes that the TMC header occupies Ignore the TMC header and delete the terminator at the end of the waveform data and transfer the waveform data to the byte data and display it on the waveform diagram controls The avai...

Страница 253: ...eform data length bytes Used to delete the terminator at the end of the waveform data Used to transfer waveform data strings to the byte group 7 The complete program block diagram is as shown in the figure below 8 Select the device resource from the VISA Resource Name list box and run the program ...

Страница 254: ... under the NI VISA installation path and add the file 3 In the Demo dialog box add four buttons to represent CH1 to CH4 respectively Add four Labels Label1 0 Label1 1 Label1 2 and Label1 3 to represent the statuses of CH1 to CH4 respectively when the channel is enabled it displays the color of the channel when the channel is disabled it displays gray as shown in the figure below 4 Click Project Pr...

Страница 255: ...n defrm matches 0 0 vi Send a command to query the status of CH1 Call viVPrintf vi CHAN1 DISP Chr 10 0 Obtain the status of CH1 Call viVScanf vi t strRes s32Disp CInt strRes If s32Disp 1 Then Send the setting command Call viVPrintf vi CHAN1 DISP 0 Chr 10 0 Label1 0 ForeColor H808080 Gray Else Call viVPrintf vi CHAN1 DISP 1 Chr 10 0 Label1 0 ForeColor HFFFF Yellow End If Close the resource Call viC...

Страница 256: ... following procedures 1 Create a MFC project based on a dialog box 2 Click Project Settings to open the Project Setting dialog box In the dialog box click the C C tab select Code Generation from the drop down list under Category Choose Debug Multithreaded DLL from the drop down list under Use run time library Click OK to close the dialog box 3 Click Project Settings to open the Project Setting dia...

Страница 257: ...ect Library files from the drop down list under Show directories for Double click the empty space under Directories to enter the specified path of Library files C Program Files IVI Foundation VISA WinNT lib msc Click OK to close the dialog box Note By now VISA library has been added 5 Add the Text Combo Box Button and Edit Box controls The layout interface for adding controls is as follows 6 Modif...

Страница 258: ...ntrols respectively 8 Add codes Double click Send and Read to enter the programming environment Declare the include visa h of the VISA library in the header file and then add the following codes ViSession defaultRM vi char buf 256 0 CString s strTemp char stringTemp ViChar buffer VI_FIND_BUFLEN ViRsrc matches buffer ViUInt32 nmatches ViFindList list ...

Страница 259: ... m_combox GetCurSel strTemp strTemp strTemp n stringTemp char LPCTSTR strTemp viPrintf vi stringTemp Read the results viScanf vi t n buf Display the results UpdateData TRUE m_receive buf UpdateData FALSE viClose vi viClose defaultRM 9 Save compile and run the project to obtain a single exe file When the oscilloscope is correctly connected to the PC enter a command for example IDN and click Send an...

Отзывы: