Data collection system for the controller. More...
Public Member Functions | |
def | __init__ (self, debugFlag=True) |
Create a data collection task. More... | |
def | dataTaskFcn (self) |
Send the data over serial to the PC Front End. More... | |
Public Attributes | |
debugFlag | |
Debugging flag for detailed analysis while running. | |
dataToSave | |
A flag to determine if we're saving x or y data. | |
Data collection system for the controller.
This class collects the data from shares.py and send it through serial to the PC Frontend to plot it.
def dataTask.dataTask.__init__ | ( | self, | |
debugFlag = True |
|||
) |
Create a data collection task.
This task will be called at the end of the program in order send the data through the serial port.
debugFlag | Enables or prevents certain print statements from appearing. |
def dataTask.dataTask.dataTaskFcn | ( | self | ) |
Send the data over serial to the PC Front End.
When the user taps CTRL-C, this file is run in order to send the data over serial, one line at a time. Once all the data has been sent, a plotting command will be sent for the PC FrontEnd to generate plots.