10-22-2021 02:39 AM
Requesting your suggestion/experience story here;
This is a big size application, which needs to run on a Windows OS target machine for 24x7. The application includes multiple channel highspeed data acquisition, process, presentation in multiple Graphs and storage. In parallel the application should be highly interactive with with user events.
My key gaols in the design are;
With the above requirement, which is the better approach, using sigleton or clonable DQMH modules provided, I can compromise on reusability?
Please pitch in your opinion from your experience/learning.
Thank you
Adarsh
LabVIEW from 2006
CLA from 2014
Solved! Go to Solution.
10-23-2021 09:00 AM
Hello Adarsh,
I can see 2 points that could add overhead when using cloneable modules instead of singleton:
#1 star and stop functions have to handle the instantiation.
#2 when you send a request to a specific instance of a cloneable module, all instances receive the message, and each instance checks if the message is addressed to it.
I can't see other differences.
That being said, performance is always a complex and sensitive topic.
From my own experience with DQMH, I never came across performance issues directly related to DQMH itself. DQMH can't prevent all mistakes a developer can make.
Whatever framework (and whatever languages) you are going to use to build your application, obtaining a robust and performant behavior begins with a reliable architecture and experienced developers.