06-17-2011 07:34 AM
I have code written in c for an embedded application. I would like to call this function in Labview. I have .c and .h files. I do not have .dll files. Is there a quick and dirty way for me to call the .c files in labview so that the logic can be used to interface with NI hardware?
06-17-2011 10:24 AM
You will need to create a DLL and use Call Library Function to call the DLL.
06-17-2011 10:26 AM
I kinda suspected that. does ni have anything in their bag of tricks to do that?
06-17-2011 11:00 AM
Well, they have LabWindows, if you want to buy that. But you can get free compilers out there. For example, you can use the free version of Visual Studio: https://decibel.ni.com/content/docs/DOC-14564