From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-29-2017 09:45 AM
Hi friends,
I'm trying to contol DC Asynchronous motor with bpm, you know bpm is beats per munite and I will have a software and the software will measure the bpm after it will give two information time and bpm in a data shift probably on excel.
I want to control my motor with bpm, bpm will be my speed like if bpm is 120, my speed will be 7m/s or if bpm is 110, my speed will be 6m/s they are just example to explain my system it's not the corrct one and time will be the period.
Now, I know how can I take some information from excel and I know how can I control speed manuelly but I don't know how can mix these 2 program.
It's my problem if some one can help me, it will be very valuable to me.
Thankyou 🙂
01-30-2017 09:45 AM
Just to clarify, do you want to use the output in Data Display as the Speed Control input in "dc motor analog control.vi"? You could use "Read From Excel.vi" as a subVI in the other program. You could use auto-indexing for-loops to go through the data in the array.
01-30-2017 09:47 AM
What is a "DC Asynchronous motor"? I have never heard of that before. My understanding is that synchrounous and asyncrhounous only applies to AC motors.
01-30-2017 10:09 AM
I'm using ''standard motor rc500-fm'' with this circuit ;
Is that servo motor ?
01-30-2017 10:22 AM
First of all thankyou Madison T,
And yes, absolutely yes it is my problem. I know, you allreay explain the solution but I'm new with that still I'm learning. Can you show me the way clearly to fix that. 🙂
01-31-2017 08:56 AM
Here is a pretty in-depth tutorial on implementing subVIs:
Tutorial: SubVIs
http://www.ni.com/white-paper/7593/en/
Likewise, here is a document explaining how to auto-index a for loop. It essentially lets you go through the array element-by-element.
Auto-Indexing Tunnels with For Loops and While Loops in LabVIEW
http://digital.ni.com/public.nsf/allkb/B85025233861378A86256CE700491E34
01-31-2017 03:33 PM
thank you i will try to do that