Hello,
What I am trying to accomplish is the following:
User to enter number of data points to collect
-there is a max and min value for the spring force and the spring compression distance
-the max minus the min divided by the number of data points to collect should determine the step size in the data and be a different interval for
-each data point should be graphed in real time visibal to the user
run the VI and have the experiment repeat 5 times
-the 5 times is irrelevant but in the code, there is an input for pre and real tests. 2 pre and 3 real tests for a total of 5
-only the 3 real tests should count for it collecting data
-each time it runs the graph should start from zero and increse
-again we should see this 5 times
The graph should display the data points as they populate
-right now it only displays a line from 0 to the endpoints
-when it is running and the slider for the endpoint is adjusted it will regraph but not as desired, that may change with the correct looping of the data
Export the data to a csv file to be opened in excel
-the data is already sent to a user defined txt file (to run on your computer create a blank one and select it)
-i should be able to take the data sent to the csv file and create the same graph in excel as seen on the VI
What this data is simulating is a load cell and an lvdt for testing a compression spring
I want to be able to show this simulated version running and collecting/displaying data real time (to show the bosses) before i can get hardware
any help or tips is greatly appreciated!
-PS let me know if i did not post my code correctly