12-26-2007 04:33 PM
12-26-2007 04:53 PM
12-26-2007 05:08 PM
There are probably only two advantages to updating the value by way of a property node.
1. If you use value (signalling) to programmatically generate the value change event in an event structure.
2. If you are already using some property nodes to set other properties like, color, visibility, blinking, ... That would let you set several properties all in one node structure at the same time.
12-26-2007 05:17 PM
@Ravens Fan wrote:
There are probably only two advantages to updating the value by way of a property node.
1. If you use value (signalling) to programmatically generate the value change event in an event structure.
2. If you are already using some property nodes to set other properties like, color, visibility, blinking, ... That would let you set several properties all in one node structure at the same time.
12-26-2007 07:23 PM
richjoh wrote:
I take a property node implicit or explicit and update a control. No local variables...
12-27-2007 09:48 AM
12-27-2007 10:03 AM
12-27-2007 10:53 AM
I'm not sure if anyone has mentioned this yet, but I always like to point out that you can get around the slowness of property nodes by using the "Defer FP Updates=True" property. This prevents the front panel from updating synchronously while this property is set to true, and it still allows you to control a front panel from subVIs that might be several layers down. Just make sure to set "Defer FP Updates=False" after you're done, otherwise the front panel won't do anything 🙂
Chris M
12-27-2007 11:40 AM
richjoh wrote:
OK, my 2 cents, so updating a control using property nodes is slow compared to local variable. Possibly local variables are so fast they are more likely to cause race condition...
12-27-2007 12:17 PM
Reason I ask is I got my result back from the CLD Exam. There is a comment from the grader that goes like this "Property nodes used to update values"...
Personally, in my opinion, I don't see what the big deal is when grading the CLD. its appears (the grading) is more about style than execution. Dress for the occasion or you won't get in.... So I have no code to show but now have a better understanding as why the CLD exam comment is there.
Richjoh