WisdomAugust Publish time 2021-8-10 09:40:34

Edited by WisdomAugust at 2021-8-10 09:44

3. ACQuire Command Subsystem
Command Listl ACQuire: POINtsl ACQuire:TYPEl ACQuire:SRATe?l ACQuire:COUNt

3.1 ACQuire: POINts
Command:ACQuire: POINts <value>:ACQuire: POINts?
DescriptionSet or query the storage depth of the oscilloscope.
Parameters:<value> ::= memory depth value.
Statevalue                              Memory depth
4000 4K
4000040K
400000400K
4000000 4M
80000008M
ReturnThe query returns the actual number of points (integer).
Example:ACQuire: POINts 4000 /*Set memory depth to 4k*/:ACQuire: POINts? /*The query returns 4000*/







WisdomAugust Publish time 2021-9-1 14:54:23

Edited by WisdomAugust at 2021-9-1 14:56

3.2 ACQuire:TYPE
Command:ACQuire:TYPE <value>:ACQuire:TYPE?
DescriptionSet or query the acquisition method of oscilloscope samples
Parameters:<value> ::= < NORMal | AVERage | PEAK | HRESolution>
State?NORMal (normal): In this mode, the oscilloscope samples the signal at equal time intervals to reconstruct the waveform. For most waveforms, using this mode produces the best display results. ?AVERages: In this mode, the oscilloscope averages waveforms that have been 18 / 136 sampled multiple times to reduce random noise on the input signal and improve vertical resolution. The number of averages can be set by the: ACQuire: AVERages command. The higher the number of averages, the lower the noise and the higher the vertical resolution, but the slower the response of the displayed waveform to waveform changes. ?PEAK (Peak Detection): In this mode, the oscilloscope collects the maximum and minimum values of the sampling interval signal to obtain the signal envelope or narrow pulses that may be lost. Using this mode can avoid aliasing of the signal, but the display noise is relatively large. ?HRESolution (high resolution): This mode uses an oversampling technique to average the neighboring points of the sampled waveform to reduce random noise on the input signal and produce a smoother waveform on the screen. It is usually used when the sampling rate of the digitizer is higher than the storage rate of the acquisition memory.
ReturnThe query returns NORM, AVERage, PEAK, or HRESolution.
Example:ACQuire:TYPE AVERage /*Set the acquisition method to average*/:ACQuire:TYPE? /*The query returns AVERage*/




WisdomAugust Publish time 2021-9-2 11:57:58

Edited by WisdomAugust at 2021-9-2 12:00

3.3 ACQuire:SRATe?
Command:ACQuire:SRATe?
DescriptionQuery the current sampling rate.
StateThe number of waveform points sampled per second.
ReturnThe query returns the sample rate as a real number.
Example:ACQuire:SRATe? /*The query returns 1.25e+06*/


3.4 ACQuire:COUNt
Command:ACQuire:COUNt <value>:ACQuire:COUNt?
DescriptionSet or query the average number of times in the average acquisition mode
Parameters:<value> ::= <4|8|16|32|64|128>
ReturnThe query returns current average times.
Example:ACQuire:COUNt64 /*Set the average number to 64*/:ACQuire:COUNt? /*The query returns 64*/





WisdomAugust Publish time 2021-9-3 13:53:34

4. TRIGger Command Subsystem
Command Listl TRIGger:FORCel TRIGger:MODEl TRIGger:STATus?l TRIGger:SWEepl TRIGger:HOLDoffl TRIGger:EDGel TRIGger: PULSel TRIGger:SLOPel TRIGger:TVl TRIGger:TIMeoutl TRIGger:WINDOwl TRIGger:INTERVAll TRIGger:UNDER_Aml TRIGger:UARTl TRIGger:CANl TRIGger: LINl TRIGger:IICl TRIGger:SPIl TRIGger: PATTern


WisdomAugust Publish time 2021-9-6 08:23:49

Edited by WisdomAugust at 2021-9-6 08:26

4.1 TRIGger:FORCe
Command:TRIGger:FORCe
DescriptionSelect or query the force trigger.
StateEven if the trigger conditions are not met, this command will let the oscilloscope acquire waveforms
4.2TRIGger:MODE
Command:TRIGger:MODE <mode>:TRIGger:MODE?
DescriptionSelect or query the trigger type.
Parameters:<mode> ::= < EDGE | PULSe | TV | SLOPe | TIMeout | WINdow | PATTern | INTerval | UNDerthrow | UART | LIN | CAN | SPI | IIC>
ReturnReturn EDGE, PULSe, TV, SLOPe, TIMeout, WINdow, PATTern, INTerval, UNDerthrow, UART, LIN, CAN, SPI, IIC
Example:TRIGger:MODE SLOPe /*Set the trigger type to slope trigger*/:TRIGger:MODE? /*The query returns SLOPe*/
4.3TRIGger:STATus?
Command:TRIGger:STATus?
DescriptionQuery the current trigger status.
ReturnReturn TRIGed, NOTRIG



WisdomAugust Publish time 2021-9-7 10:13:02

Edited by WisdomAugust at 2021-9-7 10:49

4.4 TRIGger:SWEep
Command:TRIGger:SWEep <value>:TRIGger:SWEep?
DescriptionSet or query the trigger mode.
Parameters:<value> ::= < AUTO | NORMal | SINGle>
State?AUTO: Automatic triggering, waveform display regardless of whether trigger conditions are met. ?NORMal: Normal trigger, display the waveform when the trigger condition is met, keep the original waveform display when the trigger condition is not met, and wait for the next trigger. ?SINGle: Single trigger. The oscilloscope waits for the trigger, displays the waveform when the trigger conditions are met, and then stops.
ReturnThe query returns AUTO, NORMal, or SINGle.
Example:TRIGger:SWEep SINGle /*Select single trigger mode*/ :TRIGger:SWEep? /*The query returns SINGle*/
4.5 TRIGger:HOLDoff
Command:TRIGger:HOLDoff <value>:TRIGger:HOLDoff?
DescriptionSet or query the holdoff time.
Parameters:<value> ::= Trigger holdoff time (in second)
StateTrigger holdoff can stably trigger complex waveforms (such as pulse series). Holdoff time is the time the oscilloscope waits to re-enable the trigger circuit. The oscilloscope will not trigger until the holdoff time is over. When the trigger method is video trigger, timeout trigger, setup hold, UART, LIN, CAN, IIC or SPI, this setting is not available.
ReturnThe query returns the trigger holdoff time in scientific notation.
Example:TRIGger:HOLDoff 0.0000002 /*Set trigger holdoff time to 200ns*/:TRIGger:HOLDoff? /*The query returns 2.000000e-07*/




WisdomAugust Publish time 2021-9-8 11:04:39

Edited by WisdomAugust at 2021-9-8 11:06

4.6 TRIGger:EDGe
Command Listl TRIGger:EDGe:SOURcel TRIGger:EDGe:SLOPel TRIGger:EDGe:LEVel

4.6.1 TRIGger:EDGe:SOURce
Command:TRIGger:EDGe:SOURce <source>:TRIGger:EDGe:SOURce?
DescriptionSet or query the trigger source for edge trigger.
Parameters:<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4 | EXT/10>
ReturnThe query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4, EXT/10
Example:TRIGger:EDGe:SOURce CHANnel1 / * Set the trigger source to CH1 * / :TRIGger:EDGe:SOURce? / * The query returns CHANnel1 * /




WisdomAugust Publish time 2021-9-9 09:45:08

Edited by WisdomAugust at 2021-9-9 09:48

4.6.1 TRIGger:EDGe:SLOPe
Command:TRIGger:EDGe:SLOPe <slope>:TRIGger:EDGe:SLOPe?
DescriptionSet or query the type of edge trigger.
Parameters:<slope> ::= < RISIng| FALLing | EITHer >
State?RISIng: rising edge ?FALLing: falling edge ?EITHer: rising or falling edge
ReturnThe query returns RISIng, FALLing, EITHer
Example:TRIGger:EDGe:SLOPe RISIng /*Set the edge type to rising edge*/:TRIGger:EDGe:SLOPe? /*The query returns RISIng*/


4.6.2 TRIGger:EDGe: LEVel
Command:TRIGger:EDGe: LEVel <level>:TRIGger:EDGe: LEVel?
DescriptionSet or query the trigger level when the edge triggers.
Parameters:<level> ::= trigger level ( unit is V)
ReturnThe query returns the trigger level value in scientific notation.
Example:TRIGger:EDGe: LEVel 0.16 /*Set the trigger level to 160mV*/:TRIGger:EDGe: LEVel? /*The query returns 1.600e-1*/







WisdomAugust Publish time 2021-10-8 16:31:03

Edited by WisdomAugust at 2021-10-8 16:38

4.6.3 TRIGger:EDGe: LEVel
Command:TRIGger:EDGe: LEVel <level>:TRIGger:EDGe: LEVel?
DescriptionSet or query the trigger level when the edge triggers.
Parameters:<level> ::= trigger level ( unit is V)
ReturnThe query returns the trigger level value in scientific notation.
Example:TRIGger:EDGe: LEVel 0.16 /*Set the trigger level to 160mV*/:TRIGger:EDGe: LEVel? /*The query returns 1.600e-1*/





4.7 TRIGger: PULSe
Command Listl TRIGger: PULSe:SOURcel TRIGger: PULSe: POLarityl TRIGger: PULSe:WHENl TRIGger: PULSe:WIDthl TRIGger: PULSe: LEVel

4.7.1 TRIGger: PULSe:SOURce

Command:TRIGger: PULSe:SOURce <source>:TRIGger: PULSe:SOURce?
DescriptionSet or query the trigger source of the pulse width trigger.
Parameters:<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4>
ReturnThe query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4
Example:TRIGger: PULSe:SOURce CHANnel1 /*set trigger source to CH1*/:TRIGger: PULSe:SOURce? /*The query returns CHANnel1*/






WisdomAugust Publish time 2021-10-9 08:16:42

Edited by WisdomAugust at 2021-10-9 08:23

4.7.2 TRIGger: PULSe: POLarity
Command:TRIGger: PULSe: POLarity <polarity>:TRIGger: PULSe: POLarity?
DescriptionSet or query the trigger polarity of pulse width trigger
Parameters:<polarity> ::= < POSItive | NEGAtive>
StatePOSItive: Positive pulse trigger NEGAtive: negative pulse trigger
ReturnThe query returns POSItive, NEGAtive
Example:TRIGger: PULSe: POLarity POSItive /*Set positive pulse trigger*/:TRIGger: PULSe: POLarity? /*The query returns POSItive*/

4.7.3 TRIGger: PULSe:WHEN
Command:TRIGger: PULSe:WHEN <when>:TRIGger: PULSe:WHEN?
DescriptionSet or query the trigger conditions for pulse width trigger.
Parameters<when> ::= < EQUAl| NEQUal| GREAt| LESS>
State?EQUAl = (equal to time value): Only when the positive or negative pulse width of the input signal is equal to the set pulse width can it trigger. NEQUal! = (Not equal to time value): Only when the positive or negative pulse width of the input signal is not equal to the set pulse width, can the width error be 5%] be triggered. GREAt > (greater than the time value): Only when the positive or negative pulse width of the input signal is greater than the set pulse width can it trigger . ?LESS <(less than time value): Only when the positive or negative pulse width of the input signal is less than the set pulse width can the 5%] be triggered.
ReturnThe query returns EQUAl, NEQUal, GRAt, LESS
Example:TRIGger: PULSe:WHEN NEQUal /*Set trigger condition to NEQUal*/:TRIGger: PULSe:WHEN? /*The query returns NEQUal*/





Pages: 1 2 [3] 4 5 6 7 8 9 10 11 12
View full version: DSO2000 Series SCPI Programmers Manual