12-31-2008 08:00 AM
Hi.....I am writing my thesis on simulation packages and their features. Could anyone please tell me whether or not Java could be linked with LabVIEW like it could be done in MATLAB?
Thanks
12-31-2008
08:55 AM
- last edited on
03-16-2026
09:51 AM
by
Content Cleaner
This is somewhat a general question of whether Java code can be called from a C-based environment. LabVIEW supports interfaces to many different programming environments and languages, such as C-style DLLs, .NET, and ActiveX. There are wrapper modules available for accessing Java objects from C. These should be applicable for LabVIEW as well, though they might require compiling the wrapper code into a DLL that can be called from LabVIEW. Look up the JNI (Java Native Interface) for help getting started. I've never done this myself, but everywhere I've read about it says it's far from trivial.
12-31-2008 09:30 AM