Blood trace on Distance reading

Hello

I am trying to trace the readings of a cell voltage of charge (for blood pressure) on the movement of the origin of a linear actuator on the same axis.  I just want that the readings of the two while loops to enter a chart and draw the correlation between them.  Seems pretty simple, but all what I try, I can't get the table draw anything.  When I run the program in the execution of climax, it seems to stop at the end of the while loop and never feed all the data in the graph XY.  I don't know that it's just a rookie mistake that I have with the data type, or a failure to understand how the while loop needs to actually get the data to the next step.

Please let me know what I can do.

Is attached a photo of the VI and the VI himself.

Thank you

James

You need to understand why the While loop is coming to its end.  The way you put in place, it will run until an error has occurred.

If it stops on its own, this means that you get an error somewhere in your data acquisition sequence.  You should put an indicator on these screws to see which gives the error and why.

Once you figure that out, he must run forevever without giving an error.  This means that it will run forever without stopping the loop, you will never get any data.  You need a better way to stop the loop.  My suggestion would be a STOP button connected to the stop of the While loop condition.

Tags: NI Software

Similar Questions

Maybe you are looking for