External Interfaces/API    

Configuring Properties During Object Creation

You can configure serial port properties during object creation. serial accepts property names and property values in the same format as the set function. For example, you can specify property name/property value pairs.

If you specify an invalid property name, the object is not created. However, if you specify an invalid value for some properties (for example, the BaudRate and Parity properties), the object may be created but you will not be informed of the invalid value until you connect the object to the device with the fopen function.


 Creating a Serial Port Object The Serial Port Object Display