navClose (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, LX2, LX4, LX5

Firmware version:

1.40 / 1.00.00

Nav. API level:

1


This function will close the navigation interface. After the navigation interface is closed, it cannot be used until opened again.

 

Please also see navOpen.

 

 

Input:

None.

 

 

Returns: INT

0

- Success.

-1

- Navigation interface is not opened.

 

 

Declaration:

FUNCTION navClose : INT;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM NavigationExample;
VAR
  rc : INT;
END_VAR;
 
  DebugMsg(message := "Initializing navigation...");
  rc := navOpen();
  IF rc <> 0 THEN
    DebugFmt(message := "Error: navOpen=\1", v1 := rc);
  END_IF;
 
  ...
 
  // Close the navigation interface
  navClose();
  ...
END_PROGRAM;