Randy81 Posted June 5, 2007 Report Share Posted June 5, 2007 Is it possible to run two separate front panels running at the same time such that one front panel can control the other? It's important that this isn't done as a subVI. Quote Link to comment
Eugen Graf Posted June 5, 2007 Report Share Posted June 5, 2007 QUOTE(Randy81 @ Jun 4 2007, 09:56 PM) Is it possible to run two separate front panels running at the same time such that one front panel can control the other? It's important that this isn't done as a subVI. Yes, you can use VI server methods to do it. Eugen Quote Link to comment
Randy81 Posted June 6, 2007 Author Report Share Posted June 6, 2007 Do you mind giving me a little more of a hint? QUOTE(Eugen Graf @ Jun 4 2007, 03:07 PM) Yes, you can use VI server methods to do it.Eugen Quote Link to comment
Jeff Plotzke Posted June 6, 2007 Report Share Posted June 6, 2007 QUOTE(Randy81 @ Jun 4 2007, 08:17 PM) Do you mind giving me a little more of a hint? You can use VI Server to control other VIs, running locally or remotely. For your instance, you can use VI Server methods to change the value of front panel controls/indicators on another VI. You can access these methods by opening a reference to a VI, then using the 'Ctrl Val (Set)' method. Here's a brief knowledgebase article about VI Server, but it doesn't say a lot: http://zone.ni.com/devzone/cda/tut/p/id/4062''>http://zone.ni.com/devzone/cda/tut/p/id/4062' target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/4062 I've also attached an example showing how you can programmatically set controls of other VIs. Open both the server and client examples, then run the server VI -- You'll be able to set the indicators in the client VI using the server VI. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.