This function will close the full screen camera output and close the connection to a camera.
Input:
id : SINT (default : 1)
ID of camera to close.
Returns: INT
0
|
- Success.
|
-1
|
- Navigation interface is not open.
|
-2
|
- Error communicating with navigation device.
|
-4
|
- Failed to open camera. It might already be closed.
|
-8
|
- Unknown camera ID.
|
-11
|
- This is not supported by the device (e.g. the device is not an NMP device).
|
-12
|
- Navigation interface is busy.
|
Declaration:
FUNCTION nmpCameraClose : INT;
VAR_INPUT
id : SINT := 1;
END_VAR;
Example:
INCLUDE rtcu.inc
PROGRAM test;
BEGIN
...
nmpCameraClose(id := 1);
...
END;
END_PROGRAM;
|