LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need .net reference to labview VI window handle

I'm calling a .net DLL. One fo the functions requires a handle to an application window. I've attached my code (lv2011) and the dll.

How do I get a .NET reference to the current LabVIEW window?



Michael Aivaliotis
VI Shots LLC
0 Kudos
Message 1 of 4
(2,662 Views)

Where did you get the usblibrary .NET assembly? It is not registered on my machine.

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
0 Kudos
Message 2 of 4
(2,651 Views)

it's in the attached zip file



Michael Aivaliotis
VI Shots LLC
0 Kudos
Message 3 of 4
(2,648 Views)

Sorry, my IT blocked it. I've got it now... Looks like you are trying to use a USB thermistor and nag the user if it is not plugged in or something? Interesting that it uses HID as opposed to Test and Measurement class. I tried running it on my end and the handle part runs ok but nothing happens.

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
0 Kudos
Message 4 of 4
(2,644 Views)