How to query the time remaining on a USB hardware lock?

asked 2018-04-11 17:39:52 -0500

wassup_doc gravatar image

Does anyone know if there is a way to query the time remaining on the USB hardware lock?

Ideally, I am looking for a python API that simply returns the amount of time remaining -- I don't see anything obvious in the API manual.

The purpose, of my question is because I am running PSS/e with multiple subprocesses running in the background and subprocesses just within python that are doing analysis on my simulations outside of PSS/e. I would like to build in a "safety net" by writing a small subprocess that simply queries the amount of time used up, and shuts PSS/e down if for some reason it was running for hours... How do you all ensure that unnecessary time is not being used up on your hardware lock?

edit retag flag offensive close merge delete