04-19-2012 02:56 AM
Hello all, first post!
I am new to the whole LabView and G.
I wish to make a cavitation test of a pump setup, measuring flow rate, pressures, rotation and temperature repeatedly. This being quite simple (while loop, I guess), a problem occurs as I need gradually close a motorized valve between the data points.
I made a very simple flow chart of what I wish to do:
I wish to run each data point (grade of valve opening) for 10 seconds. When it is done measuring for the datapoint, I want it to change the valve opening, wait for a minute and then measure again. I then want the collected measurements to be written in a .xsl file.
I do not know the workings of anything but the pressure transmitters (slow department), but my question is rather related to recurring of data measurement while I change a parameter.
Below is attached my half-finished VI. Any suggestions?
Thanks,
Catherine Johnson
04-19-2012 10:23 AM
Catherine,
What your flow chart represents, but your code doesn't, is a State Machine. There are samples (and templates) in LabVIEW and much discussion on the forums.
04-23-2012
09:59 AM
- last edited on
07-08-2024
01:40 PM
by
Content Cleaner
Hi Catherine,
Welcome to the forums! I would agree with Broken Arrow, a state machine would be a great way of coding your application. Introduction to state machines can be found here.
This should give you a good starting point. Let me know if you have any other questions.
Best Regards,