LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

switch to stop automatic

hello   help me please I'm trying to complete a project in the field of optics. I have an input by a photodiode and a voltage acquisition card, and I generates pulses to move a blade by a motor. I need a diagram in labview that will stop the generation of automatic impulse to stop the motor when the voltage detected by the photodiode etienne a value of 0.8V.and thank you in advance. 

0 Kudos
Message 1 of 10
(2,834 Views)

The forums aren't a code writing service.  If only it was that easy to say what you want and you miraculously get it.

 

You will need to program it yourself.  What have you accomplished so far?

 

Have you taken any training sessions or viewed any tutorials?

 

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

0 Kudos
Message 2 of 10
(2,821 Views)

yes I read some lessons labview but the problem, I do not have much time and I can not find a solution to my problem in this lesson.

0 Kudos
Message 3 of 10
(2,803 Views)

If you don't have time to learn, then you may want to consider hiring someone to assist you with your project.  Your NI sales person can assist you in finding local resources to help program your project for you.

0 Kudos
Message 4 of 10
(2,795 Views)

I made a diagram to acquire the power that comes from photdiode and displayed as a graph and digital at the same time and also I made a diagram of pulse output with a meter to check the circuit impultion engine but the problem is how to stop the second VI Indicator nimirique detect when a voltage xx volt 

0 Kudos
Message 5 of 10
(2,786 Views)

"nimirique" ????

"impultion" ????

 

Post the VI you have so far.  It sounds like you just need to use a comparison function to stop a loop based on the measured voltage.

 

 

0 Kudos
Message 6 of 10
(2,777 Views)

hello Ravens I'm sorry for the delay here is my vi

0 Kudos
Message 7 of 10
(2,703 Views)

What do you expect? That VI runs each DAQ Assistant one time and quits.

 

Are you using the Run Continuously button? STOP! That button is only for specialized troubleshooting and not for routine operations. Place your code in a while loop. Connect a Stop button and the comparisons and logic needed to stop the program when the photodiode voltage reaches the threshold.

 

Dennis posted the "duplicate" messages to keep all the discussion in this thread. Starting multiple threads does not speed the response and tends to annoy many of the people most likely to be able to help you. Also you posted those threads after working hours for the eastern half of the USA where many of the frequent posters live and work. Please have a little patience.

 

Lynn

0 Kudos
Message 8 of 10
(2,646 Views)

thank you john for your advice, but are you tel me please  wath  logic  I use 

0 Kudos
Message 9 of 10
(2,630 Views)

You should probably study the on-line tutorials for Getting Started with LabVIEW.  Some of your questions suggest that you do not know much about LV.

 

Here is a simple way to compare the readings to a threshold (set to 0.8 because you mentioned that value). If any reading (even just one noisy sample) is above 0.8 the VI will stop. It will also stop if the user presses the stop button on the front panel. 

 

0.8 V sounds rather high for a photodiode. Are you sure your device generates that much voltage?

 

A better program would guarantee that the motor is stopped before the program stops.  I did not try to figure out how your system works to include that cpability. You can work on that.

 

Lynn

 

stop logic.png

0 Kudos
Message 10 of 10
(2,620 Views)