11-03-2009 11:24 AM
I have this problem in the Labview programming. I want to design two lighting rooms and room 1 is the master which i can vary the lighting intensity and at the same time, room 2 is the slave will have the same lighting intensity as room 1.
I am using 1 Light sensor and 1 LED for each room, NI usb 6008, labview 8.5.
I have attached my labview program below, can anyone give me any alternative suggestions?
my problem came at the case structure "False", which i cannot let the adding of voltage to room 2 light after it have done once. Eg: After it have done adding and equal to room 1 and it stopped the For Loop conditional terminal which is working fine, then i change the room 1 lighting again, the output voltage jumped to above my maximum voltage. I suspect is the For loop count (N) terminal problem.
11-03-2009 04:09 PM
Hey,
You haven't wired the bright output to anything also you try running your code in highlight execution and probe the output in the false case and check if that is what you want.
good luck
Lab
11-03-2009 07:58 PM
11-04-2009 02:43 AM
anyone else can help?
11-04-2009 03:14 AM
11-04-2009 04:26 AM
ok. How to wire a For Loop condition when the value inside the For Loop is not the value you want and the For loop will continue to loop back until you get the value and stop ?
11-04-2009 04:48 AM
What i mean is how to clear shift registers value stored in last iteration ?
11-05-2009 02:08 AM
How about a 20c OP , about 5 1c Resistors and a 5c Transistor?
That makes 30c total in contrast to LabVIEW, USB DAQ .....
OK, this is not LabVIEW... it's academic 😉
Ups, i forgot the IDE: A breadboad (like the one used in ELVIS , but smaller.... another 3$)
A nice question would be: What is faster to implement? 😉