LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

nireport.fp

Hello. I am having a little trouble generating a report in LabWindows/CVI. I can run and print the sample reportgen and everything looks fine. But, when I try to load the nireport.fp, it's not in the sample directory. I included nireport.h in my program and I can access the functions such as NIReport_New and NIReport_SetReportAttribute. My code compiles fine, but when I go to run it, the following errors occur. 2 Project Link errors. Undefined Symbol '_NIReport_New@4 and Undefined Symbol '_NIReport_SetReportAttribute
I'm not exactly sure what to do here. I used the legend.fp with legend.h and that worked just fine. Any suggestions would help a ton. Thanks.

Jason
0 Kudos
Message 1 of 3
(3,916 Views)
Jason,

I think that the only thing missing here is to include the fp file in your project. You can find the fp in:
C:\Program Files\National Instruments\MeasurementStudio\CVI\toolslib\reportgen
if you have CVI 7.0 you'll find it in:
C:\Program Files\National Instruments\CVI70\toolslib\reportgen

The project compiles fine because you have the h file included, but the fp file has the .obj and/or .lib files needed for the linking process.

I hope this helps, but let me know if you have any other questions.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 3
(3,916 Views)
Thanks for your help. The code works fine now.
0 Kudos
Message 3 of 3
(3,916 Views)