LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best Architecture for my VI

Solved!
Go to solution

Hello Everybody,

 

I search the best architecture for my VI.

My program is simple. I'd like to read a TDMS file not directly, but firstly list the Groups/Channels' names and when user will choose the Group and channel to read, then the program copy this and paste it in the ASCII file.

Please I need help to you for the best architecture.

 

0 Kudos
Message 1 of 5
(2,497 Views)

Look at the various forms of State Machines, in particular the QSM (Queued State Machine). This separates the User Interface actions from what the UI initiates. 

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



Message 2 of 5
(2,475 Views)
Solution
Accepted by topic author Fred19ni

Just a while loop with an event structure would do.

 

There doesn't seem to be anything happening in parallel, so more complex architectures will just be confusing.

Message 3 of 5
(2,474 Views)

Sounds like a simple 1 loop with an Event Structure will do.  You only do things from control value changes.


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
Message 4 of 5
(2,471 Views)

@crossrulz wrote:

Sounds like a simple 1 loop with an Event Structure will do.  You only do things from control value changes.


Great minds think alike.

0 Kudos
Message 5 of 5
(2,465 Views)