> 1) I understand I can call LabVIEW as an ActiveX application and have
> it load and run a VI, but can I easily pass and receive data to/from
> the VI?
Yes. There are examples that show how.
> 2) Can I do this with just the runtime installed? (I don't want to
> force my users to have to buy the full LabVIEW package to run this
> project.)
In order for your VIs to be used by others you need the Professional or
they need LV.
> 3) Is there a speed hit over using a DLL?
If you have two processes, COM is slower due to data transfer between
apps. If they are in the same process, COM is faster, and using DLLs,
it is still faster since they pass more pointers and the data isn't
being converted between as many types. If you aren't talking about
megabyt
es of data, though, then the cost should be minimal.
> 4) Are there any other options without upgrading my version of
> LabVIEW?
NI also sells VB components which adds DAQ and analysis and display
functionality to VB. I'm not sure what the licensing is in using these
controls on multiple computers.
> 5) How does the speed of a DLL compare to a native VI? I assume it is
> comparable, but have not been able to test that yet...
The DLL internally calls the native VI. It has to go through a proxy to
get the C information into what we call a dataspace, but it is comparable.
> 6) What new options open up if I purchase LabView 7?
> (As far as this automation stuff is concerned, that is. I am not using
> NET yet, so that is not a big plus to me at the moment, however if it
> has good XML support, that would be nice.)
It does include some XML support, but I'm not sure it has anything new
over 6.1. ActiveX should be the same with some bug fixes, and .net
client support is added. T
here are lots of other features, but not
necessarily in the VB connectivity area.
Greg McKaskle