Hello,
I am creating a test sequence and a CVI code module that will provide various pop up type UI's (menus and whatnot) that will be called from the test sequence. When I use the "Create Code in module" capability it starts a new CVI project and inserts the adapter specific tempate funtion into the C source code. My problem is when I add a UIR to the new CVI project to develop the UI's I want to call. When I do that it overwrites the exported function prototypes in the UI project header file that were added by the "Create Code in module" calls. The new header file comment includes the admonition "WARNING: Do not add to, delete from, or otherwise modify the contents of this include file. ". I can add the function prototypes back into the header file to export those funtions (to be called by the test sequence once more) but any time I touch the UIR file to modify the panels or UI components, it writes over the header file again.
I tried adding a second include file to the UI CVI project to export the functions out of the DLL but that does not work. I imagine there is something basic I am missing but I can't find much guidance in the CVI documentation. I don't get the automatically updated header file in a stand-alone CVI project that uses a DLL to store UI components (e.g. the simple.cws example project provided with LabWindows CVI).
I can keep manually adding back the functions I want to support to the include file but it is a pain.
Using LabWindows CVI 2013 and testStand 2013.
Thanks
Ron In SD