LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulse Time

 

I'm trying to measure the pulse coming out of my flow meter and I contacted the manufacturer for some help. They provided me with the attached example that counts the pulse. I know how to calculate the volume given the pulses, what I'm having trouble with is figuring out how to adjust the time on the code, This is the formula that I'm trying to use for the flow rate Q= Volume / Time (t2-t1)...but I want to set it such that I could adjust it if I needed to. I'm also attaching the VI manual that essentially explains what each VI does just incase..

 

Download All
0 Kudos
Message 1 of 3
(2,881 Views)

oops

 

 

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 3
(2,855 Views)

Hello,

 

in attachement an example of code using state machine / passing state in shift register

use of a cluster also passed in shift register that contain  local variables

 

you can also look a state machine example in tutos

https://www.ni.com/en/support/documentation/supplemental/16/simple-state-machine-template-documentat...

 

 

Hoping i undertood your question if not

your welcome for more details you can also give more precision on about what you want to do

 

 

Regards

 

Tinnitus

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 3 of 3
(2,855 Views)