navStopIndexSet (Function)

Top  Previous  Next

Architecture:

X32 / NX32 / NX32L

Firmware version:

1.40 / 1.00.00

Nav. API level:

1


This function will move the destination to another position in the route.

 

 

Input:

ID : INT

The ID used to identify the destination in navStopSet.

 

index : INT

The index of the new position in the route.

 

 

Returns: INT

0

- Success.

-1

- Navigation interface is not open.

-2

- Error communicating with navigation device.

-12

- Navigation interface is busy.

 

Declaration:

FUNCTION navStopIndexSet : INT;
VAR_INPUT
   ID    : INT;
   index : INT;
END_VAR;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM NavigationExample;
 
BEGIN
   ...
   // Set the position of a destination in the route
   navStopIndexSet(id := 61, index := 0);
   ...
END;
END_PROGRAM;