nmpPower (Function) |
Top Previous Next |
This function controls the power of a connected NMP navigation device. By using this function, the program can turn the NMP on and off to save power or reset the device. This must be called after navOpen as navOpen determines if the serial port is in use.
Depending on the RTCU device in use, the power to the NMP navigation device is controlled by the following output signal:
When using the nmpPower function on the RTCU CX1 series or on the RTCU SX1, the digital output 2 is reserved for this purpose and cannot be used from the VPL application.
Usually, the power is controlled by a dedicated interface box connected to the NMP device in question. Please install according to the hardware documentation.
Input: power : BOOL (Default: ON)
Returns: INT
Declaration: FUNCTION nmpPower : INT;
Example: INCLUDE rtcu.inc |