LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Minimum value/default

I am measuring a current wich is sometimes negative and want to change the negative values to zero. I tried to choose "Data range" and set the minimum value to zero and then from the menu: Operate, make current values default. Then the value is zero as long as the program isn't running, but as soon as i start to run it, the values are negative again. What shoold I do to make them zero all the time when they are negative? (Of course, I don't want them to be negative when they are positive.)
0 Kudos
Message 1 of 2
(2,218 Views)
The data range attributes (like min/max/coerce...) just apply to the datasource - I think. To limit the display, you could maybe do some limit checking and coerce it programatically.

A small VI should show what I mean. I am not sure if this is the only solution. You might post your question as well to the "Core" LabVIEW forum.

Hope this helps
Roland
Message 2 of 2
(2,218 Views)