02-04-2010 02:37 AM
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?
Solved! Go to Solution.
02-04-2010 10:06 AM
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