http server command list to control Signal Generator and Signal Analysis
Quote from Ron95 on 17/04/2024, 09:36Hi,
If I want control both Signal Generator and Signal Analysis with http server, do have the http commands list to control?
Thanks in advance!
Best regards,
Steven Puah
Hi,
If I want control both Signal Generator and Signal Analysis with http server, do have the http commands list to control?
Thanks in advance!
Best regards,
Steven Puah
Quote from AdminTC on 17/04/2024, 10:31See https://v6-forum.aaronia.de/forum/topic/rtsa-suite-pro-http-streaming/
See https://v6-forum.aaronia.de/forum/topic/rtsa-suite-pro-http-streaming/
Quote from Ron95 on 19/04/2024, 05:09Hi,
After go the thread and RTSA-http-Stream-Server-Endpoints-9.pdf. I still not understand how it actually work, my questions as below:
Question #1: Below is capture from RTSA-http-Stream-Server-Endpoints-9.pdf. It work as expected, the RTSA UI field value reflex accordingly.
(a) My question is where can I get or know the frequencyCenter or others field name that highlighted red below? If I want edit the transmitter gain and other SG field, what field name should I PUT?
(b) The "type" : "capture", what is that mean? I understand from PDF, there have other type like "recording", "streaming", etc, for SG setting, I should use what "type"?
Question #2:
In page 8 from TSA-http-Stream-Server-Endpoints-9.pdf, mention all configuration block in Aaronia-RTSA-Suite items can be query/GET with "/remoteconfig". Yes, I able to query the information.
Then in page 9, mention all configuration block in Aaronia-RTSA-Suite item can be set/editable with “/remoteconfig” in PUT process. I have the problem on this.
Here is what I did :
Step 1: I GET/query back the information "/remoteconfig", able to query back look good. (As mention in Page 8)
Step 2: I try edit the Center Frequency value to 2,2GHz, and decimation value to 2 from information return in Step 1. And PUT with "/remoteconfig", the PUT process is PASS. But I did not see any changes on Aaronia-RTSA-Suite's Center Frequency and Span? Anything I miss?
Best regards,
Ron
Hi,
After go the thread and RTSA-http-Stream-Server-Endpoints-9.pdf. I still not understand how it actually work, my questions as below:
Question #1: Below is capture from RTSA-http-Stream-Server-Endpoints-9.pdf. It work as expected, the RTSA UI field value reflex accordingly.
(a) My question is where can I get or know the frequencyCenter or others field name that highlighted red below? If I want edit the transmitter gain and other SG field, what field name should I PUT?
(b) The "type" : "capture", what is that mean? I understand from PDF, there have other type like "recording", "streaming", etc, for SG setting, I should use what "type"?
Question #2:
In page 8 from TSA-http-Stream-Server-Endpoints-9.pdf, mention all configuration block in Aaronia-RTSA-Suite items can be query/GET with "/remoteconfig". Yes, I able to query the information.
Then in page 9, mention all configuration block in Aaronia-RTSA-Suite item can be set/editable with “/remoteconfig” in PUT process. I have the problem on this.
Here is what I did :
Step 1: I GET/query back the information "/remoteconfig", able to query back look good. (As mention in Page 8)
Step 2: I try edit the Center Frequency value to 2,2GHz, and decimation value to 2 from information return in Step 1. And PUT with "/remoteconfig", the PUT process is PASS. But I did not see any changes on Aaronia-RTSA-Suite's Center Frequency and Span? Anything I miss?
Best regards,
Ron
Quote from mm_dev on 19/04/2024, 16:12
- The /control endpoint does not support the signal generator function of the V6 at this time. This currently can only be achieved using the /remoteconfig endpoint.
- You cannot just write the received data back. The PUT request should only include the fields that you're actually changing. Also you must increase the request id. Check the following threads for some examples:
- https://v6-forum.aaronia.de/forum/topic/change-rtsa-pro-parameters-with-api/
- https://v6-forum.aaronia.de/forum/topic/modify-the-frequency-range-using-http-put/
- https://v6-forum.aaronia.de/forum/topic/how-to-set-the-signal-generator-type-and-frequency/
- https://v6-forum.aaronia.de/forum/topic/how-to-set-transmitter-gain-with-json/
- The /control endpoint does not support the signal generator function of the V6 at this time. This currently can only be achieved using the /remoteconfig endpoint.
- You cannot just write the received data back. The PUT request should only include the fields that you're actually changing. Also you must increase the request id. Check the following threads for some examples:
- https://v6-forum.aaronia.de/forum/topic/change-rtsa-pro-parameters-with-api/
- https://v6-forum.aaronia.de/forum/topic/modify-the-frequency-range-using-http-put/
- https://v6-forum.aaronia.de/forum/topic/how-to-set-the-signal-generator-type-and-frequency/
- https://v6-forum.aaronia.de/forum/topic/how-to-set-transmitter-gain-with-json/