|
There are at least two approaches to this.
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.
|