beautypg.com

Scpi commands – BNC 835-3 Programmer Manual User Manual

Page 11

background image

Berkeley Nucleonics
www.Berkeley Nucleonics.com

835-3

Programmer’s Manual v1.0

Page 11 of 37

Range 0–255
The setting enabled by this command is not affected by signal generator preset or
*RST. However, cycling the signal generator power will reset it to zero.

*SRE?

The Service Request Enable (SRE) query returns the value of the Service Request Enable
Register.
Range 0–63 & 128-191

*STB?

The Read Status Byte (STB) query returns the value of the status byte including the
master summary status (MSS) bit.
Range 0–255

*TRG

The Trigger (TRG) command triggers the device if LAN is the selected trigger source,
otherwise, *TRG is ignored.

*TST?

The Self-Test (TST) query initiates the internal self- test and returns one of the following
results:
0 This shows that all tests passed.
1 This shows that one or more tests failed.
Key Entry Run Complete Self Test

*WAI

The Wait- to- Continue (WAI) command causes the signal generator to wait until all
pending commands are completed, before executing any other commands.

4. SCPI Commands

This chapter provides an introduction to SCPI programming that includes descriptions of

the command types, hierarchical command structure, data parameters, and notational

conventions. Information on BNC MODEL 835-3 status system and trigger system

programming is also provided.

Introduction

Standard Commands for Programmable Instruments (SCPI) is the new instrument

command language for controlling instruments that goes beyond IEEE 488.2 to address a

wide variety of instrument functions in a standard manner. SCPI promotes consistency,

from the remote programming standpoint, between instruments of the same class and

between instruments with the same functional capability. For a given measurement

function such as frequency or voltage, SCPI defines the specific command set that is

available for that function. Thus, two oscilloscopes made by different manufacturers

could be used to make frequency measurements in the same way. It is also possible for a

SCPI counter to make a frequency measurement using the same commands as an

oscilloscope. SCPI commands are easy to learn, self-explanatory and account for both

novice and expert programmer’s usage. Once familiar with the organization and structure