Is there any command to list all probes under robot or hub ?
similary any command to get all robots under one hub ?
Using Lua you can create a script that uses the hub or the controller callback of 'probe_list'
also there is a hub callback called 'getrobots' that will work.
It would involve someone with a good skill with Lua programming, but a quick snippet of code we use is:
local getArg = pds.create() pds.putString(getArg,"name","net_connect") local currentConfig, status = nimbus.request(robotTable[rIndex], "probe_config_get", getArg) local qosProfiles = 0 local noQosProfiles = 0
This was created to list all the net connect profiles that then inserted them into a table in the database.
for getting robots list we have pu -u USERNAME -p PASSWORD hub getrobots command
similarly is there any command for getting probes list ?
pu.exe -u username -p password controller probe_list '""'
You can view commands available for a probe in Infrastructure Manager. Just press ctrl + P when the probe is selected.
You can also get all of the probes on each robot under a hub within the response to the getrobots callback:
pu hub getrobots "" 1
This is way more efficient than asking each controller if you want the information for all of the robots anyway.
Retrieving data ...