I have a signal continuously sweeping at 25ms. I would like to read a marker after every sweep. What command can I use to know when the sweep is complete so that I may read the marker? Is it possible to get a timestamp from the PNA-X when the data is read? Thanks.
1. Take the PNA out of continuous sweep. Then simply trigger a sweep, wait for it to complete, read the marker and repeat as necessary.
2. Leave the PNA in continuous sweep and use events (or SRQ) to detect the end of sweep. Then read the marker and wait for the next event.
The problem with approach number 2 is that 25ms is fairly short and if you cannot complete everything before the next sweep, you could miss a sweep. Depending upon your needs, this may or may not be an issue.