RS232_demo demonstrates writing to the RS232 port

RS232_demo.py

RS232_demo.display_all_active_meas()

Sends the last reading of every active measurement on the RS232 port

RS232_demo.format_all_active_meas()

Formats up the most recent reading of every active measurement. Example output:

BATT: 13.141
TEMP: 29.250
Returns:A human readable string containing the label and value of each measurement
Return type:str
RS232_demo.rs232_hello_world()

This is a very basic example showing how to open an RS232 port, output “Hello World”, and close port. Configure Teraterm on the PC to the appropriate com port with the settings (9600, 8, none, 1, none), and connect to Satlink’s RS232 to view the output.

RS232_demo.rs232_last_meas()

This RS232 example shows how to output the last value of measurement M1 in CSV format. Example:

08/05/2017,17:01:40,BATT,13.156,V,G