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.
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.
03-15-2018 02:04 PM
I have been watching the videos and taking a look at the demos. I would like to start using DQMH for this application I need to work on.
If I understand It correctly. My UI will be an Application Calling the modules right?
I will create a:
Test Profile Singleton Module
Data Acquisition Singleton Module
Log Module Singleton Module
Test Profile Driven Pressure Hold Test singleton module
Report singleton Module
....
My Test Profile Driven Pressure Hold Test singleton module will need to always be subscribed to the data acquisition sensor data broadcast to PULL that information right? Same with the LOG?
Solved! Go to Solution.
03-15-2018 02:55 PM
@buton wrote:
If I understand It correctly. My UI will be an Application Calling the modules right?
Yes. You can make the calling application use any design pattern you want. You could also make the Top Level Application a DQMH module itself, it is up to you.
@buton wrote:My Test Profile Driven Pressure Hold Test singleton module will need to always be subscribed to the data acquisition sensor data broadcast to PULL that information right? Same with the LOG?
Sounds right. Two suggestions:
1) Look at the Helper Loop blog post that Joerg wrote. You might benefit from having your Data Acquisition module have a helper loop to broadcast the data. This will depend on how fast you need to broadcast the data.
2) For your logging module, implement a buffer. Meaning, there is no need to write every single piece of data that comes in as it comes in, you can keep it in an array and write segments of data at a time. If you go with this approach, make sure you don't make the Log Module.lvlib:Stop Module.vi enqueue the Exit as a priority message, otherwise, you might end up missing some data at the end (if the data is still in the event queue and it has not been processed yet).
Happy wiring,
Fab
03-15-2018 04:02 PM
Thanks for the fast response.. i am going to start my application and update you on my progress..
Thanks
05-25-2018 09:20 AM
Well project got canceled... and moving to another project very similar...
I will document in other post