LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to control a cylinder with an optical sensor

First of all,  I´ve been working hard to make this control, and I'm a very beginer in labview, and also in programing. I want to control an hydraulic cylinder.I also have an optical sensor (with an output of 1-10V) that reads this distance, so, for example, I want to create a boolean value when the cilinder is at the point equals to 350 milemeters that will make it go forward and, when it arrives to 400 milimeters a new boolean pulse is generated and makes the cylinder come backward.
The cylinder will keep going and coming. I alredy understood how to generate this pulse, My problem is to hold this pulse while the cylinder is going, or coming

 

I want to do this with a DAQ 6009 and use two digital output to control an electronic board that I created, that will control relays that will control the valve.

When the first digital output is on, the second is off,  and vice versa.

Whats the easier way?


For this logic I think it's necessary a control like this, that "memorizes" the boolean "pulse", anyway, if someone teach me something that don't need this "memorizing tool" I will apreciate, but, I'd like also to know how to do this "memory".

 

This is all. 
Sorry for my bad english, and hope someone help me.



Thank  you! 

0 Kudos
Message 1 of 3
(2,224 Views)

?

0 Kudos
Message 2 of 3
(2,195 Views)

Hi,

 

The following links have options to you learn some LabVIEW Fundamentals. How I saw you are from Brazil, the first link is in portuguese and second is in english.

 

http://search.ni.com/nisearch/app/main/p/bot/no/ap/global/lang/en/pg/1/q/labview%206%20horas/

 

http://www.ni.com/academic/labview_training/

 

Regards,

 

Abel Souza

Abel Souza
Engenheiro Eletrônico
LabVIEW User since 8.5
0 Kudos
Message 3 of 3
(2,162 Views)