ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help me please

Hi

                I am a student doing my project, I am new in LabVIEW.As part of my project I need to interface a stepper motor for 3 axis movement, the 3 axis movements is controlled by a micro position controller, and i don’t know which micro controller is used in it, along with this I got  a software for 3 axis movement and its source code in Visual C++  and also they provided the assembly language of controller.I need to done this procedures from LabVIEW window how it is possible. I am using LabVIEW7.0

Thanks in advance

Dayaneeshya Thomas

0 Kudos
Message 1 of 11
(4,571 Views)
0 Kudos
Message 2 of 11
(4,564 Views)

 Sir

      Thank you for your reply, one more think  i need to know, I have a software and its source code( in Visual   c++),for       the 3xis movement. i want to know how it interface at  LabVIEW

    Thanks and regards

     Dayaneeshya Thomas

0 Kudos
Message 3 of 11
(4,533 Views)
Do you want to call it in labVIEW or convert it to lv code?
0 Kudos
Message 4 of 11
(4,525 Views)

I need to call it in labview,  the software codings are  6 different visual c++ program,  i have a visual studio 6. and working in LabVIEW7.0

0 Kudos
Message 5 of 11
(4,505 Views)
LabVIEW can call DLLs. Thus, you could compile the C code into a DLL. My suspicion, however, is that the C code you have is probably written to be an application. This means you would need to take the relevant parts (i.e., the basic functions) and compile that into a DLL that you can call from LabVIEW. More information on calling DLLs from LabVIEW can be found in the LabVIEW Help, as well as Knowledge Base articles (just do a search on calling a DLL from LabVIEW). Examples also ship with LabVIEW.
0 Kudos
Message 6 of 11
(4,492 Views)

sit ,

 thank you for your reply, i think this will be a great help for me.

    Dayaneeshya

0 Kudos
Message 7 of 11
(4,458 Views)

Hi

 

You can use LabVIEW ".NET" connectivity for this purpose. After getting the source code, use the ".net" constructor node and property/invoke nodes to access the source code from LabVIEW.

 

I'm attaching an example program for your help (for LabVIEW 7.0) 

 

thanks,

Ravi.

0 Kudos
Message 8 of 11
(4,443 Views)

hi Ravi

 

please give  the example

   thanks

  dayaneeshya

0 Kudos
Message 9 of 11
(4,434 Views)

It's here

 

http://zone.ni.com/devzone/cda/epd/p/id/861  🙂

0 Kudos
Message 10 of 11
(4,428 Views)