From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

Design pattern for CLD

Solved!
Go to solution

What is the best design pattern to pass the CLD? 

 

I think that the "producer/consumer" is not the best way because it need more time..

A simple "state machine" is more fast.

0 Kudos
Message 1 of 3
(5,081 Views)
Solution
Accepted by topic author Gennaro100

State Machine with the capability to handle events from the user and timing.   That will handle all of the scenarios I have seen.


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 2 of 3
(5,078 Views)

Thank you for the answer

0 Kudos
Message 3 of 3
(5,063 Views)