LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create GUI in Labview - TOWER OF HANOI

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.

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
0 Kudos
Message 11 of 17
(2,484 Views)

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? 

0 Kudos
Message 12 of 17
(2,479 Views)

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

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
0 Kudos
Message 13 of 17
(2,474 Views)

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. 🙂

0 Kudos
Message 14 of 17
(2,470 Views)

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.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 15 of 17
(2,469 Views)
0 Kudos
Message 16 of 17
(2,410 Views)
0 Kudos
Message 17 of 17
(2,399 Views)