LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about Bronkhorst-Labview

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.CH4 Bron.pngProblem.pngAutomatically increase velocity.png

0 Kudos
Message 1 of 5
(162 Views)

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!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(141 Views)

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.

0 Kudos
Message 3 of 5
(132 Views)

@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.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 5
(80 Views)

The error is no longer appearing, thank you very much.

0 Kudos
Message 5 of 5
(16 Views)