Community Forums Archive

Go Back

Subject:Need help scripting the Spectrum Analysis
Posted by: shanksworthy
Date:7/17/2008 12:43:48 PM

I'm not sure if the Spectrum Analysis is fully script-able, but here's what I'd like to be able to script anyway:

1. Check if the Spectrum Analyser is open, and if not, then open it.
2. Enable the following settings in the Spectrum Analyser:
- Open a preset called "DSA"
- Select "Auto Refresh" if it's not already selected
- Select "Normal display", with "Line Graph" selection
3. Open a .wav file and "Select All".
4. "Set" the frequency response to snapshot #3
5. Open another .wav file and "Select All".

At this point, two frequency responses should be overlayed in the Spectrum Analyser window. Optionally at this point I'd like to be able to save a screenshot to a file, although I realize that might not be possible.

Any chance that at least some of the above can be done?

Subject:RE: Need help scripting the Spectrum Analysis
Reply by: shanksworthy
Date:7/22/2008 9:09:09 AM

Anybody?

Subject:RE: Need help scripting the Spectrum Analysis
Reply by: _TJ
Date:7/22/2008 3:06:03 PM

Sorry, Spectrum Analysis is not currently scriptable. You have access to the raw waveform data, so you could do your own FFT's on it. But you can't control Spectrum Analysis or get its output from script.

Subject:RE: Need help scripting the Spectrum Analysis
Reply by: shanksworthy
Date:7/23/2008 9:36:55 AM

Okay, thanks. I thought maybe that was the case.
Any chance of this becoming script-able in future updates?

For now I'll script externally using a script recording tool like TestComplete.

Go Back