With different channels, windows, and traces, how do I programmatically specify my target measurement when using GPIB/SCPI?
This is probably the most commonly asked programming question. Each measurement has a specific name regardless of its channel, window, or trace number. When in doubt as to which measurement a particular SCPI command will affect, precede the command with “CALC:PAR:SEL ‘measName'” See programming examples elsewhere on this web site.