LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger event on array index change?

I understand that using a property node, I can view the current indices of an array control.  Is there any way to have my event structure pick up a change in the value of the current array index?
 
Since I haven't figured this out yet, my work-around has been to trigger the event structure on a mouse up event for the array control since a mouse click can be used to change the array index.  I tried also triggering on a key up event (for example, if the user highlights the index display and changes the value with the keyboard) but I could't ever trigger when the "Enter" key was pressed.  If there's no answer to the first question, is there a way I can trigger on a key up for an array control?
 
Many thanks,
Michelle
0 Kudos
Message 1 of 3
(6,191 Views)
You can take a normal control and set the array index with it.


Message Edité par Jean-Pierre Drolet le 02-01-2006 07:50 PM



LabVIEW, C'est LabVIEW

Message 2 of 3
(6,190 Views)
What a wonderful idea!  You're completely right -- there's no reason I have to be constrained to the array control itself.  I'm going to try the implementation you suggested.
 
Maybe one of the future releases of LabVIEW will recognize a change in the value of the array index as an event...
 
Thank you very much for your input!
Regards,
Michelle  Smiley Very Happy
Message 3 of 3
(6,168 Views)