Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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?