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
tart 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
Updated and extended...
Updated (Pre-Postbuild / Application settings)
Added Main application settings
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!
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
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