REST API Phase Measurement

Both Get Phase Seconds and Get Phase Degree commands return response 400. Other commands like getting version, THD, SNR, and frequency response are working. I’ve double checked and it doesn’t seem to be a syntax error. Any ideas?

Also on a related note are the test plugins (test under the automated test tab) accessible via the REST API? I want to sweep amplitudes for a test, and there’s a test plugin built for that, but it doesn’t seem to be built into the REST API.


image

Hi @Isaac, both Phase/Degrees and Phase/Seconds will currently throw a NotImplemented exception internally, which will result in a 400 response (Bad Request). They were deprecated some time ago. I think the issue is one of specifying the reference (is it the DAC output or right channel) via REST.

I recently ran into this issue as well and ended up just calculating it myself using cross correlation from the captured samples instead. I suggest going this route if you want a phase measurement.