LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
TimsTools

Event Structure, Add Event "First Run"

Common use case for Event Structure is to create a User Interface. 

 

I would really like to see an Add Event Case called "First Run" under the Application category, as shown in the attachment.

 

- Makes it trivial to set up first run options/settings

 

- Executes before the timout begins counting

 

- Requires no elaborate code outside the event structure (usually messes up the code window a bit,) no code to generate pre-event triggers leading into the structure, no special handling of timouts using shift registers (all alternative methods.)

 

- Makes a clean place to always see what happens when the code first kicks off.  

6 Comments
elset191
Active Participant
RavensFan
Knight of NI

Sounds like a duplicate of this idea.  Even the title is almost the same.

 

Add First Run event on event structure

TimsTools
Member

 

This is what I was trying to explain... basically a "no brainer" for setting up initial run parameters in an event structure. 

 

elset191 has some of the alternative ways shown, but none are as simple as this.

 

SpaceGuy

 

 

 

G-Money
NI Employee (retired)
TimsTools
Member

The linked solutions assume that the "Timeout" and the programmers First Run are the same event.  They may not be.  I have cases where some of my events I want to run First Run are not the Timeout, but need run at least once.  I would really like an "Application", "First Run" Event in the event structure selections that I could assign to any event frame.

 

Please reconsider, this could be very commonly used for application startups.  Why not make that easy as pie?

RavensFan
Knight of NI

The link is to a duplicate idea.  You are asking for the same thing they are.  Please go to the link and reread the originally posted idea.

 

Yes, that thread has a bunch of proposed workarounds.  And some of them do involve the timeout event.  Nobody is saying that the solution to the idea is those workarounds, or that your idea is a duplicate of those workarounds.