Generating Other Waveforms

I’m currently waiting on my QA403 to arrive and am wondering if it’s possible to output custom waveforms, similar to an arb generator?

1 Like

Hi @MotoDan. The QA40X software allows sine waves, multitones, and white noise, as well as expo chirp useful for evaluating frequency responses.

The QA403 REST calls support a wave binary array so in theory you can send anything. I don’t know if there’s a size limit.

The factory QA40x app doesn’t have a user-defined option nor does my software QA40xPlot but it would be pretty simple to add.

What are you trying to achieve?

Mark

Hi Mark,
I was hoping to use the QA403 (which I haven’t purchased yet) as a precision audio spectrum analyzer which it will of course do now. I also would like to take advantage of the precision of the DACs to generate arbitrary waveforms. So from what you’re saying, it sounds like I could generate a wave array offline and load the 403. I’m not familiar with the REST reference or how to program the 403.

Thanks

Yes, when you run the factory application it supports a REST interface. This is a way to send commands to the application that it then runs. REST just means that the interface is memory-less, which is necessary for multiple callers to not interfere with each other.

When you run the factory application it has a useful help entry for the REST api - that is directions on how to call the app externally. These can be done from any browser or, more often, a short program in Python or a batch file.

As a simple test you can use windows CMD (command line) and a program named curl that now comes with windows 11. Like this→

curl http://localhost:9402/Status/Version

will print the current version of the application. Or

curl -d "" -X PUT http://localhost:9402/Settings/Input/Max/6

will set the input attenuation to 6.

Take a look at:

QA40x API - QuantAsylum/QA40x GitHub Wiki

Mark

I need a GOOD square wave.

Define good. Band-limited? High bandwidth?

1 Like

Nice straight edges with little overshoot and minimal harmonics, you know… the fantasy kind.