Quantcast
Channel: Uninterruptible Power Supplies (UPS)
Viewing all articles
Browse latest Browse all 1648

eaton ipp com server compatibility/support?

$
0
0

Hi again!

Im trying to use the Eaton IPP software to run a python script when an action condition is met.

My current python script (call it c:\WIP\powerFail.py) writes the date and time of the failure to a file called c:\WIP\powerLog.txt.

To execute that on the alarm action, I set the action type to command and the argument to python c:\WIP\powerFail.py

This works fine. The log file gets updated as it should.

Now, I want to incorporate status messaging to a com server I have running.

The ActiveX/Com server is a custom win32com python class that is verified and works across applications (ie sending messages works on Excel/VB <-> python <-> LabView all simultaneously to/from my com class server).

I can execute the c:\WIP\powerFail.pyjust fine in python (and its equivalent functionality in Excel/VB) and it logs the file and sends the status...

<-><->

Viewing all articles
Browse latest Browse all 1648

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>