04-25-2015 01:03 PM - edited 04-25-2015 01:30 PM
I am a graduate student in University of Peireus in Greece , my teacher want to create a project with 3 controlling stepper motors (3 axis x,y,z ) to get airborne measurement of an air tunnel , also he want to control the steppers motors with labview specifically with coordinates x , y , z . I have no idea about the programming for this kind , so I want your help because I am helpless in this project . If I success in this project I will get my degree.
I have x3 stepper motors 4-wire , x3 usb-6009 .
I want help about the programming , I have no idea to programming in Labview .
I know how to connect the electrical parts but I dont know to programming this project , If you have any idea I want it .
I upload the vi , I imagine like this the block diagram .
04-25-2015 01:54 PM
04-25-2015 02:13 PM
@mikedimou424 wrote:
I am a graduate student in University of Peireus in Greece , my teacher want to create a project with 3 controlling stepper motors (3 axis x,y,z ) to get airborne measurement of an air tunnel , also he want to control the steppers motors with labview specifically with coordinates x , y , z . I have no idea about the programming for this kind , so I want your help because I am helpless in this project . If I success in this project I will get my degree.
Great. So you need to learn a skill (LabVIEW) in order to get your degree. So start learning.
At the end of this post, there are links to a number of excellent on-line tutorials and videos on LabVIEW. I also assume that if your professor specifically wants you to learn/use LabVIEW, that there are probably people at your University who know/use it.
Here are my suggestions:
- Get a recent version of LabVIEW installed on your laptop or desktop. See your professor for help if you don't have the DVDs available. Don't try to install everything -- install "basic" LabVIEW, DAQmx, and Device Drivers (do the drivers last).
- Once you have LabVIEW available to you (so you can try out the steps mentioned in the Tutorial material), start viewing the Tutorials and trying to do some of the things that they demonstrate. For this, it might be helpful to have two computers, one to view the videos, and another (your laptop?) to work along with the tutorial.
- Once you've done the basics and feel a little familiar with LabVIEW, plug a USB-6009 into one of your USB ports, open MAX, and play around with it. Try outputting an analog voltage, try toggling a digital output line, try reading a digital input line (you can run a wire to +5v for a high or to Gnd for a low).
- Once you've done all of that, start thinking about how you might use what you know about LabVIEW to solve your problem.
Your Professor is doing you a service -- getting you to learn a very useful skill, as a competent LabVIEW programmer can be of value to engineering and design firms. However, you need the skill in order to be employed as a LabVIEW programmer, so don't skip the steps of learning it on your own. Get help from your teachers and fellow students, and if they get "stuck", feel free to come back here and ask questions (but have a specific question, and show us what you've done).
Bob Schor
04-25-2015 02:55 PM
Thank you for your prompt replies , I am so happy .
I know to programming to Labview but I am not expert for this project , because previous project is only virtual or mathematical applications . Sorry for the wrong wording .
So I want some explanations about DAQmx functions , what I will need to create a virtual channel , I see "task in " , "lines" , "line grouping" can you give me an explanation about τhis
04-25-2015 03:29 PM
I have create this vi with tutorial and I see examples for DAQ , I understand until now , but how I could connect the x , y, z (coordinates in cm ) with "DAQmx Write" function ?
04-25-2015
04:26 PM
- last edited on
07-11-2024
11:25 AM
by
Content Cleaner
Here are the DAQmx Tutorials -- https://www.ni.com/en/support/documentation/supplemental/06/getting-started-with-ni-daqmx--main-page...
Bob Schor
04-25-2015 04:38 PM
04-25-2015
04:44 PM
- last edited on
07-11-2024
11:25 AM
by
Content Cleaner
It's also unclear whether you are specifying a move of so many centimetres or an absolute location. Location requires some sort of feedback. It would be much simpler of you had an actual motion controller instead of the inexpensive 6009 where you will have to do much more programming of your own.
04-25-2015 04:45 PM
For higher level questions on how to structure your application as a whole, check out this link.
Mike...
04-26-2015 04:15 AM
stepper motor is bipolar 1,8 degrees
The stepper motor move 6 mm for 360 steps , so maybe need to connect an array with true or false in data of DAQmx write .vi
but how can I check if my position is right ?