LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a LabVIEW .NET Interop Assembly from IronPython

This is not a question, just hoping I might save others some time and trouble.

 

 

import clr
#clr.AddReference('NationalInstruments.LabVIEW.Interop.dll')
clr.AddReference('{filename.dll}')
from {.NET interop assembly namespace} import {.NET interop assembly class name}
print {.NET interop assembly class name}.{Method Name}({parameters})


Most of these items are from the .NET Interop Assembly build specification, Information settings.  Method Name is found inside the Define VI Prototype dialog.

 

 

For some reason I did NOT need to worry about NationalInstruments.LabVIEW.Interop.dll, maybe thats just because of the software/paths on my particular machine?


Or, if you did not create the DLL yourself, you could open the dll in visual studio (see below/attached)

Object Browser - Microsoft Visual Studio Express 2013 for Windows Desktop (Admin-2015-08-10 15_00_43.png

 

0 Kudos
Message 1 of 1
(3,494 Views)