...
Code Block |
---|
{ "Name": "Read Single FFT Azimuth", "Description": "Connects to a radar and reads a single azimuth of data", "LaunchCommand": "python", "ExePath": "Apps\\Python\\Python_radar_client\\read_azimuth_of_fft_data.py", "ParameterGroups": [ { ], "GroupNameMutualExclusiveGroups": "", [], "ParametersExecutionEnv": [null { "ShortForm": "i", "LongForm": "ip_address", "Required": false, "HasArguments": true, "DefaultValue": "192.168.0.1" }, { "ShortForm": "p", "LongForm": "port", "Required": false, "HasArguments": true, "DefaultValue": "6317" } ] } ], "MutualExclusiveGroups": [], "ExecutionEnv": null} ] } |
When the app is next launched, there will be a corresponding entry in the Trebuchet Launcher, but with no arguments:
...
So, the final configuration entry for this app looks like this:
Code Block |
---|
{
"Name": "Read Single FFT Azimuth",
"Description": "Connects to a radar and reads a single azimuth of data",
"LaunchCommand": "python",
"ExePath": "Apps\\Python\\Python_radar_client\\read_azimuth_of_fft_data.py",
"ParameterGroups": [
{
"GroupName": "",
"Parameters": [
{
"ShortForm": "i",
"LongForm": "ip_address",
"Required": false,
"HasArguments": true,
"DefaultValue": "192.168.0.1"
},
{
"ShortForm": "p",
"LongForm": "port",
"Required": false,
"HasArguments": true,
"DefaultValue": "6317"
}
]
}
],
"MutualExclusiveGroups": [],
"ExecutionEnv": null
} |
Code Block |
---|
This creates an entry in the Trebuchet app:
...
Code Block |
---|
{ "Name": "Radar Video Adjuster", "Description": "Relays incoming 16-bit FFT messages as 8-bit", "LaunchCommand": "", "ExePath": "Apps\\Radar Utilities\\video_adjuster.exe", "ParameterGroups": [], "MutualExclusiveGroups": [], "ExecutionEnv": null } |
...