Python Reference Guide
 
Loading...
Searching...
No Matches
FBDeviceNotifyInfo Class Reference

Device Input and Output Notification information structure. More...

#include <pyfbsdk_generated.h>

Inheritance diagram for FBDeviceNotifyInfo:

Public Member Functions

FBTime GetLocalTime ()
 Get local time.
 
int GetSyncCount ()
 Return the wanted timer sync count (internal or external)
 
FBTime GetSystemTime ()
 Get system time.
 

Detailed Description

Device Input and Output Notification information structure.


This structure is passed to the real-time device IO callback DeviceIONotify. It furnishes the device callback with the system time, local time, and sync counts for the current device cycle.

Member Function Documentation

◆ GetLocalTime()

FBTime GetLocalTime ( )

Get local time.

Returns
Current local time.

◆ GetSyncCount()

int GetSyncCount ( )

Return the wanted timer sync count (internal or external)

Returns
sync count or -1 if no sync is present

◆ GetSystemTime()

FBTime GetSystemTime ( )

Get system time.

Returns
Current system time.