01-30-2006 05:23 AM
01-30-2006 09:45 AM
01-31-2006 02:42 AM
Hi Brian, thanks for your reply.
The program does not have to be overly secure.
Ok, so when I say VB application, I still do have access I suppose to the source code. Not that it would have at all any meaning to me.
So an option for me may be to get my colleague to compile his VB program as a 'DLL', if at all that can be done in VB. Lets say it is.
I can probably say that I've dabbled with DLLs and I've used some ready built ones in my applications, simply the way I've been instructed to use them but I'm no expert.
A question: You can compile any application you construct with say LabVIEW into a dll, rather than an exe, and the difference is that it can be controlled programmatically by another application?
So he'd compile as a dll and assumably provide for me some means of controlling it. And if it's a dll then I can forget about all the .NET refnums and conventions?
There's probably a whole lot for me to learn about dll's.
Would the VI Server be useful in this sort of situation?
Also, is there not some sort of code interface node for VB code?
Can't thank you enough for your help.
01-31-2006 10:20 AM
01-31-2006
10:27 AM
- last edited on
05-20-2025
12:16 PM
by
Content Cleaner
There's bound to be some confusion here, since there are unfortunately two drastically different meanings for "DLL." In terms of a .NET application, DLL is not the same thing as with VB 6, C++, etc. The .NET languages can also build DLLs, but these are actually .NET assemblies that you can call from LabVIEW using .NET Constructors rather than Call Library Function Nodes.
So it appears you won't be able to "forget about all the .NET refnums and conventions," since these will be incorporated into your LabVIEW application. If you've ever worked with ActiveX, though, it's very similar.
On a side note, I would recommend upgrading to the latest version of LabVIEW when working with .NET assemblies. We've made a lot of improvements in name parsing, and we've added the ability to host .NET controls in .NET containers.
Here are a few general link on calling .NET assemblies from LabVIEW:
Using .NET with LabVIEW - LabVIEW Help
National Instruments and .NET - Tutorial
Message Edited by Jarrod S. on 01-31-2006 10:30 AM