取消
显示结果 
搜索替代 
您的意思是: 

multiple interacting windows

I was wondering if it was possible to have multiple interating vi's open at once and also be ale to go from one window to the other without have to close the previous.
- there is always an easy way, but it is always the hardest to find
1 条消息(共 16 条)
4,793 次查看
Yes, you can do that! There doesn't need to be a particular order to the VIs' operations, unless your code says so. You can pass information between them using shared variables if you've got LV8 or higher.
2 条消息(共 16 条)
4,774 次查看
I have been able to have interacting windows, but if I open the front panel of a subvi and I cannot do anything on the other window unless I close the subvi. I want to be able to open a subvi front panel and leave it open and still be able to control objects in my main window without closing the subvi.
- there is always an easy way, but it is always the hardest to find
0 项奖励
3 条消息(共 16 条)
4,760 次查看
I'm not sure how you have it setup. I put together something real quick. Hope it's what you're looking for.
0 项奖励
4 条消息(共 16 条)
4,748 次查看

I couldn't get that to do anything for me so here is the basic thing I am trying to do. I want to e able to press a button and bring up another window with a control for an indicator on the main window. I would like the display to be updated without having to hit okay and to still be able to control objects in the main window. 

If this is not possible than i will just have to find another way to have my controls.

Thanks

- there is always an easy way, but it is always the hardest to find
下载全部
0 项奖励
5 条消息(共 16 条)
4,736 次查看
Is there any chance you can post them in LV 8 for me?
0 项奖励
6 条消息(共 16 条)
4,732 次查看
You can use a control reference passed to the subVI and written to it's value property in the subVI. Here's a modified example. I also changed your while loops to use an event structure. If you use a regular while loop, add a delay inside the loop.
下载全部
7 条消息(共 16 条)
4,728 次查看
The Knight has spoken. That emblem really beats 3 colored squares...
8 条消息(共 16 条)
4,720 次查看

Thanks that works well. But I have one more challenge, something I have been trying and can't quite get. I am trying to have an interacting subvi window open and without having to close it be able to still control objects on the main window.

I don't think this is possible but you guys know more than me.

Thanks alot for all your help. 

- there is always an easy way, but it is always the hardest to find
9 条消息(共 16 条)
4,695 次查看

Sure it's possible. The easiest way is to have the subVI in a separate while loop. A little more involved but still pretty simple is to use the VI methods Open Front Panel and Run VI.

Message Edited by Dennis Knutson on 03-19-2007 02:33 PM

10 条消息(共 16 条)
4,679 次查看