navUserIDReceive (Functionblock) |
Top Previous Next |
navUserIDReceive returns the user ID and timestamp.
Note that the user ID is only valid after a "User ID" event is raised; the event will be removed when this function block is called. A "User ID" event is raised when the user ID is changed in the navigation device or is requested with navUserIDRequest.
navUserIDReceive automatically authenticates a user ID when this is required. For manual authentication, use navUserIDReceiveX and navUserIDAuthenticate.
Input: None.
Output: time : DINT The timestamp when the specified user ID took effect.
user : STRING The user ID. If no user ID has been set, the string will be empty.
ready : BOOL
Declaration: FUNCTION_BLOCK navUserIDReceive;
Example: INCLUDE rtcu.inc |