LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

water motor control by DAQ

Solved!
Go to solution

dose any one know how to controlthe motor in labview by using DAQ? please tell me how i can do it?

 

Regards

saeed

0 Kudos
Message 1 of 11
(3,256 Views)

As always there are different options.

 

If you could give us some more information we might be able to give you a better answer!

 

 

Christian

0 Kudos
Message 2 of 11
(3,250 Views)

i am going to control the motor, when my sensor gives indication the tank is full it automatically switch off the motor. i am using the fiber optic as sensor. pleas if you know about it tell me as soon as possible. becasue i left very short time to complete it.

 

Regards,

Muhammad saeed

0 Kudos
Message 3 of 11
(3,229 Views)

Though it is nice to know you are using an FBG sensor to detect water levels (Go optical sensing!), we need more information about your motor or your motor setup.  Is it a servo or stepper motor?  Is it already connected to a drive?  Is it a simple motor that can just run on a battery?  What voltage/current does it require to drive it?  

 

Answers to those questions will make it more clear on what this motor needs to control it and what equipment you would need. 

0 Kudos
Message 4 of 11
(3,213 Views)

i am using dc motor, voltage 12v, its power based motor, i m using daq ni usb-6211 for controling but not successful yet.... what can i use to connect it with the daq and how it control in labview, if do u have any program of labview then plzzzzzzz send me as soon as possible, because very short time left to complete it... i will be very greatful to u....

 

0 Kudos
Message 5 of 11
(3,207 Views)

The first thing to figure out is if you can even make the motor move with the power output from the USB-6211.  The max voltage that can be output from USB-6211 is 10 V / 2mA.  Connect the output of analog out 0 and connect it to the positive and negative terminals of the motor.  

 

You can go into NI-MAX (Measurement and Automation Explorer), find the USB device, and open a test panel to output voltage to see if it moves the motor.  

 

Assuming that that all works, that means what you need to focus on now is the LabVIEW program.  The get you started, LabVIEW ships with many examples that will do most of the work for you.  Look for a Continuous Analog Output example.  

 

If the motor doesn't move by outputing directly to the motor from the USB-6211, you will need another power source or a drive.  If all you care about is "on/off" for the motor, you can control the power going to the motor with your USB-6211 with a switch.  If you need to control motor speed, you may need to look into a more sophisticated drive/controller.  You can find more information about motion control here:

http://www.ni.com/motion/

0 Kudos
Message 6 of 11
(3,200 Views)
Solution
Accepted by topic author saeed369

ok, i am giving it the other source of power and just need to control it by daq rather then powering by the daq, shell i use the transducer driver between the daq and motor or anyother switch. yes i m just intersted into on/off the motor after getting the indication from my sensor. please tell me what i can use between motor and daq.

 

regards,

saeed

0 Kudos
Message 7 of 11
(3,191 Views)

First Can you just tell me please how to control the motor by using ni usb-6211 in labview. the after i will do some other stuff, first want to control the motor by daq.... if  u have any example on it then please let me know about it or share it. i will be very greatful to you.

 

regards,

saeed

0 Kudos
Message 8 of 11
(3,187 Views)

It sounds like you should connect it to the "transducer driver" that you have.  Best to make sure your hardware works by using the test panels in MAX that I was talking about.  When it comes to programming, open up the examples that ship with LabVIEW.  Open LabVIEW and go to the Example Finder.  There is not a specific example that says "control my motor using a USB-6211 and LabVIEW."  There ARE examples for motion control, but those deal with NI Motion and specific motion control cards.  You need a generic DAQmx analog out example and then incoporate that with your FBG sensing code.  

Message 9 of 11
(3,174 Views)

hello,

do u knw how to check the refractive index of fiber optic by using DAQ in labview.

i am very greatful to u...

 

regards,

 

saeed

0 Kudos
Message 10 of 11
(3,154 Views)