Dear Bilal,
I have tested the example and found that it works. I compared the example with our code and detected some differences:
1. In our code we have following includes
#include "pwctrl.c"
#include "toolbox.c"
the example uses
#include "pwctrl.h"
instead.
2. In the example project the is pwctrl.fp included.
If I change our project to use the same includes and project settings it works.
One reason for this situation maybe is:
We started the project with CVI 5.0.1 and didn't change our sources by upgrading to CVI 5.5.1. Maybe there were some upgrade notes concerning this issue but my developer has them ignored.
Thanks for your help,
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions