Herror ::close_serial (
    const HTuple &SerialHandle
)

Close a serial device.

::close_serial closes a serial device that was opened with ::open_serial.


Parameters

SerialHandle (input_control)
serial_id -> HTuple.long
Serial interface handle.


Result

If the parameters are correct and the device could be closed, the operator ::close_serial returns the value H_MSG_TRUE. Otherwise an exception is raised.


Possible Predecessors

::open_serial


See also

::open_serial, ::close_file


Module

System



Copyright © 1996-2002 MVTec Software GmbH