10-08-2010 12:44 PM
I have a report generation .vi that reads in multiple graphs and appends the "picture" to the .html report. Is it possible to control how LabVIEW names the resultant graph .png?
I'ver attached a picture of the code snipet and the auto generated file.
Thanks!
Solved! Go to Solution.
10-11-2010 09:13 PM
Could you post your entire VI?
Thanks,
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments
10-12-2010 10:54 AM
Hi Patrick,
Attached is the .vi.
Thanks!
10-13-2010 10:11 AM
Hello,
The naming convention is designed to ensure no conflicts are generated as this Report Generation Class is called. Below, I have attached a screenshot of the functionality that defines the images names.
You can view this block diagram by double-clicking and opening the report generation tools. While you are free to modify this class to implement a new naming schema, I must insert the disclaimer that this process may have ill-effect on additional functions int he report generation toolkit. As you can see in this code the names are randomly generated, and applied based on a randomized number. You might look into implementing a system that gets the control label from the input control reference, and builds the appropriate file path for the PNG images.
I very much appreciate your time. Please post any additional questions.
Sincerely,
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments