LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Gems hall effect flow sensor code

Hi,

 

I'm new at labview and I am working with Gems hall effect flow sensor.

I connected the sensor to the DAQ according to the manual attached, and I have a labview code to measure the flow rate and the amount of fluid passed through the sensor but the readings are incorrect.

 

Could you please help me with the code.

 

Kindest regards

Download All
0 Kudos
Message 1 of 7
(2,801 Views)

Hi samar,

 

in which way are your readings incorrect?

Can you show typical input signal data and their expected result?

Are the results always wrong or only for higher flow rates?

 

What's the purpose of the yellow-green wire between pin 11&16?

Best regards,
GerdW


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

Hi GerdW,

 

I tried calibrating the flow sensor with flowing water and the amount of the liquid in is not the same as the resulted data from the used code.

I added some elements to the code to measure not only the flow rate but also the total amount of ml passed. 

Thank you for the reply

Summer

0 Kudos
Message 3 of 7
(2,777 Views)

Hi samar,

 

I repeat: Can you show typical input signal data and their expected result?

 

(Run your VI. Stop it. Choose Edit->set current values default. Save your VI. Attach it…)

Best regards,
GerdW


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

Hi GerdW,

 

Please find the attached VI.

 

Regards,

Summer

0 Kudos
Message 5 of 7
(2,767 Views)

Hi samar,

 

before trying to analyze massflow you should fix the hardware issues…

 

Your "sensor output" chart shows just some noise around 10mV - there are NO pulses you can count!

The "detected frequencies" value of 378.5Hz is also nonsense - atleast for the data you present…

 

Use MAX to setup your DAQ system. Here you also find testpanels you can use for quick measurements. Use a DMM to test your setup independently from MAX/LabVIEW!

Best regards,
GerdW


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

Tank you GerdW,

 

I will try it and check where the error could be.

 

Regards,

Summer

0 Kudos
Message 7 of 7
(2,758 Views)