Writing a Switch Driver
FlexOTO Instance:
Hardware Diagram
Your switch driver must respond to the following items sent from FlexOTO:
- Command Line Arguments passed to Driver
- get_description Command sent to Driver
- set_routes Command sent to Driver
- set_wavelength Command sent to Driver
- exit Command sent to Driver
- Example Switch Driver
All messages sent by FlexOTO are read by your driver using stdin. For example, in Python you would use the input() statement. All messages are sent by the driver to FlexOTO using stdout. For example, in Python you would use the print() statement.