Signal Generation The SOURce Subsystem Measurement Operations & Settings
Agilent 8163A/B, 8164A/B & 8166A/B Mainframes, Fifth Edition 139
command: [:SOURce[n]][:CHANnel[m]]:WAVelength:SWEep:FLAG?
syntax: [:SOURce[n]][:CHANnel[m]]:WAVelength:SWEep:FLAG?
description: The sweep flag is used to find out wh en logging data is available and when the next sweep
cycle may be triggered.
It may also be used as a sweep cycle counter, where: flag/2 = number of sweep c ycles
The flag is:
- only used in continuous sweep
- set to 0 at start/end of sweep
- incremented when the sweep is waiting for a trigger
- incremented when logging data is available
- an odd number when, waiting for a trigger
- an even number when, logging data may be read
If the trigger input isn’t configured to start a sweep cycle the flag is increased by two when
the logging data is available
If no logging data is calculated, because the u ser doesn’t want lambda logging, the flag is in-
cremented at the end of the sweep cycle regardless
Sweep state Flag
start 0
sweep waiting for trig ger 1
trigger
first cycle | start moving back | do some post
processing | logging data available
2
sweep waiting for next trigger 3
.....
sweep stopped or finished 0
parameters: none
response: the current sweep flag value as an unsigned integer value
example: sour0:wav:swe:flag? 30
affects: All tunable laser modules except Ag ilent 81649A and Agilent 81 689A/B