07-28-2011 01:31 AM
I am new to labview
I want to control a motor in such way that I have to pause during the run after a few seconds from the beginning of run. After the pause I have to run the motor run. Any body can help how to do this ... Please help me in this problem
07-28-2011 03:39 AM
Hi FSK
Thanks for using the discussion forums! Motor control is a common application using LabVIEW and you can develop custom functionality such as you are describing. I have a couple of questions about your set-up to get us started;
You will probably look to generate a pulse-width modulated (PWM) digital output to switch a relay, but the way that you code this differs depending on the hardware platform you are using.
07-28-2011 03:48 AM
Hi Peter
I am using NI 9474 digital output module to run the DC Motor. I am controlling the DC motor speed using PWM which I got from the labview site. With this circuit I want the pause option for a few seconds...
Regards
FSK
07-28-2011 05:12 AM
07-28-2011 11:30 PM
Thanks for the reply . Sorry for the delay., due to network problem here.
I don't know weather it is running in constant velocity or not. My aim of the program is to run the motor about an angle then the stop for a while again run for the another angle stop for while then again run. This process continuous....
07-29-2011 03:11 AM
07-29-2011 05:19 AM - edited 07-29-2011 05:20 AM
Dear peter
the angle of rotation always constant.
the time for pause between runs are always constant
regards
FSK
07-29-2011 07:44 AM
Hi FSK
I have put together an example which demonstates the functionality you require. I have annotated the block diagram as to its operation.
* Note - this example is software timed and as such will introduce (small) delays between reaching a position and stopping the motor. Which reduces the accuracy.
Let me know if you have any questions!
07-30-2011 03:04 AM
Hai Peter
I will compile the results and tell . Right now I am not in the lab where I am doing the experiment.
Thanks for your reply
regards
FSK