This function will delete a sensor from the display of the navigation unit.
Input:
id : INT
Unique ID to identify the sensor to delete.
Returns: INT
0
|
- Success.
|
-1
|
- Navigation interface is not open.
|
-2
|
- Error communicating with navigation device.
|
-3
|
- The sensor could not be found.
|
-4
|
- The navigation device rejected the command.
|
-11
|
- Sensor display is not supported.
|
-12
|
- Navigation interface is busy.
|
Declaration:
FUNCTION navSensorDelete : INT;
VAR_INPUT
ID : DINT;
END_VAR;
Example:
INCLUDE rtcu.inc
PROGRAM NavigationExample;
BEGIN
...
navSensorDelete(ID := 55);
...
END;
END_PROGRAM;
|