External Interfaces/API |
Using Serial Port Objects on Different Platforms
If you save a serial port object from one platform, and then load that object on a different platform having different serial port names, then you will need to modify the Port
property value. For example, suppose you create the serial port object s
associated with the serial port COM1 on a Windows platform. If you want to save s
for eventual use on a Linux platform, you should configure Port
to an appropriate value such as ttyS0
after the object is loaded.
Saving and Loading | Disconnecting and Cleaning Up |