EasyManuals Logo
Home>Hantek>Test Equipment>DSO2000 Series

Hantek DSO2000 Series Programmer's Manual

Hantek DSO2000 Series
61 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #36 background imageLoading...
Page #36 background image
SCPI Programmers Manual
36
TRIGger:SPI:MASK
TRIGger:SPI:ALEVel
TRIGger:SPI:BLEVel
4.18.1 TRIGger:SPI:SDA:SOURce
4.18.2 TRIGger:SPI:SCL:SOURce
4.18.3 TRIGger:SPI:SCK
4.18.4 TRIGger:SPI:WIDth
4.18.5 TRIGger:SPI:DATA
Command
:TRIGger:SPI:SDA:SOURce <source>
:TRIGger:SPI:SDA:SOURce?
Description
Set or query the channel source of the data line triggered by SPI.
Parameters
:<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4>
Return
The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4
Example
:TRIGger:SPI:SDA:SOURce CHANnel1 /*Set the channel source of the data line to
CH1*/
:TRIGger:SPI:SDA:SOURce? /*The query returns CHANnel1*/
Command
:TRIGger:SPI:SCL:SOURce <source>
:TRIGger:SPI:SCL:SOURce?
Description
Set or query the channel source of the clock line triggered by SPI.
Parameters
:<source> ::= < CHANnel1 | CHANnel2 | CHANnel3 | CHANnel4>
Return
The query returns CHANnel1, CHANnel2, CHANnel3, CHANnel4
Example
:TRIGger:SPI:SCL:SOURce CHANnel1 /*Set the channel source of the clock line to
CH1*/
:TRIGger:SPI:SCL:SOURce? /*The query returns CHANnel1*/
Command
:TRIGger:SPI:SCK <slope>
:TRIGger:SPI:SCK?
Description
Set or query the type of clock edge triggered by SPI.
Parameters
:<slope> ::= < Rising| Falling>
Return
The query returns Rising, Falling.
Example
:TRIGger:SPI:SCK Falling /*Set the clock edge to the falling edge*/
:TRIGger:SPI:SCK? /*The query returns Falling*/
Command
:TRIGger:SPI:WIDth <width>
:TRIGger:SPI:WIDth?
Description
Set or query the data bit width of the data channel under SPI trigger
Parameters
:<width> ::= 4--32
Return
The query returns an integer.
Example
:TRIGger:SPI:WIDth 20 /*Set the width to 20*/
:TRIGger:SPI:WIDth? /*The query returns 20*/
Command
:TRIGger:SPI:DATA <data>

Table of Contents

Other manuals for Hantek DSO2000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Hantek DSO2000 Series and is the answer not in the manual?

Hantek DSO2000 Series Specifications

General IconGeneral
BrandHantek
ModelDSO2000 Series
CategoryTest Equipment
LanguageEnglish

Related product manuals