LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scripting Silver Controls

Is it possible to create silver controls with sccripting?

0 Kudos
Message 1 of 4
(2,475 Views)

It does not look like it is possible directly.  However, you can create a VI with the silver controls of interest on the front panel, then Move them to your target during scripting.  This trick works for any sort of custom control.  Alternately, you can create custom control VIs (.ctl) which only contain a single silver control and pass the path of the control to your create VI object.

 

I have created CAR #313211 to track this issue.

0 Kudos
Message 2 of 4
(2,461 Views)

I found the answer: The silver controls are not new object styles nor classes; they are custom controls located in  ... \vi.lib\silver_ctls\

0 Kudos
Message 3 of 4
(2,446 Views)

I found the same answer.  The CAR has been closed as irrelevant.  Here is a snippet of code showing how to create a silver knob.

 

CreateSilverKnob.png

Message 4 of 4
(2,431 Views)