Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make a link between Visual C++ and LabView?

I want to use my labview program to read the data generated by visual C++ program to perform some control to digitial oscilloscope. I have read your homepage. I know it is using ActiveX to get everything done. However, I dont know where to get started!The data is just a simple number, 1 to 8. So what should I do right now? Where Should I start?
thanks for helping me.
0 Kudos
Message 1 of 2
(2,967 Views)
Hi there,

I think the simplest way to incorporate a VC++ program into LabVIEW code is by compiling your VC++ code into a DLL. If you are familiar with DLLs, you know that you can export functions from it (functions that other modules can see and call). LabVIEW has the capability of calling functions inside DLLs through the "call library node.vi". This has nothing to do with ActiveX though. And if it's a simple as returning numbers, I'd suggest to stay away from ActiveX.

Let me know if you need more info on DLLs.

Regards,

Azucena Perez
National Instruments
0 Kudos
Message 2 of 2
(2,967 Views)