Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Generate pdf from labview using DIAdem

2 views
Skip to first unread message

SCMAJA

unread,
Aug 5, 2008, 7:10:10 AM8/5/08
to
HiI am trying to generate a report (pdf) using DIAdem in LabVIEW 8.5, but I can't get the the template that I generate myself, to work properly. I have some data (attached in the VI), which is a table with 3 rows, 1st: sample no, 2nd: frequency, 3rd: result.What I need on my report is1) The frequency plottet along the x-axis (equally spaced), and the result plotted along the y-axis (it's percent (%), so they really has to be multiplied with 100, so the y-axis should go from 0-100)2) A table below with 2 rows, 1st: frequency, 2nd: result3) Some extra information about who conducted the experiment, date and so on.I have tried and make something like it, which you can see in the attached pdf Data.pdf.I am all new in DIAdem, so can someone please help me make this template, I can't get it to work properly. I can't turn the table, so I get two columns instead of two rows, and I can't get the graph to plot the data as I want to.Hope to hear from someone soon, today if possible, thank you very much.Best regardsSimonLV 8.5


diadem_report_gen.zip:
http://forums.ni.com/attachments/ni/60/9130/1/diadem_report_gen.zip

Brad Turpin

unread,
Aug 6, 2008, 9:10:09 AM8/6/08
to
Hi Simon,
I edited both your VI and the TDR file, and now I believe it does what you want.  I actually created 2 TDR layout files, one in portrait mode with the table as columns and the other in landscape mode with the table in rows.  Note that the "Text values" control on the front panel now wires in the descriptive text fields dynamically to the bottom section of the report.
Ask if you have further questions,Brad TurpinDIAdem Product Support EngineerNational Instruments


diadem_report_gen_edited.zip:
http://forums.ni.com/attachments/ni/60/9136/1/diadem_report_gen_edited.zip

0 new messages