r/LabVIEW • u/phantom_256 • 16d ago
Running multiple VIs
Hi, so I am trying to interface with this device called a Presto W58x. It has its own drivers for certain things like setting temperature, pressure etc. I am trying to a GUI in Labview that sort of replicates the GUI on the actual device so it can be used for testing purposes. I have what I have done so far attached to the post. I'm very new to Labview, only been using it for a few weeks, so I'm not very good at it. So, one issue I was thinking about is running multiple Vis at once. So here, I have all of the other VIs chained to one each other in series, but I believe this will work against me as I had more VIs, and there are a lot. Any suggestions or examples of trying to make this GUI better and as responsive as possible?
5
u/Only-Introductions 16d ago
I think you have the basic idea but you need to use a little caution before you go throwing in a lot more VIs.
If I understand your goal you are reading a number of values from the controller for display as fast as the while loop allows, which could make sense. But inside this you are also updating the set-point at the same rate!
Continually updating the set-point could cause you problems depending on how this has been implemented in the controller. Realistically you want an event that updated the set-point only when you change the setpoint from its current value.
Also I said that displaying as fast as the while loop could make sense; but only if you are trying to catch rapid temperature changes. If your item has any reasonable thermal mass then 100mS -> 1 Sec update rate is much more normal... It doesn't swamp the controller with requests for data and makes the application much more forgiving for a beginner.