LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get all control/indicator objects of a VI with C# (.NET)

Hi,
 
Does know anybody a possibility to get all the "control/indicator" object of a VI with C#?.
 
I know how to do it inside LabVIEW (get the panel property of the VI  and from there I can get the Controls[] property)., but I can't find it in the LabVIEW COM component. Smiley Sad
 
Regards
Risotto
0 Kudos
Message 1 of 6
(3,418 Views)
hello risotto,

the VI server properties should be also accessible via ActiveX, see the following links:
Functionality Provided by LabVIEW as an ActiveX Server

Enabling LabVIEW as an ActiveX Server

kind regards,

robert h
NI germany
0 Kudos
Message 2 of 6
(3,400 Views)

Hello Robert,

Thank you for you answer, but I already know this help in LabVIEW. The point is that you can access to the panel property from a VI instance in LabVIEW (with the property node), but the same property is not existing in the ActiveX.

 

Regards,
Risotto

0 Kudos
Message 3 of 6
(3,357 Views)
hello risotto,

there are not all VI server properties and methods exported in ActiveX.
so you can access elements on the frontpanel only, if you know the name.

kind regards,

robert
0 Kudos
Message 4 of 6
(3,345 Views)

Yes, that's exactly my problem.

So if I god understand, there is no solution to my problem now.

 

Regards,
Risotto

0 Kudos
Message 5 of 6
(3,343 Views)
hello risotto,

as far as i know unfortunately no,

regards,

robert
0 Kudos
Message 6 of 6
(3,337 Views)