
Remote Control - Fundamentals
R&S
®
UPP
676
User Manual 1411.1055.32 ─ 10
gram can respond by suitable actions. As seen in section
on page 666, an SRQ is always triggered when one or more of the
bits 1, 2, 3, 4, 5 or 7 of the status byte are set and enabled in the SRE. Each of these
bits combines the information from another register, from the error queue or the output
buffer. If the ENABle registers of the status registers are set accordingly, any bit in any
status register will be able to trigger an SRQ.
Example:
Use the
*OPC
command to generate an SRQ.
CALL IBWRT(analyzer%, "*ESE 1")
to set the bit
0 in the ESE (Operation Com-
plete)
CALL IBWRT(analyzer%, "*SRE 32")
to set the bit
5 in the SRE (ESB)
The device generates an SRQ on completion of its settings.
The SRQ is the only way for the device to become active on its own. Each controller
program should set the device such that a service request is triggered in case of mal-
functions. The program should respond accordingly to the service request.
6.8.12.2
Serial Poll
Serial poll is mainly used for a fast overview of the status of several devices connected
to the IEC/IEEE bus or LAN/USB.
Like the
*STB?
command, the serial poll is used to query the status byte of a device.
Querying is implemented by interface messages, however, making it much faster. The
serial poll method is already defined in the IEEE 488.1 standard, and used to be the
only uniform method of querying the status byte. This method also works with devices
that conform neither to SCPI nor to IEEE 488.2.
The VISUAL BASIC command for executing a serial poll is
IBRSP
.
A prerequisite for programming in VISUAL BASIC are that the project contains the
modules NIGLOBAL (Niglobal.bas) and VBIB32 (Vbib_32.bas), and the gpibNotify OLE
control module .
Example:
Program:
Public UPV As Integer
Public Info As Integer
Dim StartT As Single
Dim Response As String * 1000
Private Sub ReadESR():
'subroutine for readout of ESR
Call ibwrt(UPV, "*ESR?")
'ask for ESR data
Call ibrd(UPV, Response)
'read ESR data
Status Reporting System
Содержание R&S UPP
Страница 1: ...R S UPP Audio Analyzer User Manual User Manual Version 10 1411105532 ÅP ...
Страница 34: ...Contents R S UPP 18 User Manual 1411 1055 32 10 ...
Страница 630: ...Instrument Functions R S UPP 614 User Manual 1411 1055 32 10 Format ...
Страница 631: ...Instrument Functions R S UPP 615 User Manual 1411 1055 32 10 Format ...