06-08-2021 10:27 AM - edited 11-23-2022 01:54 AM
Debugging: (depending on what you want to do)
Exclude dependent packed libraries: (Always enabled!)
Exclude dependent shared libraries: (Always disabled!)
Use Pre-/Post Build Actions to optimize your build
DQMH Module's (generic):
- Move Tester inside of the Library
- Set main.vi public (easier to debug)
Call (non PPL) DQMH from PPL DQMH modules
Obtain Request Events.vi
For all GUI-DQMH modules "Obtain Broadcast Events.vi and Obtain Request Events.vi) must be extended. The VI searches via "VI server" the instance with the valid UserEvent registrations).
TestStand error / stop module integration:
- generate an additional vi to receive the desired events under TestStand (running in a TS-thread)
Add LVLIBP-search path to your Application.ini file (TestStand and normal applications)
Lessons learned:
Main Application settings
If you receive "Error 1003 occurred at File XXX.lvlib:Start Module.vi" you can try the following setting:
In case of strange crashes, recompile the PPL with the MGI Solution Explorer!
=> Still under construction... please wait for updates! 😉
Have FUN with PPL!
Claude
06-09-2021 03:42 AM
Updated and extended...
06-10-2021 06:22 AM
Updated (Pre-Postbuild / Application settings)
07-08-2021 09:18 AM
Added Main application settings
02-22-2022 08:52 AM
HI , THIS HELPS A LOT. THKS !
I GOT A QUESTION:
Obtain Request Events.vi
For all GUI-DQMH modules "Obtain Broadcast Events.vi and Obtain Request Events.vi) must be extended. The VI searches via "VI server" the instance with the valid UserEvent registrations).
The picture is not clear enough.Could u show me where i can find the vi(the valid UserEvent registrations)?
Thanks!
02-22-2022 10:00 AM - edited 02-22-2022 10:04 AM
These VIs are only needed if you mix PPL and non-PPL event/broadcast registrations of the same library.
1) Insert the Helper_BroadAndRequest.vim in the "Obtain Request Events.vi" and "Obtain Broadcast Events.vi" in the false case.
2) Make the Wrapper_Obtain Broadcast.vi and Wrapper_Obtain Request.vi static in Memory
=> Replace "Obtain Request events.vi "Obtain Broadcast Events.vi" in the Main.vi of your DQMH module
Well, it sound a littlebit complicated and strange. But something magical happens with these little VIs. Try it and let me know! 😉
=> These little changes allow you to register events of already started PPL modules in non PPL modules.
=> Hint: all Helper_xxx.vi can be stored outside of the DQMH module. The Wrapper_xxx.vi are members of the DQMH modules
Cheers and have fun
Claude
12-05-2022 09:02 AM - edited 12-05-2022 09:05 AM
added "Never, ever use Error Rings and XNodes!" because of the learnings from Darren Nattinger
=> Thanks for sharing!
https://www.youtube.com/watch?v=HKcEYkksW_o&ab_channel=GDevConNA