I recently starting exploring the option of using the Labwindows PID toolbox instead of my own out of interests sake. I ran some examples fine. When I implemented it in my own application I've included the following header files
#include <windows.h> #include "PID.h" #include <utility.h> #include "asynctmr.h" #include <udpsupp.h> #include <ansi_c.h> #include <formatio.h> #include <cvintwrk.h> #include <userint.h> #include <rtutil.h> #include <errno.h>
Even though I've included PID.h it gives an error
The following include statements are needed in "myfile.c".
#include "PID.h"
Do you want to add them after the include statement for windows.h?
I've obviously included it but wonder if I don't have something set up correctly in my environment. I should also note this is being run on a Real-Time Target. The seemingly unnecessary included headers are there because I have a file that is compiled in both windows and LVRT and handled with #if _LINK_CVI_LVRT_ directives.
I provided the activation key earlier yesterday and have rebooted the system. I can run the examples just fine. Any thoughts or ideas?