Hi,
If you choose the solution of Rowan you can check my checkconfig made with lua (i loop through hubs and robots).
GitHub - fraxken/checkconfig_lua: CA UIM Checkconfig LUA for NAS
If you want to build a perl script my Perluim framework has been made to do it like a boss ! (Used for checkconfig4)
https://github.com/UIM-Community/checkconfig4
Example build with the Perluim WIKI doc :
my ($RC, %Robots) = $UIM->getAllRobots();
if($RC != NIME_OK) {
print nimError2Txt($RC);
exit(0);
}
foreach my $robotName (keys %Robots) {
print "Processing robot => $robotName\n";
# Make other call here like : $Robots{$robotName}->getInfo();
}
Hope it will help you to build your script !
Best Regards,
Thomas