LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make one input(a switch) on one panel control an output (LED)on a seperate panel

Hi working on a college project and I need some help as i'm new to this I just want to build an application on 1 VI and have it monitored and controlled by 2 seperate VI's any help would be great as time is running out.

Cheers.

0 Kudos
Message 1 of 6
(2,809 Views)

Does "time is running out" mean that you tried a lot but didn't get what you want?

If yes, share what you have so far and I'm sure someone will help you out Smiley Happy

If no, then Smiley Mad

0 Kudos
Message 2 of 6
(2,806 Views)

This what I'm required to do by my lecturer 

As far as the project is concerned you should structure it to include at least 3 VI's namely; a server vi that simulates the injection moulding machine, a Vi for the shop floor operator showing the controls and indicators and a panel for the engineering dept. These are suggestions! Then you should share the values from the server VI using shared or global variables.

I have built the simulator but I need to know how to link elements of the VI like inputs (switches) and outputs ( gauges) to 2 other VI's.

 

rgds Skynet

0 Kudos
Message 3 of 6
(2,801 Views)

You can use a reference to the output in the VI with the input and set the value using a property node, or you can use VI server functions to set the value of the output by name.

 

Do what Alain S. suggested above.  Post what you've already done and you'll get the help you need.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 4 of 6
(2,799 Views)
Oh, noes!:O!  Your lecturer told you to use "shared or global variables"?  I tell you to use Queues, Notifiers or Action Engines!
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 5 of 6
(2,794 Views)

What I would like to do is a simple example and be stepped through it on how to,using global variables turn on a LED on one VI  using a button on seperate VI if there are any notes or tuturials available on global variables then that would be great.

 

Skynet

0 Kudos
Message 6 of 6
(2,774 Views)