LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to associate a .fp file with a .lib file?

Solved!
Go to solution

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. 

0 Kudos
Message 1 of 3
(3,144 Views)
Solution
Accepted by topic author tstanley

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

Message 2 of 3
(3,132 Views)

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!

0 Kudos
Message 3 of 3
(3,115 Views)