LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set linearizer function for frequency input to rate output

Solved!
Go to solution

toddzilla,

 

You have a couple of minor but very important mistakes on your block diagram.  If you look at the snippet I posted, the constants are connected to the index (col) terminals of the Index Array.vi   You have the constants connected to the index (row) terminals.

 

Just curious, what version of LV are you using?

0 Kudos
Message 11 of 14
(431 Views)

Wayne,

 

Thank you for the fix, It is working well now and I am learning a lot! I have a 2010 stundent version on my laptop and a 2009 (SP 1) on my desktop.

 

The only other thing I would like to fix on the VI is that when I shut off flow to the flow meter, the VI stops due to the timing and tranisition measurments not seeing a signal. I would like the output to just go to zero until I start flow again. Can I use logic functions on a dynamic data wire?

 

Thanks again,

 

Todd

0 Kudos
Message 12 of 14
(413 Views)

Todd:

 

I don't think I quite follow your question. You should be able to perform comparison functions on a dynamic data type. Personally, if you know the data contained within the wire, I recommend creating a branch of the wire and using the "Convert From Dynamic Data" function to get the actual datatype. From there, use the comparison functions and put your Timing and Transition Measurements in a case structure. That way, if your measurements go to zero (or whatever indicative value you're looking for), you can opt not to run that particular function.

Caleb Harris

National Instruments | http://www.ni.com/support
0 Kudos
Message 13 of 14
(400 Views)

toddzilla,

 

Sorry for delayed response.  Been dealing with a 'Snowzilla' of a storm here in the Midwest.  First, you need to wire up the error cluster in your vi.  If the timing and transistion kicks out an error use a case statement to kick out a zero.  If no error present, do the linearization.

0 Kudos
Message 14 of 14
(393 Views)