LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling Light intensity Using LDR

Just wanted to know if my flow chart for the program i posted is correct. (attached)

0 Kudos
Message 11 of 18
(2,279 Views)

Hi kasamaneka,

 

using a proprietary file format for some pictures isn't very helpful here (my OpenOffice doesn't like your MSWord artwork)...

Please attach pictures (PNG format preferred)!

Best regards,
GerdW


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

You did not give a reply to my previous email requesting for the Vi, you created or modified. Anyways attached is the flow chart in picture format. Id be greatful if would suggest for some improvements.

0 Kudos
Message 13 of 18
(2,259 Views)

Greetings Kasamaneka.

 

I noticed in your flow chart that there is no loop, unless the voltage is under 2.5 Vrms. According to your diagram, the light conditions are only checked once, and then the program ends. Is that the behavior that you intended? Also, according to your diagram, there is no way to differentiate between the Vrms value being less than 2.5; 2 or 1.5 (Did you meant Vrms > 2.5 ; 1.5 < Vrms < 2.5 ; Vrms < 1.5 ?) 

 

Since you are a beginner, I recommend that you read some of NI's documents on where and how to start with data acquisition and LabVIEW. 

 

http://www.ni.com/white-paper/2835/

http://www.ni.com/gettingstarted/labviewbasics/

 

Regards

Luis J.
Applications Engineer
National Instruments
0 Kudos
Message 14 of 18
(2,217 Views)

Thanks. Attached pliz find the improved flow chart.

0 Kudos
Message 15 of 18
(2,202 Views)

This is my final copy. People who are doing project similar to mine can use this link to get the details (project paper). 

http://search.4shared.com/q/CCAD/1/light%20intensity%20control

0 Kudos
Message 16 of 18
(2,166 Views)

Hi kasamaneka,

 

I cleaned up the VI to use arrays for all those comparisons and calculations. I also enabled numeric display for your fancy gauges eliminating additional indicators.

I guess it looks better now (in the block diagram)...

Best regards,
GerdW


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

I wanted to see the vi but does not open in my version 8.5.

0 Kudos
Message 18 of 18
(2,149 Views)