subtract number of minutes from Peak_BeginTime in OpenLab Report designer

Dear All,

I would like to automatically scale each chromatogram to only show the area where peaks are present.  I managed to modifiy the rear part of the chromatogram by the function "Peak_EndTime+3" (under Chromatogram Properties and Time Axis). However I couldn't mange to truncate the chromatogram in the front by e.g. giving the function "Peak_BeginTime-3". The chromatogram always ends up beginning at - in this case - "-3" minutes. What am I doing wrong? What would be the right synthax for subtracting a number from a function like "Peak_BeginTime" oder "Peak_RetentionTime" etc. I tried various forms of brackets etc....without success.

Thanks in advance for your help

Martin

Parents
  • Hello,

    You will need to use the Min and Max aggregates (i.e. =Min(Peak_RetentionTime) - RTWindow) to get the values you want, since all the peaks are available in the object. See the screenshots below for an example. Also, you will need to add a filter to remove peaks with no RT so that 0 is not use for the Min value. In the example, I subtract a report parameter value to make it easier to update if needed but that can be replaced with a static numeric value.

    Marty Adams

Reply
  • Hello,

    You will need to use the Min and Max aggregates (i.e. =Min(Peak_RetentionTime) - RTWindow) to get the values you want, since all the peaks are available in the object. See the screenshots below for an example. Also, you will need to add a filter to remove peaks with no RT so that 0 is not use for the Min value. In the example, I subtract a report parameter value to make it easier to update if needed but that can be replaced with a static numeric value.

    Marty Adams

Children
Was this helpful?