navStopRouteCreate (Function)

Top  Previous  Next

Architecture:

NX32 / NX32L

Device support:

MX2 turbo/encore/warp, AX9 turbo, NX-200, NX-400, NX-900

Firmware version:

4.70 / 1.30.00

Nav. API level:

14


This function will begin the construction of a route.

Routes are special stops that contain a number of individual stop points and optionally via points between the stop points.

When the route has been constructed, call navStopSetRoute to send it to the navigation device.

If the route is not to be used anyway, call navStopRouteAbort to close the route.

 

 

Input:

None.

 

Returns: INT

0

- Success.

-11

- Routes are not supported.

-12

- A route or a custom form is already being constructed. Please abort it and try again.

 

Declaration:

FUNCTION navStopRouteCreate : INT;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM NavigationExample;
VAR

  rc : INT;

END_VAR;
BEGIN
  ...
  // Begin the construction of a route
  rc := navStopRouteCreate();
  ...
END;
END_PROGRAM;