When running the app, you will be greeted with the main page, which is the mode selector. It's pretty simple, just select one of the modes. Only two of them are enabled at the moment.
There is a top menu bar where you can ping the CyDAQ and access the debug page. None of the other options work at the moment.
On this page, you can collect samples from the CyDAQ with any custom settings you want and save them to a file.
You can set the sample rate with the dropdown menu or typing in a value, and you can set the Input and Filters with the dropdowns.
For the Filters, the interface will morph depending on whichever other options you need. For 'All Pass,' there are no extra settings required, so that it will be empty. But for options like '1st Order High Pass' or '6th Order Band Pass,' the options will pop up on the screen.
You have the choice to either start/stop sampling as you choose, or you can set a specified time to sample in the "Sampling Time" field.
If you want to just send the configuration to the CyDAQ, you can with the "Send Config" button. This sends the config without sampling, and can allow for the CyDAQ to be used as a component in a circuit. Make sure that the CyDAQ is connected and the bottom label says "Connected!" before attempting.
The user interface will not let invalid options be used for any editable option.
When sampling, you can leave the 'Sampling Time' field blank and you will have control over how long you let the CyDAQ Collect Samples. Otherwise you can set a time limit for it to stop sampling if you need an exact measurement in the 'Sampling Time' box.
There is a label on this (and other) pages at the bottom that lets you know if the CyDAQ is connected or not, and will update about every second. You will not be able to sample if the CyDAQ is not connected.
To return to the home page, click the Home button at the top left of the page.
This page can be used to plot sample data on a graph. You can plot it instantly or have a delay to have a live plotting effect (this will be used in live streaming plotting data in a later feature).
First, you entire a file name by either clicking the button or typing in a file path. Then, you can choose between a scatter plot or a line plot. Next, you can choose the graphing speed delay by using the slider, setting it to 0 for zero delay (as fast as python can plot the data) or up to 100ms between plotting per delay. Then you can start the plotting with the "Start" button, and if you're "streaming" it, you can pause/unpause the graph with the pause button. At any time, you can clear the graph and plot another file.
You can click the "Home" button in the top left to return to the mode selector page. This will remove the graph window, but it will save the graph that you currently have on it.