LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading ActiveX Control Enumerations

I am using an ActiveX control that defines enumerations in an .odl file "typedef enum {RED, GREEN} COLOR;". Visual Basic can extract information about the enumeration (I can type "Dim c As MyControlLib.COLOR" and then type "c = " and VB will provide "RED" and "GREEN" in its auto-completion feature.)

QUESTION: In LabView, is there any way I can use/access these enumerations? In other words, is there a way to specify "RED" instead of zero without defining my own "patch" ring or enumeration control?
0 Kudos
Message 1 of 3
(2,666 Views)
When you drop an ActiveX property or invoke node, select an input or output and select Create.... LabVIEW will create a constant, control or indicator ring with the control names list.
Jean-Pierre


LabVIEW, C'est LabVIEW

Message 2 of 3
(2,666 Views)
Thank you very much!
0 Kudos
Message 3 of 3
(2,666 Views)