07-01-2021 02:45 AM
Hi
I am in the testing phase of my project and I encountered many synchronization and debugging errors in a clone module for XNET communication on a real-time CRIO target.
so my question, is it possible to run multiple instances as singletone? i know the option exists for windows testers? can I do the same on a CRIO?
07-01-2021 03:03 AM
Hello Hichem,
you can definitely run your cloneable module as a singleton, but if your goal is to debug it on your RT target it will not help because the option is only made to ensure only one instance of the module is running at a given time. The main.vi is still reentrant so you can't probe it.
My advice in this situation is:
Debugging RT applications is still challenging 😉
Note 1: that there is also a feature request related to debugging DQMH modules on RT here --> https://forums.ni.com/t5/DQMH-Consortium-Toolkits-Feature/Simple-Tools-for-helping-RT-debugging-DQMH...
Note 2: If your issues come from synchronization between multiple instances making your module a singleton is not going to help a lot...