From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-26-2007 02:29 PM
11-26-2007 02:46 PM
11-26-2007 03:15 PM
11-26-2007 03:20 PM
03-07-2012 10:49 AM
@Altenbach, this is exactly what is happening in my case. I didn't use feedback node. I just compared old val and new value and only changed the property node if they were different.
However, I would like to know if using feedback node is better, how would one accomplish that? THanks!
03-07-2012 10:52 AM - edited 03-07-2012 10:54 AM
@VeeJay wrote:
@altenbach, this is exactly what is happening in my case. I didn't use feedback node. I just compared old val and new value and only changed the property node if they were different.
Yes, that's what I do these days. (However, if the event case shares several events, the feedback node needs to be used.)
03-08-2012 12:53 PM
Hi Altenbach,
What about when I want to trigger an event when a boolean in another while loop switches to TRUE, i.e. when my main control loop detects an error, I want the event loop to fire an event to stop the program. Would I still have to use shift register or can I just monitor the new value and if it is true, I trigger the event. And also, would property node (value signaling) or local variable be the best option for this?
Thanks!
03-08-2012 01:05 PM
Duh! I just read what I wrote and I figured out what to do. I have to compare TRUE or FALSE before I trigger the event. Not just compare the NEW VALUE inside the event case (in this case the event has already triggered).
Anyway, help with property node vs local variable would be helpful. Plus, I am triggering out of an indicator (error indicator boolean).
V