navUserStatusRcvX (Functionblock) |
Top Previous Next |
navUserStatusRcvX is an extended version of navUserStatusReceive and returns the user status and timestamp.
If the navigation device does not support API level 2, the function will work as navUserStatusReceive, and extended data will not be accessible.
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.
index : INT The index of the user.
status : INT The ID used to identify the user status in navUserStatusDefine. -1 if no status is set.
ready : BOOL
Declaration: FUNCTION_BLOCK navUserStatusRcvX;
Example: INCLUDE rtcu.inc |