I added the following error checking routine and it seems to work, although I still havent run it in production yet.
cfg,rc = nimbus.request ( r_entry.addr,"probe_config_get",args)
if rc == 0 then
-- Main Search Block
else
io.write("<",r_entry.name,">")
print ("\nCDM Failed on ",r_entry.name, ", Error=", rc,"\n")
io.write ("\n\tCDM Failed on ",r_entry.name, ", Error=", rc)
io.write ("\n</",r_entry.name,">\n")
end
I attached the full script with the error checking.
Ben