cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

NI Example Finder Like

Resolvido!
Ir para a solução
I would like to create a windows that looks like NI Example Finder.  I remember seeing it in as an example but for some reasons I can't seem to find it again.  I would like to have the ability list multiple VI by folder directory then allowing end user to click on it and open that VI then close the front panel.  Does anyone know where can I find this example and what is the name of it?  Thanks
0 Kudos
Mensagem 1 de 10
7.122Exibições
There are several examples that do what you're referring to. Gettting the list of VIs is pretty trivial. There's a VI in the File I/O palette that you can use for that. Opening/closing the VIs is simply done with the VI Server. Example:
Mensagem 2 de 10
7.108Exibições
Oh yeah, that I already know.  Opening a file is easy.  But I want to create a tree with a double-click listener.  In this tree, I would like to have multiple folders and when a user expands and clicks on the lowest child object (double-click, not single), it will open up another VI.  How do I do that?  I kinda got some ideas with using a tree but how do I create a double-click listener on the tree?  I remember seeing this example before but I can't seem to find it anymore.

Message Edited by lavalava on 11-15-2009 10:06 AM
0 Kudos
Mensagem 3 de 10
7.089Exibições
If you open the Example Finder and search for "tree" you will find the example "Directory Hierarchy in Tree Control". This populates a tree. You can add an event structure and handle the "Double Click" event for the tree. That event has a "Tag" parameter that tells you which element was double-clicked.
Mensagem 4 de 10
7.082Exibições

Guys,  I've also seen this example before:

 

gettingStarted.jpg

 

Does anyone know where can I find this example?  It looks exactly like getting started windows.  Thanks

0 Kudos
Mensagem 5 de 10
7.065Exibições
I would like to have the ability to click on a hyperlink and then open VIs (red arrow).  How do I do that?
0 Kudos
Mensagem 6 de 10
7.063Exibições
There is no hyperlink control in LabVIEW, so you have to make it yourself. You can do this quite easily using a button and making it transparent. You can respond to the "Mouse Enter" and "Mouse Leave" events to make the Boolean text underlined/not underlined respectively.
Mensagem 7 de 10
7.041Exibições

here is an example:

 

hope it helps:

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
Mensagem 8 de 10
7.032Exibições
Solução
Aceita por lavalava
Well, that doesn't quite work like a normal hyperlink. With a hyperlink the text remains underlined while the mouse is over the text. That's why I said to use the "Mouse Enter" and "Mouse Leave". By doing so you also eliminate the unnecessary timeout value for the event stucture.
Mensagem 9 de 10
7.013Exibições

Very nice.  Change the Boolean text color to purple (say) using a property node in the Value Change case, and it is a reasonable approximation to a hyperlink.  Be sure to change it to blue ahead of time as well.

 

Hyperlink.png

Mensagem 10 de 10
7.008Exibições