09-17-2025 08:00 AM
Hello everyone
I have Bronkhorst flow meters in my lab. I'm trying to write a LabVIEW program to control and measure flow rates. I've used the example on Bronkhorst's website. I'm sending you a picture showing how I connected it. When I run the program, I always get the problem shown in the picture. When I connect the flow meters to the computer, the problem doesn't appear and the program runs normally. Can anyone help me overcome this problem when the meters aren't connected? I also want to have a condition for the velocity to increase automatically once I specify the step and time. I used Shift Registers, but in this case, the final version result is only displayed when the program is stopped. I want to see how the velocity increases based on the step, not just the final result. Please help. I'm attaching the pictures for clarity.
09-17-2025 08:26 AM
Hi meme,
@meme98 wrote:
When I run the program, I always get the problem shown in the picture. When I connect the flow meters to the computer, the problem doesn't appear and the program runs normally. Can anyone help me overcome this problem when the meters aren't connected?
You want to communicate "error free" even when there is no device connected to communicate with?
How should that work?
@meme98 wrote:
I also want to have a condition for the velocity to increase automatically once I specify the step and time. I used Shift Registers, but in this case, the final version result is only displayed when the program is stopped. I want to see how the velocity increases based on the step, not just the final result. Please help. I'm attaching the pictures for clarity.
When you want to update an indicator inside a loop then you should place the indicator terminal inside that loop!
(Basic "THINK DATAFLOW!" mantra of LabVIEW!)
09-17-2025 08:36 AM
Thank you for your response. In our lab, we have LabView software that does not show this error even if the flow meters are not connected to the computer.
09-17-2025 10:39 AM
@meme98 wrote:
Thank you for your response. In our lab, we have LabView software that does not show this error even if the flow meters are not connected to the computer.
In the VI in question go to File->VI Properties, then select the Execution category, then deselect the Enable automatic error handling.
Or wire those error clusters properly from one VI to the next!
By default, Automatic Error handling is enabled in new VIs and whenever a function returns an error in an error cluster that is not wired to anything, LabVIEW catches that error and displays a dialog.
09-17-2025 11:47 AM
The error is no longer appearing, thank you very much.