11-12-2010 10:50 PM
Hi all,
I want to get the index of a particular element in an array when i click on that element. I saw some examples in the forum but they are not working for me.. Can anyone please help me do this. I have attached my vi here.
Thanking you all with anticipation,
Regards,
Nitz...
Solved! Go to Solution.
11-12-2010 11:37 PM
Save the VI in 8.6 and post.
11-13-2010 01:24 AM - edited 11-13-2010 01:30 AM
You may use the VI attached but if you have the same value in more than one array then it will not be useful. Instead you can go for the List box where you can easily get the index value by selection and the item in an array.
11-13-2010 01:25 AM
HI,
This is in 8.6
Regards,
Nitz..
11-13-2010 01:28 AM
Hi,
I cant use a list box because this array of clusters is being generated by another vi and there is a color box in the cluster.. Any other options??
Regards,
Nitz...
11-13-2010 01:42 AM - edited 11-13-2010 01:46 AM
Please Explain what you exactly want to achieve then its easy to give suggestions.
11-13-2010 01:58 AM
hi,
The array in the attached vi gets its input from an MS Access Database. So while viewing this array if i want to edit a particular element in the array (in this case one row of cluster) how can i do it. I thought if i got the index of the element may be i can delete that element somehow and enter a new element in that index. Hope I made it clear this time.:) Is there any way to do this.?
Regards,
Nitz.
11-13-2010 02:47 AM
Am not getting the exact logic to do that... Is that ok to use one Control with the same parameters that you can edit it and update to the indicator.
11-13-2010 03:31 AM
Hi Br. Anand,
I cant use a control as you said as there will be more than 100 elements in the array of which i have to change only 1. Anyway thanks for your response.
Does anyone else have a solution for my problem??
Regards,
Nitz..
11-13-2010 04:47 AM - edited 11-13-2010 04:47 AM
Check this it might help.