# QA402 Feature Request

**URL:** <https://forum.quantasylum.com/t/qa402-feature-request/358>\
**Category:** Uncategorized\
**Created:** [June 7, 2021, 1:33pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358 "2021-06-07T13:33:34Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Rammis](https://avatars.discourse-cdn.com/v4/letter/r/59ef9b/32.png) [@Rammis](https://forum.quantasylum.com/u/Rammis)\
**Post date:** [September 6, 2021, 12:04am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/61 "2021-09-06T00:04:16Z")

</div>

I mentioned this in another thread, but it would be nice if the axis setting dialog for dBr which has 'set peak to 0db" also had an option to ‘always keep peak at zero’ so that regardless of if the amplitude is changed, the peak always remains at 0.

---

<div class="post-metadata">

**Author:** ![matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@matt](https://forum.quantasylum.com/u/matt)\
**Post date:** [September 9, 2021, 3:43pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/62 "2021-09-09T15:43:21Z")

</div>

Yes, good idea, added to QA402/issues on github

---

<div class="post-metadata">

**Author:** ![matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@matt](https://forum.quantasylum.com/u/matt)\
**Post date:** [September 9, 2021, 3:50pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/63 "2021-09-09T15:50:37Z")

</div>

Hi @ttako, yes, there’s something that could be done here for sure. There is a side project using RC notch (like on QA480) and RC notch for a resonator that is being studied for getting THD+N to -125 dB or so to measure some of the newer class D amps that have THDN around -118 dB or so. Some of the requirements are listed at the link below. Soon there will be an update. If it works at 1 kHz, then the question becomes if it’s useful to test at other frequencies and a tracking notch as you mention becomes interesting for sure.

> [@Measuring A Modern Discrete Class D Amp](https://forum.quantasylum.com/t/measuring-a-modern-discrete-class-d-amp/391):
>
> The QA402 can readily measure the performance of modern class D chip amps, even with them surpassing conventional class AB amps. See [here](https://quantasylum.com/blogs/news/first-look-infineon-merus-ma12070?_pos=4&_sid=b57421685&_ss=r) and [here](https://quantasylum.com/blogs/news/quick-look-a-no-name-tpa3255-design?_pos=7&_sid=b57421685&_ss=r) and [here](https://quantasylum.com/blogs/news/first-look-evaluating-class-d-power-amps-with-the-qa401?_pos=1&_sid=b57421685&_ss=r) for examples. But some of the newer Class D amps from companies like Purifi are re-defining what high-performance means from a measurement perspective. Let’s take a look at some of their published specs and see what it might mean if we wanted to measure with at least some margin. First, we have the following table from their website. The tw…

---

<div class="post-metadata">

**Author:** ![ttako](https://avatars.discourse-cdn.com/v4/letter/t/dc4da7/32.png) [@ttako](https://forum.quantasylum.com/u/ttako)\
**Post date:** [September 9, 2021, 4:18pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/64 "2021-09-09T16:18:22Z")

</div>

Thanks Matt, That looks great! I just can’t wait to see progress here 🙂

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 9, 2021, 7:12pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/65 "2021-09-09T19:12:53Z")

</div>

I would like to see a “dBr Avg” setting which would put the dBr 0 point at the average of the waveform(s) making it much easier to see the +/- variation (I am thinking frequency response) more readily. You would probably need to select which channel you would want to be used as a reference…

---

<div class="post-metadata">

**Author:** ![matt](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@matt](https://forum.quantasylum.com/u/matt)\
**Post date:** [September 10, 2021, 4:07pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/66 "2021-09-10T16:07:55Z")

</div>

> [@blurpy](#):
>
> @matt maybe there are some race conditions in the api from the web interface sending lots of post requests? I remember we had some of those in QA401H.

Hi @blurpy, yes there is something here that needs attention for sure. Changing of FFT while running can sometimes cause a state where part of the UI thinks it’s acquiring and another part thinks it’s stopped.

For web interface, is it possible you are sending a POST Acq before the last one had finished?

---

<div class="post-metadata">

**Author:** ![blurpy](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@blurpy](https://forum.quantasylum.com/u/blurpy)\
**Post date:** [September 13, 2021, 4:38pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/67 "2021-09-13T16:38:36Z")

</div>

Hi @matt  
I don’t think the issue happens during just acquisitions. I am not entirely sure when it happens actually, because it’s been random, and not very often. But I think it happens when changing settings in the web interface, where it sends all the different settings at once.

It sounds like it could be the FFT issue you mention. Maybe it also applies when changing the FFT at the same time as other options?

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 14, 2021, 6:56am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/68 "2021-09-14T06:56:30Z")

</div>

Hi- I got back and the web interface worked well on my benchtop PC. It does not look like you can change the windowing though- it is stuck on Hann- that that changeable? Thanks!

---

<div class="post-metadata">

**Author:** ![blurpy](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@blurpy](https://forum.quantasylum.com/u/blurpy)\
**Post date:** [September 14, 2021, 7:15am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/69 "2021-09-14T07:15:45Z")

</div>

Good to hear it’s working!

Windowing wasn’t available in the API until recently, but it is now so I have updated the web interface. Download the latest development version again and you should be able to change windowing, if you also have the newest QA402 software running 🙂

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 14, 2021, 8:21pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/70 "2021-09-14T20:21:47Z")

</div>

I tried your latest code (THX!) and I could toggle the windowing and attenuation in “Acquire”, but they do not change in the “window information display area”:

 ![web](https://canada1.discourse-cdn.com/flex032/uploads/quantasylum/original/1X/b7a89935c90a059de77c7e40a71469a80aa57f1c.jpeg)

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 15, 2021, 4:58am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/71 "2021-09-15T04:58:17Z")

</div>

For the QA402 software, it would be nice to have the dBr offset value displayed on the trace like it does the attenuation input gain offset. Also, the ability to add a note/ title to the trace would be helpful 😁

---

<div class="post-metadata">

**Author:** ![blurpy](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@blurpy](https://forum.quantasylum.com/u/blurpy)\
**Post date:** [September 15, 2021, 6:05am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/72 "2021-09-15T06:05:46Z")

</div>

It looks like you are currently in run mode.  
I also see that the active settings displayed to the right of the result table are different from what you have currently in the sidebar (Acquire section).

Since changing settings while it’s acquiring has been error prone, I disabled that ability. So the way I usually set this up is I have it stopped, then make my changes, click “Set” and then “Single acquire” to see the result. If I’m happy I click “Run”, if not I repeat.

Does that make sense?

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 15, 2021, 6:28am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/73 "2021-09-15T06:28:55Z")

</div>

That makes perfect sense and will try it tomorrow and report back…Thanks again!

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 16, 2021, 4:50am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/74 "2021-09-16T04:50:30Z")

</div>

I tried the Set and single acquire method and still get an error, though some of the data changes, but not all (ext gain):

 ![Capture](https://canada1.discourse-cdn.com/flex032/uploads/quantasylum/original/1X/4b4afec88bc9b8bad1abbd5d012b98c7d16db4ba.jpeg)

---

<div class="post-metadata">

**Author:** ![blurpy](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@blurpy](https://forum.quantasylum.com/u/blurpy)\
**Post date:** [September 17, 2021, 6:53am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/75 "2021-09-17T06:53:51Z")

</div>

You are good at finding things 😃

Never seen that message before. Did you get it when clicking set or single acquire?  
The message comes from the QA402 software. Maybe @matt knows what’s going on?

My guess is that some setting you have enabled in the QA402 software is incompatible with the settings used in the web interface. What state is the app in - is it loaded with default settings, or have you tweaked a lot?

If you are not in a default state you can try to start from that, or potentially undo 1 and 1 change to find out which one might create this error.

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 17, 2021, 4:06pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/76 "2021-09-17T16:06:21Z")

</div>

I was kind of in a hurry and thought maybe it did not like the load being a different value or the external gain being different- it worked before but now I was “cranking up” the amp and needed the external gain in. I will play with it today some more and report back what I find. I wished I knew how to program with this code more, but it is not my forte- I like simpler things like HP/Agilent/Keysight VEE 🤓

---

<div class="post-metadata">

**Author:** ![blurpy](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@blurpy](https://forum.quantasylum.com/u/blurpy)\
**Post date:** [September 17, 2021, 6:00pm UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/77 "2021-09-17T18:00:02Z")

</div>

Load and gain are options handled by the web interface directly, so they should not interfere with the QA402 software at least. I don’t think that is related to the error you got.

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 18, 2021, 1:41am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/78 "2021-09-18T01:41:45Z")

</div>

Played with it some more and it did not give me an error if I only changed one parameter and then did SET & Single Acquire. I think I found another problem in that the power is not being calculated correctly, even though it shows the external gain as -12dB. Here is the Web version showing ~203w:

 ![webss](https://canada1.discourse-cdn.com/flex032/uploads/quantasylum/original/1X/8886a862b9c857e00b3865adad82f23b6b07a2a9.jpeg)

and the QA40x display showing the correct power for the -12.3dB input gain (~12w, and this has A weighting on and 8.25ohms for the loads):

 ![webss2](https://canada1.discourse-cdn.com/flex032/uploads/quantasylum/original/1X/20f45e981ca747d7f017ca31d257e982c2f6bf3e.jpeg)

---

<div class="post-metadata">

**Author:** ![blurpy](https://avatars.discourse-cdn.com/v4/letter/b/958977/32.png) [@blurpy](https://forum.quantasylum.com/u/blurpy)\
**Post date:** [September 18, 2021, 10:02am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/79 "2021-09-18T10:02:51Z")

</div>

Glad it’s now working 🙂

The power calculation looks correct based on the data the web interface receives from the QA402 software.

As you can see from the input row in the result table, the measured voltage is 20 dbV. Then you specify that the signal has been attenuated by 12 dB (ext. gain -12dB), so the calculated output signal from the DUT is 32 dBV. 32 dBV / 40 Vrms is 200w into 8 ohm.

The measured input signal of 20 dBV / 10 Vrms is 12.5w into 8 ohm, which is what you see in the QA402 software. However, that value seem to be calculated based on a specified attenuation of 12 dB in the QA402 software, so the real measured signal is 8 dbV. It looks to me like the QA402 software reports the calculated value and not the measured value to the web interface. So the result is double the attenuation (24 dB) when looking at the web interface. If you set ext gain in either the QA402 software or the web interface to 0, then I think it will look correct.

I am not aware of an API that can be used to synchronize this attenuation value between them, so I don’t think there is any way of handling this better for now.

---

<div class="post-metadata">

**Author:** ![VAR](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.quantasylum.com/var/32/959_2.png) [@VAR](https://forum.quantasylum.com/u/VAR)\
**Post date:** [September 19, 2021, 1:27am UTC](https://forum.quantasylum.com/t/qa402-feature-request/358/80 "2021-09-19T01:27:05Z")

</div>

It worked if I did what you suggested- just use the QA402 software for the external gain settings and now it seems to be happy!

[Previous page](https://forum.quantasylum.com/t/qa402-feature-request/358.md?page=3)

[Next page](https://forum.quantasylum.com/t/qa402-feature-request/358.md?page=5)
