LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI of the Day (8/25/2009)

Today a simple object which unleashes tremendous power, "Property Node"

 

I have enclosed the somewhat whimsical VI that I threw together this morning which uses the FP:Transparency property.  Just move the mouse in and out of the FP window, and adjust the scale.  Even if you've used these hundreds of times I'll bet there is a property that you haven't experimented with.  I'd like to see some cool examples of "Stupid VI tricks", things you can do using properties when you no longer worry about why you would want to.

Message 1 of 8
(3,685 Views)
That is a fun property. I can think of a few places that I can use this property.
Tim
GHSP
0 Kudos
Message 2 of 8
(3,658 Views)

An elegant way to start a VI is to "fade in"...

 

effect.gif

 

 

Richard






Message 3 of 8
(3,640 Views)

As there are so many properties, this could get an enormous thread with little structure. Maybe you broaden the scope of your 'VI of the day' to properties as well and post an occasional 'property of the day'. Ben did serve us ObjHighlighting as a mini-nugget in the past. This way you won't run out on '... of the day' the next centuries. And also, there are hidden properties only visible to those that wander alone in the darkness...

 

Felix

0 Kudos
Message 4 of 8
(3,617 Views)

Broken Arrow wrote:

An elegant way to start a VI is to "fade in"...

 

effect.gif

 

 


Very cool, but unfotunately it doesn't meet the requirement of "stupid."  It's actually quite clever and useful.  😉

 

Bill

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 8
(3,605 Views)

Darin.K wrote:

Today a simple object which unleashes tremendous power, "Property Node"

 

...I'd like to see some cool examples of "Stupid VI tricks", things you can do using properties when you no longer worry about why you would want to.


In my Nugget;

 

 

“Adaptive Save Restore”
 
"A Case Study of Exploiting Control References to Reduce Development Time"

 

 

I used this code construct

 

 

 

 

Without it the code would not work. If nothing else is is a good example of what happens when the wife goes away for the week-end and leaves me home alone with LV.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 6 of 8
(3,571 Views)

I didn't like that the mouse down event activated when you clicked on the label of a control.  So I made free labels with the text I wanted.  In this application I regularly greyed out items depending on selections. 

For example, in the following UI if you click on a drop down box, the control becomes enabled, and the label turns black.  However, if you first click the label nothing happens.

untitled.PNG

 

So I wrote code to hide the labels with the controls.

   untitled.PNG

 

The text is the Label value for the control for the corresponding free label. 

 

This is about the most useless thing I remember doing with properties.  I was real bored at work that day.

Message Edited by elset191 on 08-26-2009 10:23 AM
--
Tim Elsey
Certified LabVIEW Architect
Message 7 of 8
(3,537 Views)

... and for those of you that are stuck in LV 7.1 or earlier...

 

In this thread we explore what happens when you start clicking on part of a graph and doing a "create reference".

 That functionality was shut-off in LV 8 and above but it did let you get at cursor properties that were otherwise not exposed.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 8 of 8
(3,502 Views)