DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

New Report - Channel Reference and Expand Curves

Solved!
Go to solution

When creating a new report template, we found that the y and x references are channel number based even with expand curves enabled. In DIAdem Settings > General the Name-oriented channel references has the Syntax set to [Group index]/Channel name. The graphic next to that shows [1]/ChnName, as expected. 

 

Adding a new plot and adding a channel the Y-Channel reference shows as 1  [1]/Channel and the name can not be edited to be */Channel to expand across all groups. We can not track down exactly when this changed, but we think it was when we switched to 2017.

 

We have been using old templates built in an older version of DIAdem that were already in name oriented, so this was an non issue. Now we have new users that are starting to make their own report templates, which is where this issue came up. We have been able to confirm this problem on several machines, all using DIAdem 2017 and with or without service pack 1.

 

I was able use the code below to change the report to name based, because I did not see an option in the user interface.

Report.Settings.UseChannelReferenceByName = True

 

Is this a known issue? Is there a way to fix this setting to name based other than running a script during every startup?

 

0 Kudos
Message 1 of 7
(2,712 Views)

Hi Brian,

 

I've combed through a few of the most recent DIAdem release notes and haven't found any explicit mention of this behavior. That being said, I'll do some more internal searches in case I do find any open or pending Corrective Action Requests

0 Kudos
Message 2 of 7
(2,679 Views)

Hi BrianCT,

 

For a long time – at least since DIAdem 2012 - we support the name-oriented mode in REPORT as default. I didn’t hear similar things from other customers, so I think it is a question of the DIAdem configuration.
One option in this context is the icon “New layout”. If you push it, you don’t just delete the current content of REPORT. This function loads a template layout which is stored beneath the DIAdem program folder in “libr/documents”. If this layout contains the number-oriented mode, it would explain the behavior.

 

Greetings

Walter

0 Kudos
Message 3 of 7
(2,670 Views)

Walter,

 

In 2015 we did not see this issue and this is where we created most of our reports and templates to create reports. Only recently new members have started to create templates from scratch using 2017, which is when this configuration problem cropped up.

 

We are able to replicate this issue across several machines running 2017 by pressing the "New Layout" icon. I looked through all the setting in the user interface and can not find anything that would help clear this up.

0 Kudos
Message 4 of 7
(2,665 Views)
Solution
Accepted by topic author BrianCT

Please can you check whether you see in the “DIAdem Settings” for “REPORT” in the parameter “Template” the file named “Template”, as first step?

If there is no file, please load the file “Template.TDR” in “… <DIAdem program folder>\libr\documents\” and test it again.

If you see “Template”, please close “DIAdem Settings” and load the layout “Template.TDR” from the folder above, check whether the mode channel reference by name is set:

msgbox Report.Settings.UseChannelReferenceByName

 

If this is false, please run the command

Report.Settings.UseChannelReferenceByName = true

 

Save the layout in the folder above and check whether the behavior still exists.

Greetings

Walter

0 Kudos
Message 5 of 7
(2,663 Views)

Loading the default file worked. 

 

Why do we have to use that template, when the name or index syntax is in the general settings tab?

0 Kudos
Message 6 of 7
(2,645 Views)

We have two reasons for this. One is to be compatible to former (very old) DIAdem versions. But I this this is obsolete since DIAdem 2018. And the second reason is to be able to have an own (company) designed Layout as default in case of creating a new layout.

Greetings

Walter

Message 7 of 7
(2,638 Views)