This is the frontend of lab 3 which recieves, plots, and saves data. More...
Variables | |
| Lab_03_Front.ser = serial.Serial(port='COM3',baudrate=115273,timeout=1) | |
| Lab_03_Front.inv | |
| int | Lab_03_Front.state = 0 |
| Variable representing the current program state. More... | |
| list | Lab_03_Front.data = [] |
| Variable holding the data recieved from the Nucleo. | |
| list | Lab_03_Front.voltage = [] |
| Variable representing voltage data. | |
| Lab_03_Front.time = numpy.arange(0 , 101) | |
| Variable storing the array of time data. | |
This is the frontend of lab 3 which recieves, plots, and saves data.
When run, this program first asks the user for an input. If the user provides the correct input it is sent to the backend of the lab on the Nucleo which starts the data collection. This program then waits to recieve the data via serial communication, after which it plots the data as a function of time and saves both the time and voltage data in a csv file.
| Lab_03_Front.inv |
| int Lab_03_Front.state = 0 |
Variable representing the current program state.
Varaible storing the stripped and split voltage data from Nucleo.