LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Reports

Hi,
 
I am trying to generate small reports. I searched and try in the available functions, but I don't get what I want.
 
By example, let's say I have a Matrix (I enter data) and a Graphic (acquire by a card like Voltage Vs Time).
I want to generate a report with it....
 
I would like to see like:
--------------------------------------------
Matrix1:
[data1 data2 data3...] ...
 
Voltage VS Time:
[Graphic]
--------------------------------------------
 
Is that possible to do in a VI program?
 
Thank you very much,
 
Jack
0 Kudos
Message 1 of 17
(4,534 Views)

Hi Jack,

yes, you can use the report generation toolkit to do it. There are vi`s to write data and add pictures.

Mike



Message Edited by MikeS81 on 01-26-2008 01:46 PM
0 Kudos
Message 2 of 17
(4,529 Views)
Hi,
Thank you for this information.
 
I was looking blindly!
 
I was only looking at the Report option who only let's 2 graphic.
And I was thinking we had to pay for the toolkit, but that's another one...
 
Thank you very much,
 
Jack
 
0 Kudos
Message 3 of 17
(4,522 Views)

Hi,

I found everything except for the graphics or chart...

I found how to put a table, a list, text, images, but not graphic or chart.....is it possible?

Thank you,

Jack

0 Kudos
Message 4 of 17
(4,517 Views)
Hi Jack,
 
you can create a picture from your Graph or Chart using a property node of it. This picture can you add then to your report.
 
Mike
0 Kudos
Message 5 of 17
(4,511 Views)
Hi,
 
Thank you, but i'm not sure how to do the property node...
 
And what if my graph does't come from an acquisition but is created by me?
 
Thank you,
 
Jack
0 Kudos
Message 6 of 17
(4,509 Views)

Hi Jack,

i check it and saw it is a method. I attach a picture of it. First you can write your data to the graph or chart and then you can create your picture.

Mike

0 Kudos
Message 7 of 17
(4,506 Views)

Hi,

Thank you, it seems to work,

But for it to work, I think I am in the obligation to save the picture file...is there a way not to?

Thank you,

Jack

0 Kudos
Message 8 of 17
(4,503 Views)

Hi

if you create a html report you have to save the picture and need the picture, because you only referencing to the picture, but if you create a standard report you only need the picture file temporary.

You can see the differences by opening the "Append Control Image to Report.vi".

Mike

Message 9 of 17
(4,499 Views)
Hi Jack,
 
Mike is right. For an HTML report, the VI embeds a link to an image into the report. For a standard report, the VI appends the image from a file. This is for the Append Image to Report.vi. For the Append Control Image to Report.vi, it creates an image of the front panel object specified in ctrl reference and appends it to a report. For an HTML report, the Append control image to report.vi saves the image file to the temporary directory and adds a link to the image file in the report. For a standard report, the VI appends the image to the report. You may also want to look at the examples in the NI Example Finder. In particular, the PrintControlExample VI.  I hope this helps!
 
Carla
National Instruments
Applications Engineer
0 Kudos
Message 10 of 17
(4,433 Views)