LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I creat an icon that opens another VI?

Hello guys,

How can I creat an icon in a specific VI that opens another VI?

 

And is it possible to remote control from home devices linked in a far away PC? I'll have a static IP. How can I do it?

 

Thanks again,

Murilo

0 Kudos
Message 1 of 5
(2,989 Views)

 


Murilo Altheman wrote:

How can I creat an icon in a specific VI that opens another VI


Are you looking to create a subVI? Maybe you should start with a few tutorials.

 

 

 


Murilo Altheman wrote:

And is it possible to remote control from home devices linked in a far away PC? I'll have a static IP. How can I do it?


What exactly do you mean by "control"? Do both sides have LabVIEW installed?

 

 

 

0 Kudos
Message 2 of 5
(2,966 Views)
No, that's not it! I just need to creat an icon that opens another VI by clicking. I mean, I don't want a SubVI with in's and out's. Just a button to click and open another VI. And both computers can have LV installed. But I don't want to remote control a computer by another. I just want to send commands from LV at home to the company.
0 Kudos
Message 3 of 5
(2,924 Views)

Still not entirely sure I'm following the problem...

 

Is the icon a desktop icon or one on the front panel of a VI?  The first would need a piece of compiled executable code (pick your language, labview if you've got the application builder) that just calls and opens the appropriate VI, in the latter you need to do some 'fancy' things with the application control to open up a second VI running in parallel to the first (unlike a subVI which will stall the first VI until you close it). If the VIs need to interact then it starts getting more complicated.

 

With the remote commands if you're just talking about simulating the interactions of front panel controls from another computer then the VI Server functionality will be a good place to start looking - there are some excellent tutorials and loads of information already out there.

0 Kudos
Message 4 of 5
(2,916 Views)

 


@Murilo Altheman wrote:
No, that's not it! I just need to creat an icon that opens another VI by clicking. I mean, I don't want a SubVI with in's and out's. Just a button to click and open another VI.

 

A subVI does not need to have inputs and outputs. I think the confusion is with your terminology. An icon is just a graphical element that cannot do anything except please the eye. Now you are suddenly talking about a button. That's not the same!

 

 


@Murilo Altheman wrote:
And both computers can have LV installed. But I don't want to remote control a computer by another. I just want to send commands from LV at home to the company.

 

Again, you need to be more clear. OK, now we know that at home you have a LabVIEW program. You don't define what "the company" is. Is this another LabVIEW program listening for commands? Is this some other program? What does the program do with the commands?

 

LabVIEW has a rich set of tools to do all this, starting with lowlevel TCP/IP, to web services, to network shared variables, etc. etc. Remote monitoring and control is easy, just tell us in a few more sentences what you want to do exactly.

 

The biggest problem might be to get your IT people to adjust the company firewall to allow incoming connections on certain ports. How tight is the firewall?

 

 

 

 

0 Kudos
Message 5 of 5
(2,899 Views)