LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

controller connection

Solved!
Go to solution

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

0 Kudos
Message 1 of 15
(3,552 Views)

Their example programs provide LabVIEW examples. Did you look at them?

Message 2 of 15
(3,533 Views)

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?

0 Kudos
Message 3 of 15
(3,523 Views)

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. 

Message 4 of 15
(3,518 Views)

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?

0 Kudos
Message 5 of 15
(3,494 Views)
Solution
Accepted by topic author hamed71200

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.

0 Kudos
Message 6 of 15
(3,487 Views)

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.

0 Kudos
Message 7 of 15
(3,485 Views)

That's what the 2nd line of my message said.

0 Kudos
Message 8 of 15
(3,478 Views)

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

0 Kudos
Message 9 of 15
(3,456 Views)

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.

0 Kudos
Message 10 of 15
(3,444 Views)