LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can I use an event structure within another event structure

Solved!
Go to solution

Hi

 

Can use an event structure within another event structure?

 

Thanks

 

Yasamin

0 Kudos
Message 1 of 5
(2,754 Views)
In general, that would be a very bad idea. Why would you want to? An event structure is always capturing events and not just when your outer event is active. This can very easily lead to your entire program locking up.
Message 2 of 5
(2,751 Views)

@yasmain62 wrote:

Can use an event structure within another event structure?


And why would you want to do that...?? Would you mind elaborating the requirement here..??


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 3 of 5
(2,746 Views)

 

I attached my Vi from my old project (MY OLD VI). It is worked correctly.

But I decided that use event structure instead of case structure.

I attached my new VI as a picture and as a LabVIEW VI too (network_analyzer_8510_920527 Frequency Sweep.vi )

My graphs show by pressing "case 5: button (Bottom of page right hand).

Then I want to show each of graph in a large window( in a new VI) by clicking a key (for example "show 1").

 

Thanks

 

Yasamin

0 Kudos
Message 4 of 5
(2,737 Views)
Solution
Accepted by topic author yasmain62

I would save your waveforms in shift registers.  You can then use your main event structure to trigger on the Show 1... value change events and process the data however you need from there.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(2,693 Views)