04-14-2013 05:04 PM - edited 04-14-2013 05:09 PM
lets clairify this! some poeple are presenting wrong infromation (sorry guys, Lynn and Y/ are both wrong or are being unintentionally confusing)
Value Changed events are thrown by any Gobject that has a value property. Both controlls and indicators have Value properties.
The real question is what causes, or does not cause, the Value changed event to fire!!!
I will give examples:
I hope that helped
04-14-2013 06:51 PM
Jeff,
Thanks for the clarifications. My apologies to anyone I may have confused or misled.
How can the user change the value of an indicator on a running VI? It does not work for me. I can select the current value, but cannot change it. The Check box is not visible while running. Enter does not trigger a Value Changed event.
Lynn
04-14-2013 07:04 PM
You can still have a value change event for indicators, but only through the Value (signalling) property. Obviously the User is not capable of triggering the value change event since they can not change the value of the indicator directly while the VI is running. I think you hanging up on semantics.
04-14-2013 07:11 PM
That is the way I understand it. Jeff seemed to suggest that the user could trigger a value change event on an indicator in the next to last bullet point.
Lynn
04-14-2013 07:21 PM
You're right. He did say that in the next to last bullet point with "Use a user ... to change the value of a control or indicator and then press either the check box next to the run arrow or the enter key..."
I was reading it by what I'm sure he meant "use a user to change the value of a control." rather than what he typed.
(Now reading that closer, I don't know what he is referring to by the "check box next to the run arrow".)
04-14-2013 08:21 PM
That check box is in the toolbar of a VI in edit mode. It disappears when the VI is running.
Lynn
04-14-2013 08:33 PM
Okay. Now I see it. When the cursor is in the control or indicator.
I had never noticed it before.
04-14-2013 11:47 PM
swear I deleted " or indicator" in that bullet point when I copied n pasted!
04-15-2013 06:11 AM
OPs last post seems to indicate it's about DaqMX-events, which is another beast. 🙂
/Y
04-15-2013 10:54 AM
@gantarone wrote:
I wanted to take only the events that have changed in daqmx
Can you clearify and elaborate on this statement some more? I don't understand your goal. Some more context would help as well.