Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

prevent meter reading from going to zero

Hi all,
 
I have a vi that takes a set of input values and calculates the number of peaks that occur. It then calculates the time that has passed between the occurence of two peaks. I have set a scale for the time period.i.e. if the time period is between 1 and 1000ms the scale is 1, if the time period is between 1001 and 2000ms scale is 2 and so on. I have set these conditions in a formula node and connected the output to a meter. My problem is that, if the first time scale is 1, and the second time scale is 2, the meter goes down to 0 from 1 and then moves back to 2. I would like to know, how I can prevent the scale from moving down to zero each time and only move from 1 to 2.Hope I was clear.
 
Kindly help me out.
 
Thanks and regards.
0 Kudos
Message 1 of 2
(2,739 Views)
Prakruthi,

you have posted this question to the MeasurementStudio for .NET Languages forum but your question is obviously related to LabVIEW. Your chances to get an answer will increase dramatically if you post this question to the LabVIEW forum. It will also help a lot if you post some example code.

Best regards,

Jochen Klier
National Instruments Germany
0 Kudos
Message 2 of 2
(2,726 Views)