navUserIDSet (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Device support:

MX2, AX9, CX1 pro/flex/warp, SX1, MX2 turbo/encore/warp, AX9 turbo, NX-200, NX-400, NX-900

Firmware version:

1.40 / 1.00.00

Nav. API level:

1


This function will set the user ID of the current user.

 

 

Input:

index : SINT (1..3, Default: 1)

The index of the user.

 

user : STRING

The new ID of the user (maximum 49 characters).

 

 

Returns: INT

0

- Success.

-1

- Navigation interface is not open.

-2

- Error communicating with navigation device.

-8

- Illegal user index or illegal user ID.

-11

- This is not supported by navigation device.

-12

- Navigation interface is busy.

 

Declaration:

FUNCTION navUserIDSet : INT;
VAR_INPUT
  index : SINT := 1;
  user : STRING;
END_VAR;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM NavigationExample;
 
BEGIN
  ...
  // Set user ID in the navigation device
  navUserIDSet(index := 1, user := "Driver 55");
  ...
END;
END_PROGRAM;