DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer VIEW to Report

I have rather large files and I am looking for ways to cut down on processing time. The major problem is that I have 60+ page view files that I want to transfer to into report files. Doing this with the transfer to report tab, ie one page at a time, is a pain. Is there a way to transfer all the pages of a view at one time. If this requires script is there a way I can take a look at the default transfer script in Diadem so I can get an Idea of where to start. Also if anyone already has a script that sets all the axes on a single page in a report file to the same scale please pass it along.
0 Kudos
Message 1 of 4
(4,493 Views)

Hi Ed,

Please humor me and take a step back and describe what you're trying to accomplish.  It is certainly straightforward enough to set the axes of all the graphs in a given sheet to the same start and stop X values, and if you want to do this based on the band cursors on the corresponding sheet in VIEW, I would definitely recommend doing that instead of transferring 60 sheets from VIEW to REPORT.  You will have much more flexibility in the appearance of the REPORT sheets if you can configure those in REPORT and not rely on what gets transferred from VIEW.

Also, if all the sheets look about the same in their layout of objects, but the data or the axes scaling differs from sheet to sheet, then I would recommend that you load the same TDR file 60 times (in append mode) instead of creating a 60 page TDR file.  The VBScript that loads each REPORT sheet can re-route the channel references to the appropriate Data Portal group after the sheet has been appended into REPORT.  This way if you want to tweak color or positioning of one of the REPORT objects, you can do it on only 1 sheet and have that change automatically occur on all 60 appended sheets.

Brad Turpin
DIAdem Product Support Engineer
National Instuments

0 Kudos
Message 2 of 4
(4,480 Views)
What I want to accomplish:
1. I have already assembled the data that I need into a tdm file of about 130 groups. All of this data needs to be compared.
2. I have used the tdv files to compare the data and arrange it so that it is the easiest to look at. This consists of 60 sheets of data with each sheet having a different layout.
3. I want to take the tdv file that I have and transfer it into a tdr file so that I can add the presentation material. Titles, legands, etc. before finally exporting to pdf.
As you know the transfer from VIEW to REPORT only transfers one page at a time which is tedious to do with such a large file. I am looking for a method to transfer the tdv file into a tdr file with one click, similar to the way that the PDF export transfers a tdr file to a pdf file. It would also be helpful if in this transfer the names of each sheet on the tdv file appeared in the tdr file but not necessary.

The second part of my question is that I wanted to set the X and Y axis on a single page to the same values at the same time. In some of my smaller files I will have 8 graphs on a single page and would like to set the axes to some paticular value for all eight. At the moment I am opening up the proporties window and changing each graph one at a time.

For either issue its a matter of reducing the time it take me to work with large files that already exist. I can try appending tdr files in the future but it would be really helpful to be able to use the band and frame zooms in VIEW to first look at the data and then just be able to transfer that whole tdv file into the REPORT for the final touches.
0 Kudos
Message 3 of 4
(4,474 Views)
Hey Ed,
Yes, there is a way to transfer all pages to a report via script. Here's an example of what the resulting script looks like.

Dim oMySheet
For Each oMySheet in View.Sheets
  oMySheet.Activate
  Call ScriptStart(Programdrv & "Resource\VWServices","VWTransViewRep",0)
Next

The scriptstart line is also logged in teach in mode, so it is a self documented command.

Hope this helps!

Lars

0 Kudos
Message 4 of 4
(4,399 Views)