8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide
169
Measurement Operations & Settings
4
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 when 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 cycles
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 user doesn’t want lambda logging, the flag is incremented at the end of the
sweep cycle regardless
Sweep state
Flag
start
0
sweep waiting for trigger
1
trigger
->
first cycle | start moving back | do some postprocessing |
logging data available
2
sweep waiting for next trigger
3
.....
sweep stopped or finished
0
parameters:
none
response:
the current sweep flag value as a signed integer value
example:
sour0:wav:swe:flag?
->
+30
affects:
All tunable laser modules except 81649A, 81689A/B, 81949A, 81989A, 81950A, and 81609A.