LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scripting: Can we drop a Silver control?

Solved!
Go to solution

Is it possible to drop one of the new Silver controls using VI Scripting?

 

The Style ID of a Classic Cluster is 3400 and a Modern Cluster is 21607, but when I read the Style ID property of a manually-dropped Silver Cluster I see 21607.

 

I am also trying to find the Style ID that will drop a Silver LED boolean.

0 Kudos
Message 1 of 3
(2,326 Views)
Solution
Accepted by topic author Photon_Dan

I believe the Silver Controls are actually .ctl files which you can drop by wiring the desired path to the New VI Object function.  If you want to find the location (probably inside vi.lib), you can Edit the Palette Set, go to the item you want and right-click to Display the Path to the Palette item.

Message 2 of 3
(2,325 Views)

That was it.  Thanks Darin!

 

C:\Program Files (x86)\National Instruments\LabVIEW 2011\vi.lib\silver_ctls\Boolean\LED NI_Silver.ctl

0 Kudos
Message 3 of 3
(2,322 Views)