05-23-2011 09:12 AM
I believe you need to combine your graphics manipulations between both calls to the Hanoi towers, otherwise you will not see any movement of disks. An alternative would be to "translate" the final solution into the graphical movement. As you have it coded right now, the only thing you are doing is drawing the three disks.
05-23-2011 09:21 AM
Hye there,
Can you explain "graphical manipulations" using layman term.. sorry, im stilllll veryyy new to Labview. 😕 does that mean i have to use Graphs to present my output?
05-23-2011 09:41 AM
Hi,
I think you need to explain what does not work on the Hanoi_GUI_Protoyp3.vi, because it works fine when I run it here. It gives you the solution and displays the disks.
I assumed that maybe you wanted to see the disks move?
Fabiola
05-23-2011 09:45 AM
hye,
yes the disks display works fine.. I mean when i enter i want to have 5 disks, then 5 disks will appear when i run the program..
but in addition , i also want the disks to move.. that is the difficulty i am having now.. Hope you can teach me how..
Thanks. 🙂
05-23-2011 09:47 AM
apapa, look at this example: Help > Example Finder > Building User Interfaces > Displaying Data > Pictures > solorsystem.vi.
It shows you how to create graphical objects and manipulate their positions and other parameters on a 2D or 3D picture control. LabVIEW wasn't really designed for this stuff though. Graphics that are easy in C++ or Python will take some time to code in LabVIEW.
06-13-2011 10:27 AM
06-13-2011 12:20 PM
@smercurio_fc wrote: