navUserStatusReceive (Functionblock) |
Top Previous Next |
navUserStatusReceive returns the user status and timestamp.
If the navigation device support API level 2, additional information can be received with navUserStatusRcvX.
Note that the user status is only valid after a "User Status" event is raised; the event will be removed when this function block is called. A "User Status" event is raised when the user status is changed in the navigation device or is requested with navUserStatusRequest.
Input: None.
Output: time : DINT The timestamp when the specified user status took effect.
status : INT The ID used to identify the user status in navUserStatusDefine. -1 if no status is set.
ready : BOOL
Declaration: FUNCTION_BLOCK navUserStatusReceive;
Example: INCLUDE rtcu.inc |