09-06-2016 02:48 AM
I have already gotten a new machine and My prof told me to contact to run the servo motor , we got 3 motors to control 3 axis to move the postion like 3d printer . And we got ni motion 7350 controller and UMI 7772 . Can you help me which software and hardware I need to do to contact all of it ? . My prof told me to write the C# program to control 3 axis .
Thanks in advance
09-07-2016 11:08 AM
Hello tihai1992!
In order to control these servo motors that you have you will need a few things. Hardware needed would include a computer with a PXI or PCI slot, a 73xx controller (which you have), an NI or third party motor drive, and motors (which you also have). As for software, you would need either, LabVIEW, LabWindows/CVI, Microsoft Visual C++, or Microsoft Visual Basic. The document below is a great getting started guide for NI-Motion which you might find helpful.
http://www.ni.com/pdf/manuals/373329e.pdf
The link to the NI-Motion driver can be found here
http://www.ni.com/download/ni-motion-15.0/5614/en/
Unfortunately according to this Knowledge Base article, C# is not a supported language for use with the NI-Motion API.
http://digital.ni.com/public.nsf/allkb/67253305A52EFB1986256E94005945D2
The NI-Motion user manual does, however, have a few C/C++ examples that might help you get started. Link below. Page 12
http://www.ni.com/pdf/manuals/371242b.pdf
The NI-Motion driver also installs a few examples that might be great references as well for getting started. This Knowledge Base article will help you find where they are installed during the driver installation.
http://digital.ni.com/public.nsf/allkb/27DF98C0B563665F862579E60081B2B7
Let me know if this information is helpful!
09-08-2016 10:26 AM
That information was very helpful to me , thank you a lot .
09-13-2016 02:19 AM
Sorry to bother you !
When we setup the hardware , How can i write the code and upload for motion card ?
Example : with Arduino circuit , We can write the code into the Arduino software and connect to the PC by visual studio .
09-14-2016 10:47 AM
Hi Tihai,
You would not upload the code on the motion card but you will interface with your PCI 7350 in order to control your motor. Your code will still run on your host computer. In order to interact with the PCI card, you will need to develop an application calling the NI-Motion DLLs.
As said before, NI-Motion is not supported in Visual C# with the .NET framework: http://digital.ni.com/public.nsf/allkb/67253305A52EFB1986256E94005945D2
However, you can call the NI-Motion DLLs and create a wrapper in your C# code if you would like.
I hope this helps!