03-01-2011 03:28 PM
I have TestStand 3.1, LabWindows/CVI 7.1. When I select Specify Module I want to get function help located between the Function Name and Reload Prototype, the ? button is grayed out. I have a .hlp file. From within LabWindows I go to the Function Tree of my function panel. Next I select Options > Transfer Window Help To Function Help. I depressed Yes got a dialog box that said Help text transferred 0 out of 157 windows. Can someone point me to the error in my ways?
Tony
03-02-2011 05:20 PM
Hi Tony,
I believe that in order to add a help file to your .dll, you will need to do so under Build >> Target Settings. Once the Target Settings window has opened, select "Type Library". In the pop-up window that appears, select "Add type library resource to DLL" and "Include links to help file". When you rebuild your .dll, it should include the necessary .hlp file.
Hope this helps!
Regards,
Stephanie R.
National Instruments
03-03-2011 07:48 AM
Stephanie, this did not solve my problem. Can you give me more direction? I can see the help in the function panel but not in TestStand. Thanks.
03-03-2011 11:56 AM
Hi Tony,
Once you have created the help files for your functions, you need to include them in your .dll build. You can do this through the Type Library settings under the Target Settings dialog box:
Now, you should be able to see the help through TestStand when you call into your functions. One thing I would suggest is to check and make sure that the .hlp file has the same name as the .fp file. You should also check to make sure that they are located in the same directory.
In TestStand, when you specify your module pathname and function, the Module window should look like this:
If your function help is showing up fine when you right click in your function panel, then this should do the trick to import it into TestStand. Hope this helps!
Regards,
Stephanie R.
National Instruments