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

Using event structures in a tab...

Hello,

I have a program that has four tabs connected to a case structure, and within one of the cases, I have an event structure. The event structure triggers on a button within the tab. There are also buttons in other tabs. When I run the program, the button within the event structure works as expected, but the other buttons don't work. I'm probably missing something very basic about using event structures with tabs...can anyone help me out?

Thanks.
Kasey
0 项奖励
1 条消息(共 3 条)
3,245 次查看
It is a common misconception that tab structures need a case structure on the diagram to keep the universe in balance. This is wrong!

Remove your case structure and don't even look at the tab terminal on the diagram. You don't need it. In this case, a tab control is just a way to more logically organize the front panel.

To fully understand what your problem is, run while looking at the block diagram with execution highlighting. Putting an event structure inside a case seems like a very bad idea in general, but please post your code so we can see where it sticks.
2 条消息(共 3 条)
3,237 次查看
Thanks. That explains it. 🙂
0 项奖励
3 条消息(共 3 条)
3,213 次查看