LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[Useless Code Corner] Make Constants look like Controls

Hi everybody,

 

check this out. I was out of it for a couple of minutes when I discovered this was possible...

 

https://decibel.ni.com/content/docs/DOC-40984

Message 1 of 5
(3,361 Views)

Very interesting.

 

Do you have the inverse code that would change things back to regular constants?

0 Kudos
Message 2 of 5
(3,342 Views)

Pretty neat, I'll have to check that out when I am on my computer with LabVIEW but it seems that this is only possible to achieve with scripting correct?  I'll check tomorrow to see if there is an ini token for it.

 

Just curious, what kind of QD command are you working on?  I was working on making some of my own and it's always interesting to see what people put in to quick drop.

Matt J | National Instruments | CLA
0 Kudos
Message 3 of 5
(3,329 Views)

To revert to normal constants, change to control/indicator and back to constant again, whether manually or with scripting. The Snippet shows an addition to the right of the ReplaceMethod in the originally posted VI that does this forward-backward change.

back2Normal.png

 

The QD shortcut I was working on was this:

http://forums.ni.com/t5/LabVIEW/QD-Shortcut-Chage-To-From-Array/td-p/1035265

 

Message 4 of 5
(3,290 Views)

Congradulations, useless, and interesting. 

0 Kudos
Message 5 of 5
(3,164 Views)