LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to creat an output for event structure?

I'm getting started in learning LABVIEW . I come across a problem recently and can not resolve it.I put en event structure in a while loop ,but I don't know how to connect them.I found that there is an output point on the border of event structure .I tried to resolve it but failed.Could you help tell me how to creat an output for event structure?Thanks so much.

0 Kudos
Message 1 of 8
(2,942 Views)

Hello,

 

it may help if you post your code

 

what do you call  output ?  the terminal condition ?

 

if that you have to create a quit button, create a event on this button that branch a true boolean from

 

inside this case to terminal condition , for other cases branch a false

 

Regards

 

tinnitus

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 2 of 8
(2,931 Views)

A small step-by-step guide. I suppose you just want a simple event structure that stops when you press a button.

 

So you already have the event structure inside the while loop.

Create a button on the front panel. Place the terminal of the button inside the event structure.

Change the Event to the 'Value Change' Event for the button.

Wire the terminal to the stop condition of the while loop.

 

As an altrnative to the button/terminal, you can also use a boolean constant (T). This is usefull for other events such as Panel Close.

 

Felix

0 Kudos
Message 3 of 8
(2,907 Views)

I still don't know how to do it.

0 Kudos
Message 4 of 8
(2,882 Views)

Hi Cherry,

 

       Here is a simple example on how to use the Event structure.

 

Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 5 of 8
(2,871 Views)

hello,

 

see in attachement a way to

 

Regards

 

Tinnitus

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 6 of 8
(2,869 Views)

hi tinitus,

Thanks.This vi can run properly now.But there are still some issues needing your help.

 

I am a beginner in learning LAbVIEW. So I learned by imitating  the examples from a book,including this vi.In my book,the example showed that the event structure connect with the red stop botton directly,no "true constant".Could you help tell me how to make it?

 

Besides ,how to creat the "enter "botton,I can not find it.Thanks.

 

Regards,

Cherry

0 Kudos
Message 7 of 8
(2,853 Views)

hello,

 

there was no interest connecting directly  regarding different mode of button action

 

with this way you now exactly what it does for this event

 

to create a button

 

1)   right click on the terminal button then create command

or

2) go to front panel right click go to button palette then choose wich you want

 

regards

 

Tinnitus

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 8 of 8
(2,851 Views)