annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Register for Events

Risolto!
Vai alla soluzione

How to get the outputs from the 'user-event' terminals of Register for Events function like shown in figure? The 'Register for Events' function doesn't seem to have output terminals like this. 

Jyo263_1-1717559682887.jpeg

 

0 Kudos
Messaggio 1 di 5
975Visualizzazioni
Soluzione
Accettato da autore argomento Jyo263

Hi Jyo,

 


@Jyo263 wrote:

How to get the outputs from the 'user-event' terminals of Register for Events function like shown in figure? The 'Register for Events' function doesn't seem to have output terminals like this. 


The wires are connected to the input of the RegisterEvent node…

 

Do you see the importance of never hiding wires behind other structures to improve code readability!?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Messaggio 2 di 5
928Visualizzazioni

Hello Jyo,

 

the terminals at "Register for User Events" are just inputs:

 

User Event Terminal.png

This node just bundles the refnums of controls or user events, to create a registration for an event structure.

 

Greets, Dave
Messaggio 3 di 5
926Visualizzazioni

However, in the figure it seems to have global variable. How were they obtained?

 

0 Kudos
Messaggio 4 di 5
890Visualizzazioni

Hi Jyo,

 


@Jyo263 wrote:

in the figure it seems to have global variable.


The event refnum is written to a global variable.

 


@Jyo263 wrote:

How were they obtained?


You create an indicator for the event refnum, then you move that indicator into a global variable VI.

Pretty basic LabVIEW stuff: did you take the Training resources offered at the top of the LabVIEW board?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Messaggio 5 di 5
878Visualizzazioni