beautypg.com

Trigger:bus:b1:spi:data:mosi:value – GW Instek GDS-2000A series Programming Manual User Manual

Page 144

background image

GDS-2000A Programming Manual

144

Example1

:TRIGger:BUS:B1:SPI:CONDition MISO
:TRIGger:BUS:B1:SPI:DATa:SIZe 2
:TRIGger:BUS:B1:SPI:DATa:MISO:VALue "1x1x0101"
Sets the value to 1x1x0101

Example 2

:TRIGger:BUS:B1:SPI:DATa:MISO:VALue?
1X1X0101

:TRIGger:BUS:B1:SPI:DATa:MOSI:VALue

Description

Sets or queries the triggering data value for the SPI
bus when the bus is set to trigger on MOSI or
MISO/MOSI.

Syntax

:TRIGger:BUS:B1:SPI:DATa:MOSI:VALue {string | ? }

Related
commands

:TRIGger:BUS:B1:SPI:DATa:SIZe

Parameter

The number of characters in the string
depends on the data size setting. The
string must be enclosed in double
quotes, "string".

x = don’t care

1 = binary 1

0 = binary 0

Return Parameter

Returns the data value.

Example1

:TRIGger:BUS:B1:SPI:CONDition MOSI
:TRIGger:BUS:B1:SPI:DATa:SIZe 2
:TRIGger:BUS:B1:SPI:DATa:MOSI:VALue "1x1x0101"
Sets the value to 1x1x0101

Example2

:TRIGger:BUS:B1:SPI:DATa:MOSI:VALue?
1X1X0101

Set

Query