LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set / write WMI Classes via .NET in LabVIEW ?

Hi there,
 
how ist it possible so set a WMI property with .NET?
 
Please se the attachment...
0 Kudos
Message 1 of 2
(2,959 Views)
You can convert some LV data types into .NET types via the To Object.vi, which you'll find in <vi.lib>/Platform/dotnet.llb. So, for example, you could wire an int32 or double into the To Object.vi, and wire the output of that VI (which is a System.Object) into your invoke node.
 
To get the value back into a LV type, use the To Variant.vi (same LLB) and then use the normal Variant to Data node to convert it to the LV data type.
0 Kudos
Message 2 of 2
(2,953 Views)