Setting Step Frequency Before Launching RTSA Suite
Quote from pythontom on 14/06/2024, 20:35We are using RTSA Suite in an 'unmonitored' situation and want to set certain parameters before launch, such as the step frequency of Spectran V6 Sweep Zoom block. We are successfully writing the values to the Mission file which we are then loading but the values from the Mission file are not being used.
How can we set this up so when the suite loads it has the correct settings?
We are using RTSA Suite in an 'unmonitored' situation and want to set certain parameters before launch, such as the step frequency of Spectran V6 Sweep Zoom block. We are successfully writing the values to the Mission file which we are then loading but the values from the Mission file are not being used.
How can we set this up so when the suite loads it has the correct settings?
Quote from pythontom on 15/06/2024, 11:56Well it's not hard to say if you know the answer is it... the question is quite simple, how do we set the step frequency before loading the software as it doesn't work when we set it in the mission file?
We are only using 1 mission file too so not sure what you're getting at...?
Well it's not hard to say if you know the answer is it... the question is quite simple, how do we set the step frequency before loading the software as it doesn't work when we set it in the mission file?
We are only using 1 mission file too so not sure what you're getting at...?
Quote from fw_dev on 23/06/2024, 11:31Updating the rmix files content manually was never supported and is no good idea at all, because there is also config data serialized in binary data that is only handled by the RTSA. That is why you see it is not working.
The intended way to modify and configure values in a headless scenario is to use the HTTP /remoteconfig endpoints using the "HTTP Server" block:
You'll find lots of good samples using the forum search: https://v6-forum.aaronia.de/forum/search/?keywords=remoteconfig
The endpoints documentation is here: https://v6-forum.aaronia.de/forum/topic/rtsa-suite-pro-http-streaming/ Look for the chapter "Set Configuration Data".
During development, you can use the "Remote Configuration" block in combination with Wireshark if you can not figure out property names of the config items or just do a GET request to /remoteconfig to get the structure right. In the screenshot you see the minimal required fields to update the startFrequency property of the Sweep Zoom block.
PUT http://127.0.0.1:54664/remoteconfig HTTP/1.1
content-type: application/json{
"config": {
"type": "group",
"name": "Block_Spectran V6 Sweep Zoom_0",
"items": [
{
"type": "float",
"name": "startFrequency",
"value": 455000000
}
]
}
}
Updating the rmix files content manually was never supported and is no good idea at all, because there is also config data serialized in binary data that is only handled by the RTSA. That is why you see it is not working.
The intended way to modify and configure values in a headless scenario is to use the HTTP /remoteconfig endpoints using the "HTTP Server" block:
You'll find lots of good samples using the forum search: https://v6-forum.aaronia.de/forum/search/?keywords=remoteconfig
The endpoints documentation is here: https://v6-forum.aaronia.de/forum/topic/rtsa-suite-pro-http-streaming/ Look for the chapter "Set Configuration Data".
During development, you can use the "Remote Configuration" block in combination with Wireshark if you can not figure out property names of the config items or just do a GET request to /remoteconfig to get the structure right. In the screenshot you see the minimal required fields to update the startFrequency property of the Sweep Zoom block.
PUT http://127.0.0.1:54664/remoteconfig HTTP/1.1
content-type: application/json{
"config": {
"type": "group",
"name": "Block_Spectran V6 Sweep Zoom_0",
"items": [
{
"type": "float",
"name": "startFrequency",
"value": 455000000
}
]
}
}
Quote from pythontom on 26/06/2024, 16:03Thanks for that information, I have tried adding an HTTP Server block but don't have it as an option in the block editor... is it available depending on license, or can we add it some other way?
Thanks for that information, I have tried adding an HTTP Server block but don't have it as an option in the block editor... is it available depending on license, or can we add it some other way?
Quote from AdminTC on 02/07/2024, 20:05Both the HTTP Server and Client are free of charge and included within the build (single license each).
Both the HTTP Server and Client are free of charge and included within the build (single license each).