04-17-2012 04:16 PM
Hi,
How do I associate an .fp that I create in CVI with a .lib file (i.e. not a .c file) so that I can create a function panel to go along with an external library that I can distribute to others through a .dll? The help file seems to hint that this is possible, but I haven't figured out how to do it. Any pointers?
Thanks.
Solved! Go to Solution.
04-18-2012 12:10 PM
That association happens automatically: if you have a .lib file with the same name as the .fp file, in the same location as the .fp, CVI will use the .lib file as the program file of the .fp, even if there is also a .c file of the same name.
You can confirm what program file is attached to the instrument by selecting Edit Instrument from the context menu of the instrument in the Instrument tree of the workspace window, and then clicking the Show Info button.
Luis
04-19-2012 09:20 AM
Hi LuisG,
I didn't realize that the function panel sets up its associations based upon the file names, but that's what I was doing wrong and once I changed the name of the .fp file in the "Generate Function Tree" window to match the .lib file it worked as you said. Thanks for the help!