Is there a way to execute PingViewer from the terminal using a one liner to set the parameters (ip address, sonar type, udp mode, etc). I have seen via the help command that there is a connection string option but I do not know which format should I use to introduce the parameters.
I am using Ubuntu 18.04
Have a nice day!
There does seem to be one, but as far as I’m aware it’s not documented outside the code. From what I can tell it seems to use
: as a separator, and from a little bit of testing I found I could connect to my Ping360 (ethernet configuration) over UDP with
pingviewer -c "Ping360:3:192.168.2.4:12345" # "Device:LinkType:IP:Port"
Where the 3 is UDP from the
LinkType. IP and Port would be different arguments depending on the link type, and there’s also an optional Name argument that I wasn’t immediately able to get working.
Our main Ping Viewer developer is on holiday at the moment, but if you’re particularly interested in the connection string format and you aren’t readily able to figure out the parameters you need then I can ask them about it in a couple of weeks.
Thank you very much. I was trying to crack it myself and I was very close to find the solution