04-18-2006 10:17 AM
04-18-2006 10:26 AM
Hi Nousome,
You may want to take a look a the example I have linked to in post #4 of this thread.
http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
It shows you how to move a random number of objects around on a picture control and makes them each disappear under the appropriate conditions.
If you adapt that example with a detection of where a user clicks on the pciture control, it sounds like your project is half done!
If you use this approach, please post an example of how you did it and I will add it to the collection.
"Trying to teach you how to fish"
Ben
04-18-2006 10:40 AM
04-19-2006 04:22 AM
04-20-2006 05:38 AM
04-20-2006 06:05 AM
Hi Nousome
randomizing a picture position is different from having different views of the picture control.
look at my other example, I'm not usisng the picture position at all and still show all possibilities.
You only need two picture rings and eventually move them around.
Stop using so many controls and indicators.
04-20-2006 07:44 AM
Of course, sorry I express badly what I did. I didn't change the positions of rings but change only presentation of picture into the ring (which contains all posibilities). I display 4 rings because I want them to be displayed all simultaneously.
My problem is to activate random number after each time the subject clicks on one picture. Here, the random number is active only at the beginning, I don't succed to reiterate it despite trials to use in a while loop or for loop.
04-20-2006 09:35 AM
04-20-2006 09:48 AM
thanks a lot, it works almost like I want. The only problem I discover when I simulate the vi is when the subject clicks on a rectangle, for example, it is the rectangle I want to eliminate and not only the ring picture. The random cannot reactualize the number that it has to select. I don' think at that before.
04-20-2006 12:20 PM