LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change name in Append_Front_Panel_Image_To_Report

I want to change the name of the jpeg image that is saved when using the following VIs:
- Append_Front_Panel_Image_To_Report
- Append_Control_Image_To_Report
because it seems the name is randomly created and i would have the possibility to ask the user to enter a name like "Image1-Report..."
Thanks
0 Kudos
Message 1 of 2
(2,570 Views)
Hello Frederic,

You can change the jpeg image filename by modifying the block diagrams of both the Append Front Panel Image to Report.vi and the Append Control Image to Report.vi. To do this, double click on either VI to open up its front panel and go to its block diagram. Both block diagrams have a large case structure and the code within the Standard Report and HTML cases can be modified to change the image�s filename. Right underneath the comment that says "Builds a unique filename" there is a Format Into String.vi. You can simply modify the input parameters of this VI to change the filename. I am attaching a small VI as an example for how you will need to modify this code.

I hope this helps.
Jyoti F.
National Instruments
0 Kudos
Message 2 of 2
(2,570 Views)