LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

lux meter

Hi everyone,

 

I need some help with a design in labview.

I have designed a lux meter in labview to determine the light intensity using a LDR.

but when I'm running the program, the lux meter gives negative values instead of zero when it is completely dark.

How do I change the design to make the lux meter go from zero to positive values?

 

Many thanks,

0 Kudos
Message 1 of 2
(2,443 Views)

Hi raghnie,

 

when you get unreasonable values then your "design" (aka algorithm) might be wrong…

 

How do I change the design to make the lux meter go from zero to positive values?

Use MinMax with zero as 2nd input and use the max output…

Although this will solve your question it most probabl is not want you want - but it is what you asked for!

Best regards,
GerdW


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