Petra

petra()
Fetches the Petra current from the TINE server. The time resolution is better than 1 second. e.g.:
* = petra()

If a 'connection timeout' occurs, Petra() returns 0 and does not generate an error. This way long running measurements are not interrupted.

If the flag FLAG_USE_PETRA_CURRENT is found to be 0, Online doesn't not contact the server but returns 0.