DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Parametrize Reports automatically in Diadem Script

Solved!
Go to solution

Hello first my Prolem:

 

I have a huge TDMS file with series of measurements. 

I made several REPORT templates such as title, measurement set, overview and so on.

 

Now i wrote a script, which first loads a data file, then generates the title and after that it should generate a measurement set page for all measurements. For that i wrote a for loop over the amount of all channel groups so thats not the problem. But how can i force the system to put the right data into the template?

 

Second problem: How can i generate ONE pdf document of all generated pages? 

0 Kudos
Message 1 of 2
(3,454 Views)
Solution
Accepted by topic author kappesf

Hi kappesf,

 

I"m going to need to ask you for more information.  Are you saying that you made several separate *.TDR files, one for the title, one for the measurement set, etc.?  Are you then saying that you load each of these *.TDR files one after another-- with each *.TDR file replacing the previous one in REPORT?

 

What data do you want to force into the template correctly?  Why can't you just reference the data you want to display in the template with standard Group/Channel strings and property names?

 

You have two choices on the PDF front.  The first option is to continue to load portions of the REPORT from separate *.TDR files with PicLoad and use the DocStart and DocEnd commands to spool them all to the same PDF print process.  The second option is to use PicFileAppend instead to load all the REPORT sheets into REPORT at once and use the regular PicPDFExport command to create the PDF file.

 

Hope to hear back from you on these questions,

Brad Turpin

DIAdem Product Support Engineer
National Instrument

0 Kudos
Message 2 of 2
(3,446 Views)