Technical data

Commands by Subsystem 5
Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Guide 395
Introduction to
:SBUS
Commands
The :SBUS subsystem commands control the serial decode bus viewing,
mode, and other options.
Reporting the Setup
Use :SBUS? to query setup information for the :SBUS subsystem.
Return Format
The following is a sample response from the :SBUS? query. In this case,
the query was issued following a *RST command.
:SBUS:DISP 0;MODE IIC
:SBUS:SPI:BITorder
<order> (see
page 411)
:SBUS:SPI:BITorder?
(see page 411)
<order> ::= {LSBFirst | MSBFirst}
:SBUS:SPI:WIDTh
<word_width> (see
page 412)
:SBUS:SPI:WIDTh? (see
page 412)
<word_width> ::= integer 4-16 in
NR1 format
:SBUS:UART:BASE
<base> (see page 413)
:SBUS:UART:BASE? (see
page 413)
<base> ::= {ASCii | BINary | HEX}
n/a :SBUS:UART:COUNt:ERRo
r? (see page 414)
<frame_count> ::= integer in NR1
format
:SBUS:UART:COUNt:RESe
t (see page 415)
n/a n/a
n/a :SBUS:UART:COUNt:RXFR
ames? (see page 416)
<frame_count> ::= integer in NR1
format
n/a :SBUS:UART:COUNt:TXFR
ames? (see page 417)
<frame_count> ::= integer in NR1
format
:SBUS:UART:FRAMing
<value> (see
page 418)
:SBUS:UART:FRAMing?
(see page 418)
<value> ::= {OFF | <decimal> |
<nondecimal>}
<decimal> ::= 8-bit integer from
0-255 (0x00-0xff)
<nondecimal> ::= #Hnn where n ::=
{0,..,9 | A,..,F} for hexadecimal
<nondecimal> ::= #Bnn...n where n
::= {0 | 1} for binary
Table 66 :SBUS Commands Summary (continued)
Command Query Options and Query Returns
NOTE
These commands are only valid on 4 (analog) channel oscilloscope models when a serial
decode option has been licensed.