![Spectracom GSG-5 series User Manual With Scpi Manual Download Page 236](http://html1.mh-extra.com/html/spectracom/gsg-5-series/gsg-5-series_user-manual-with-scpi-manual_1343630236.webp)
(
SOUR:SCEN:CONT START
),
and
starting/arming
of
the
signal
generator
(
SOUR:ONECHN:CONT START
).
Example
Enable OPC-bit
SEND:
*ESE 1
Start scenario. *OPC will set the operation complete bit in the status register when the start of
scenario is done and it is running.
SEND:
SOURce:SCENario:CONTrol start;*OPC
Wait 5s for the scenario to start. Then read the event status register.
SEND:
*ESR?
Check the Operation complete bit (0) in the result. If it is true, the start of scenario is completed
and you can ask for example the current position.
SEND:
SOURce:SCENario:LOG?
Then read the event status register to reset it:
SEND:
*ESR?
6.3.1.6
*OPC?
Operation Complete Query
The Operation Complete query places an ASCII character 1 into the device’s Output Queue
when all pending device operations have been finished.
When a scenario is running there will be a pending operation set that is released at the start of
each 100 ms epoch. As a consequence of this, an
*OPC?
command will constantly block
except for a short period at the start of each 100 msec epoch. The
OPC?
command (and
*WAI
command) can hence be used to synchronize the execution of other SCPI commands with
GSG’s internal processing loop, with a resolution of 100 ms.
The
OPC?
is the recommended method to synchronize commands as
*OPC?
blocks at the
user’s application, rather than within the GSG. The use of
*OPC?
over
*WAI
is to be
220
CHAPTER
6
•
User Manual GSG-5/6 Series
Rev.
26
6.3 Command Reference
Summary of Contents for GSG-5 series
Page 2: ......
Page 4: ...Blank page II User Manual GSG 5 6 Series...
Page 116: ...BLANK PAGE 3 6 Options Menu 100 CHAPTER 3 User Manual GSG 5 6 Series Rev 26...
Page 182: ...BLANK PAGE 4 9 Studioview Tasks 166 CHAPTER 4 User Manual GSG 5 6 Series Rev 26...
Page 368: ...BLANK PAGE 6 7 Revision History SCPI Guide 352 CHAPTER 6 User Manual GSG 5 6 Series Rev 26...