Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Using .NET with LabVIEW

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

The .NET Framework allows you to access Windows services such as the performance monitor, event log, and file system, as well as advanced Windows APIs such as the Speech Recognition and Generation service. The .NET Framework also provides access to Web protocols such as SOAP, WSDL, and UDDI.

You can use LabVIEW as a .NET client to access the objects, properties, methods, and events associated with .NET servers. You also can host .NET user interface controls on the front panel of a VI. Although LabVIEW is not a .NET server, you can communicate to LabVIEW remotely with the ActiveX server interface through .NET support for COM objects.

Note  Creating and communicating with .NET objects in LabVIEW requires the .NET CLR 4.0 that installs with LabVIEW. You must use a .NET 2.0 configuration file if you want to load .NET 2.0 mixed-mode assemblies. Refer to the requirements for using .NET with LabVIEW for more information about .NET restrictions in LabVIEW.

National Instruments strongly recommends that you use .NET objects only in LabVIEW projects.

Be sure to save .NET assemblies in appropriate locations to ensure that they load and behave as expected.


 Was this document helpful?  submit
  Helpful Not Helpful