0

IQAN Script to execute only if IQANconnect is online

Jean-Philippe Parent 1 month ago in IQANscript 0

I have a script that loads an ini file with an iqanconnect key generated from a separate Python script containing the list of all units in the field to connect periodically to every unit for fault monitoring and preventive maintenance monitoring. The script loads the file and attempt to connect. If the unit is online, everything is fine but if the unit is offline, I have to wait the entire timeout to go to the next machine. Is there a way to access the data shown in the IQAN Connect page BEFORE attempting to connect? The info is available in the IQANrun Connect window but can I access it in my script? Or ping the server with an iqankey to get the state (Online or Offline) before attempting to connect?