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 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 03/07/2024, 11:23Hi, I have found the blocks but both say we need to buy a license for them? How can we activate them so we can add them?
Hi, I have found the blocks but both say we need to buy a license for them? How can we activate them so we can add them?

Quote from fw_dev on 03/07/2024, 12:29Depending on the device one HTTP block should come bundled with the device. Do you have the device connected? Otherwise please contact our sales department via [email protected]
Depending on the device one HTTP block should come bundled with the device. Do you have the device connected? Otherwise please contact our sales department via [email protected]

Quote from pythontom on 03/07/2024, 14:17So does it use the license if it has been assigned to another mission file? How can we get our "1 use" back?
Thanks.
So does it use the license if it has been assigned to another mission file? How can we get our "1 use" back?
Thanks.

Quote from fw_dev on 03/07/2024, 14:25My question was "Do you have the device connected?" You'll find the bundled licence to be granted in the Licence Manager, when the device is connected. It is not consumed by the mission file, it is bound to your SPECTRAN V6 device that then authorizes the licence in the RTSA Suite Pro software - but only, when you have the SPECTRAN connected.
My question was "Do you have the device connected?" You'll find the bundled licence to be granted in the Licence Manager, when the device is connected. It is not consumed by the mission file, it is bound to your SPECTRAN V6 device that then authorizes the licence in the RTSA Suite Pro software - but only, when you have the SPECTRAN connected.

Quote from pythontom on 03/07/2024, 14:47Sorry, yes it is connected. I have had a look and realised we hadn't imported the license keys so have done that and can now add the http server.
Thanks very much for your help, I'll now look into using the http server rather than the mission file. 🙂
Sorry, yes it is connected. I have had a look and realised we hadn't imported the license keys so have done that and can now add the http server.
Thanks very much for your help, I'll now look into using the http server rather than the mission file. 🙂