The Serial modules add serial comm support and system.serial functions to Python scripts. These functions allow you to open, read from, write to, and close serial ports. More information on these function can be found in the system.serial section of the Appendix. This module provides access to the serial port on the Ignition Gateway and systems running Vision Clients.
There are two variants of the Serial Modulemodule. Both perform similar functionality, but at different scopes:
- The Serial Support Client module allows the system.serial functions to be accessed from client based scripts, as well as connect to serial devices plugged into the computer running the client.
- The Serial Support Gateway module allows the system.serial functions to be accessed from Gateway based scripts, as well as connect to serial devices plugged into the Gateway server.