From: TRanjith on 10 Jul 2008 11:10 hmmn... Pleae see the attached vi.. Event generates on every update. But i need it only when value changes. do i have to write logic manually? Thank you, Ranjith event indicator.vi: http://forums.ni.com/attachments/ni/170/339610/1/event indicator.vi
From: smercurio_fc on 10 Jul 2008 11:10 The "Value(Signaling)" property will trigger the "Value Change" event regardless of what value you write (even if it's the same). Thus, if you only want to trigger it when there's an actual value change, then you need to program this yourself. A shift register comes to mind. I'll leave that to you as a learning exercise. :smileywink:
From: Dennis Knutson on 10 Jul 2008 11:10 That VI qualifies for <a href="http://forums.ni.com/ni/board/message?board.id=BreakPoint&thread.id=2634" rube goldberg code</a target="_blank">. if you want Numeric 3 to update when there is a change in Numeric 2, just create an Value Change event for Numeric 2 and wire Numeric 2 to Numeric 3 inside the event. No need at all for the second loop. Also, put your stop button in value change event. Simple Event.PNG: http://forums.ni.com/attachments/ni/170/339623/1/Simple Event.PNG
From: TRanjith on 10 Jul 2008 11:10 Just for an example i introduced Numeric2. In practical i get that data from array index.
First
|
Prev
|
Pages: 1 2 Prev: New Thread for Conversion of LabVIEW 5.1 code to 8.5 Next: CWGraph3D Solution |