Hello @douggillespie
Two issues - I wonder if you can point me the right way. Firstly I appear to be unable to run a UDP command into Pamguard, its compiled OK (thanks for that), the port is open but it disconnects and closes after the first try and only a restart of the software opens it again.
For example:
Pamguard running --port 6666
Another cmd window ---> ncat -u -v localhost 6666 (I am using ncat for sending udp traffic from the nmap package)
command: ping
response: cmd ping not found (with a return/new line after the command in the response)
From then on there are no more responses to any commands & all connections are closed.
After this point the port on pamguard is closed (checked with nmap, and interestingly if you can the port that also crashes it) and it does not reopen till I restart the software. Any clues?
Secondly --- can I please ask for some more clarity on the syntax you expect for the 3 commands listed
- tellmodule
- getxmlsettings
- setxmlsettings
This may be because my attempts at "getxmlsettings" thus far have only resulted in either "No settings" or "Unspecified modules for settings"
For example getxmlsettings "Sound Acquisition" just returns no settings - which seems wrong?
Part of this is (and i have tried to search but I cannot locate it) there doesn;t appear to be a clear list of available module names, some like Sound Acquisition have a different type of Data Acquisition, others like Array Manager are both the name and type...
e.g command summary produces:
"Sound Acquisition:ch0,-0.0,-10.4,-46.6,ch1,0.0,-4.6,-22.1,<\Data Acquisition>"
So I presumed the module name is - Sound Acquisition? or is it Data? or is actually just Acquisition (as the kind of root module?)
Finally how did you then envisage someone then parsing the new xml file with setxmlsettings? Something like:
setxmlsettings ? or
setxmlsettings <type name?> <systemType Class="java.lang.String" Value="Audio File"/> (with escape characters used?, just the varrying parts? or the entire file escaped?)
Anyway if you could put an example for each just to read back a default value that would be really helpful.
Thank you very much for your time,