03-17-2012 05:32 PM
Hi,
I have bought a stepper motor(http://www.newmarksystems.com/linear-positioners/nls4-series/)
and a controller (http://www.newmarksystems.com/motion-controllers/nsc-a1/).
How can I connect my controller to the labview???
I used find instrumentation driver in the software bt it cannot find controller driver. The stepper motor's company just gave me a .dll file and they said you can connect it to lsbview.
I would be gratefull if anyone can answer my question.
Regards,
Hamed
Solved! Go to Solution.
03-18-2012 08:22 AM
Their example programs provide LabVIEW examples. Did you look at them?
03-18-2012 12:04 PM
Thank you for your answer.
I don't know what is this .dll file for?
where is theses labview examples that you are talking about?
03-18-2012 01:24 PM
Right on the page for which you provided the link there is a link called "Libraries, Sample Code". If you download that file and uncompress it, you will find a "Sample Source Code" folder. In there are numerous examples. For instance, the "Serial" folder contains examples on communicating with the controller over a serial port, and has LabVIEW examples. The "USB" folder contains examples on communicating over a USB port. That example uses the DLL.
03-19-2012 06:32 PM
I 'm sorry, I made a mistake.
The file extension is .llb not .dll
what is this file for?
do I need the .dll file?
03-19-2012 07:53 PM
An .llb file is a library of LabVIEW vi's "zipped up" into a single file. LabVIEW can open it directly.
No you don't need a .dll. You were the one who brought that up.
03-19-2012 07:57 PM
Thank you a lot for your attention and I am sorry, that I am bothering you again.
If I understand you correctly, for connecting stepper motor and its controller to labVIEW, the .llb file is enough and we don't need the .DLL file.
03-19-2012 09:37 PM
That's what the 2nd line of my message said.
03-21-2012 03:57 PM
Ok, I got it.
I want to program the stepper motor to move for specific distance with spercific speed and logging the position in every second.
Can you tell me waht should I do? I mean that can you explain me the process step by step?
Thank you
03-21-2012 05:39 PM
http://www.youtube.com/watch?v=1KT98-7B2E8
Should I do the same thing as this video?
I tried to do this, but I the labview cannot find the driver for controller.