RS232Open
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Opens a serial port. Note: The serial port is available on exactly the node which executed the CAPL code. One and the same port may be opened by several nodes. If the port has been opened, other programs cannot access the serial port any more.Parameters
- port: A number between 1 and 255 identifying a serial port.
Return Values
- 0: error
- The error occurs if:
- the serial port with the given number does not exist on the system
- another program uses the serial port according to the port number
- The error occurs if:
- 1: success