11-01-2009 07:28 PM
All,
I just have a couple questions about building DLLs from LabVIEW.
Can I build a DLL that is callable in linux in LabVIEW for windows? IE is it generic or tied to LV/Win?
Can I build a DLL using the Linux/Mac version of LabVIEW?
I'm evaluating architecting a bit of code in LabVIEW versus C on the terms of portability.
- Ken
11-01-2009 07:37 PM
11-01-2009 07:52 PM
That's fine. Although I do believe if you're using a very vanilla C function and compiling for the same architecture you're not going to do anything OS specific.
- Ken
11-01-2009 08:11 PM
xkenneth wrote:Although I do believe if you're using a very vanilla C function and compiling for the same architecture you're not going to do anything OS specific.
I have no idea what this means. It's also irrelevant. Whether or not you are doing anything OS specific has no bearing on whether you can build a Windows DLL on Linux. They are two totally different architectures. While the source code may be portable, the compiled code is not. You would need to use a different language like Java, though you would need the OS-specific Java runtime in order to actually run the Java code.
11-01-2009 10:23 PM