I want to take (1 or 0 ) signals from the labview

 i want to take (1 or 0 ) signals from the labview to drive the motor using pick  what can i do ? somebody told me to use serial cable is it possible and if it is how can i ?

khaledyr wrote:
ok every one i am doing a fire fighting robot that search for the fire using camera i finished the lab view match pattern program and now i can find the fire and locate it in the image so i want to have from the pc any signal represented in voltage when the lab view program find the fire which mean i want to convert the softwear to hardwear this volt or signal i will take it on terminal of relay that will conduct the motor so the robot will continue moving and when the program of lab view didn't find the fire the signal output will be zero so the relay is off an the motor is off i think now every single information has been explained
khaledyr    
Wow, that's one long sentence, and an interesting robot that needs to be controlled by software, for which LabVIEW is an excellent choice, but as others have mentionned it will not provide the voltage directly, but can control the device that does, such as a cheap trick by using telecom relays, which draw very little current and are actuated using a 5 volt signal, which could be from the parallel port, and the relay could be closed to provide up to 24v from a battery source to the motor.
So to recap:
PC > LabVIEW > algorithm > parallel port control > 5V actuated relay > provide power to the motor (but that means the PC has a tether from the parallel port to the robot)
However, from what I could understand, you already have the circuit which has a microcontroller.  You could use the RS232 (serial) port and send the appropriate commands. What I would recommend is first trying to communicate with the microcontroller using a terminal emulator such as HyperTerm or TerraTerm or ProComm.  That way, you could confirm that the motor / microcontroller is responding to the appropriate commands.  Once you are satisfied with the communication, you can easily implement using LabVIEW.
There are many examples of serial communication within this forum.  You can also do a search under the Help Menu and select Find Examples.  Within that enter serial as the keyword to search.  You will find 2 interesting examples a casic and and advanced serial communcation vi's.  Do have a look at the advanced examples as it will most likely be better suited for you.  You can modify the code to suit your needs.
Enjoy!

Similar Messages

Maybe you are looking for

  • Recording audio from the net ?

    What are simple means to record an audio stream from the net on my PowerBook, like a podcast (not a live broadcast, not a line-input) ? Can QuickTime do it ? Thanx in advance,

  • No closed captioning on apple tv

    I bought a tv series (The River) in itunes store with closed caption and the cc works fine on my imac but not on my Apple tv. Closed captioning is turned active on both computer and apple tv. What is wrong? I really need it

  • Elements 11 - incompatible driver

    I am trying to run Adobe Elements 11 on a Samsung NP300E5C laptop on Windows 7 but it errors when I try to start a new project from the welcome screen stating that it has found an incompatible display driver and I should update (Intel(R) HD Graphics

  • Reporting on a Multi-Select list field X:Y:Z

    I'm sure someone must have come across this problem but I can't find a reference to it on the forum. PROBLEM I have a data entry form with multi-select lists. Users choose a number of display values and the return values are stored in the field in th

  • How to change to landscape orientation in Pages for iPhone4s?

    Does anyone know how to change to landscape orientation in Pages for iPhone 4s and iPad?