ActiveX and TCP/IP are both good choices for high-level communication
between Windows applications. LabVIEW's VI Server, introduced in version
5.0, gives you tremendous power to control LabVIEW programmatically and
exposes it to the programmer via either ActiveX or TCP/IP.
For a very nice example that shows how to call a LabVIEW VI with arguments
passed from the C++ environment, then bring the resulting data from
LabVIEW back to C++, check out the following example from NI's site:
http://digital.natinst.com/explprog.nsf/websearch/6960cee3bf3d8c30862565da0078ef30?OpenDocument
If the URL doesn't work for you, just go to NI's Example Programs Database
(http://www.natinst.com/support/epd/) and search for "labview and c++".
Regards,
John Lum
National Instruments
Matthew
Ho wrote:
> I have decided a project that consists of C++ and Labview. C++ is used
> as the input to labview. However, i don't know how to use C++ to
> control the labview. Can C++ control the labview directly? and how ?
> or I have to buy another program or hardware to be interface?
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.