LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating dll problem

Hi everyone!

I am new in this forum so i might have place my questions in wrong category.

 

I have made a program  using AVR studio 5 to control a stepper motor by using ATmega128 and I want to use it as a library file (dll file) in the LabView. is this possible or there is another way to do that? 

 

thanks in advance

 

0 Kudos
Message 1 of 2
(2,138 Views)

Huh? When you create a program in avr studio in c you use the code to program the micro, i.e. the code you wrote is targeted for an 8/32 bit microcontroller. In other words, the code will only work for an avr micro. It'll not work on a PC as far as I know. In addition, a dll runs only on PCs so I don't even understand how you could create a dll in avr studio? Did you mean visual studio?

 

Can you maybe explain your system a bit more? Presumably you have a avr microcontroller and you wish to communicate with it from LabVIEW, how do you connect the micro to the computer, through USB? Anyway, if you have visual studio code that communicate with the micro, you can create a dll from it and import it to LabVIEW using the Call Library Function Node.

0 Kudos
Message 2 of 2
(2,137 Views)