LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NIR_ERR_InvalidImageFile: .emf ??

Using SaveCtrl... or SavePanelDisplayToFile to generate an image file,
I got a "NIR_ERR_InvalidImageFile" when I try to append this image file
with the NIReport_AppendImageFile.
How can I use this function if I can only save a ".bmp" image file using
the SaveCtrl... or SavePanelDisplayToFile ?
I didn't find any other way to save the image file in the appropriate
".emf" format.

Does anyone know how to convert the ".bmp" file or to bypass this
problem ?
Thanks for help,
Fred.
0 Kudos
Message 1 of 2
(2,941 Views)
There is no functionality in CVI to convert a .bmp of a control or panel to a .emf. Unfortunately the version of NIReports that comes with CVI 5.5.x and earlier only support .emf files with the AppendImageFile function. This however has been addressed in the latest release of CVI 6.0 and its updated version of the NIReports library so that the AppendImageFile function now supports .emf, .bmp, .gif, and .jpg.

Jason F.
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(2,941 Views)