06-04-2024 10:51 PM - edited 06-04-2024 10:55 PM
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.
Solved! Go to Solution.
06-05-2024 12:42 AM
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!?
06-05-2024 12:45 AM
Hello Jyo,
the terminals at "Register for User Events" are just inputs:
This node just bundles the refnums of controls or user events, to create a registration for an event structure.
06-05-2024 06:48 AM
However, in the figure it seems to have global variable. How were they obtained?
06-05-2024 06:58 AM
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?