nmpPower (Function) |
|
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.
The power to the NMP navigation device is controlled by the RS232 DTR signal.
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 |