Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Running labview vi from measurement studio

Hi All,
 
i have a question about Measurement Studio 8.0.1 and Labview.
We have been working with labview for years now and hence have a considerable collection of all purpose VIs, which we use as building blocks (sub VIs) in our projects.
I would like to continue using these from MS 8.0.1 using C#.
How can i do it ?
0 Kudos
Message 1 of 2
(3,206 Views)
 
 

Hi MrDiam,

The simplest way to incorporate your old LabVIEW code into a C# application is to build your LabVIEW code into a DLL.  You may want to reference the Help File for Building a Shared Library (DLL) in LabVIEW 8. Also, this document on Calling a DLL with C# looks like a good reference for DLLs in general.

Hope this is helpful!  By the way, this question is better suited to the LabVIEW forums so you would likely get more responses there.

Megan Beck
Applications Engineer
National Instruments

 

Message Edited by Megan B. on 07-21-2006 08:14 AM

0 Kudos
Message 2 of 2
(3,190 Views)