navFormUpload (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:

12


This function will upload a form created with navFormCreate to the navigation device.

The upload progress will be reported with GPI progress events that can be read with navGPIProgressReceive.

When the upload is completed, navGPIProgressReceive will report any errors with the form.

See navFormuploadFile for a list of the additional error codes.

 

 

Input:

None.

 

 

Returns: INT

0

- Success.

-1

- Navigation interface is not open.

-2

- Error communicating with navigation device.

-10

- The form is too large to upload. Call navFormAbort and try again with fewer fields.

-11

- Forms are not supported.

-12

- Navigation interface is busy.

 

Declaration:

FUNCTION navFormUpload : INT;

 

Example:

INCLUDE rtcu.inc
 
PROGRAM NavigationExample;
 
BEGIN
  ...
  // upload form
  navFormUpload();
  ...
END;
END_PROGRAM;