04-03-2011 06:11 AM
Hi,
I want display some 10 addresses on combo in hex format. My read visa reads in ASCII format and I am converting them into hex string -> array-> combo after all iterations(each iteration may read one value or not and that the reason I am storing all the read data into array to combo box). As far it is displaying only last iteration hex string in it. How to display all the values into combo? Please help me some one. You can see the following picture.
one more problem with my event structure that I have 9 event cases and one timeout case. I have taken "latch when released" mechanical action for button. So, when ever I clicked the button, it glows until it entered into that event case and after no glow and more after completion of that event case it going to timeout case. I want to do like"1) the button should glow until the case finished and off 2) it would not like it every time it going to timeout case after the event case completion and I would like to do that the select event case should run until and unless if I press another event".
Hope some one is going to help me. please let me know if you are not understood my dead English.
04-27-2011 09:51 PM
You need a 1d array to update the Strings[] property. You should click on help and hover your mouse cursor onto the broken wire to see what is wrong. I suspect that you are trying to feed a 2D array into Strings[], which accept only 1d array, since you converted the string into an array inside the loop and the auto-index is also enabled.