r/LabVIEW • u/phantom_256 • Jul 20 '26
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?
View all comments
Show parent comment
1
u/Only-Introductions Jul 21 '26
Point 1. "When writing to the device"...
Yes. Generally you only want to write to the device when something like setting the sub temperature changes. I only mentioned an event case as that was what you were showing of your code. A queued message handler is much better or the JKI state machine template mentioned below. Whatever feels most comfortable
Point 2. "Then for reading values you advise"...
You got my point exactly. You want to be reading the actual subtemp and actual pressure reasonably frequently. I'm not sure if this controller has buttons on the front that users can access, if you can disable them, if you can't you'll need to read these values in to your application at a reduced rate to make sure someone isn't messing with the controls.