Unable to use Exact in TimeDetailing in ElasticReport

Forum Home Forums Installation Issues SCADA-Web Installation Unable to use Exact in TimeDetailing in ElasticReport

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #18171
    kcks66
    Participant

    Hi Mikhail,

    My machine with Webstation version is 6.2.0.3 and install with plg_elastic_report_6.1.0.0_en. As topic I get into error when use Exact. When I change to use Day then can open up success.

    I copied the xml file to load from another machine Webstation version is 6.2.3.0 and install with plg_elastic_report_6.1.2.0_en, it can open up success. Below is the xml which success.

    https://ibb.co/TXZpWSq

    Is it Webstation version 6.2.0.3 and plg_elastic_report_6.1.0.0_en not support Exact?

    <?xml version=”1.0″ encoding=”utf-8″ ?>
    <ElasticReport>
    <!– Input form options –>
    <InputOptions>
    <!– User can select report period –>
    <SelectPeriod>true</SelectPeriod>
    <!– User can select archive –>
    <SelectArchive>false</SelectArchive>
    <!– User can select channels –>
    <SelectChannels>false</SelectChannels>
    <!– User can select output format –>
    <SelectFormat>true</SelectFormat>
    <!– Defines how the period is entered. Possible values: SingleDate, SingleMonth, DatePeriod, DateTimePeriod, MonthPeriod –>
    <PeriodControl>SingleDate</PeriodControl>
    <!– Maximum report period in days –>
    <MaxPeriod>31</MaxPeriod>
    <!– Default archive code –>
    <DefaultArchive>Min</DefaultArchive>
    <!– Default output format: Pdf, Xlsx, Html –>
    <DefaultFormat>Xlsx</DefaultFormat>
    </InputOptions>

    <!– Output options. Page format and orientation only work for PDF –>
    <OutputOptions>
    <!– Page format: A0, A1, A2, A3, A4, A5, A6, B5, Letter, Legal, Ledger or P11x17 –>
    <PageFormat>A4</PageFormat>
    <!– Page orientation: Portrait or Landscape –>
    <Orientation>Landscape</Orientation>
    <!– Specifies custom report styles –>
    <StyleSheet></StyleSheet>
    </OutputOptions>

    <!–
    Report document consists of sections. Section is a separate block of displayed data.
    Section contains elements such as a table, columns, rows, and cells.
    Section working period is based on the specified report period and shifted according to the section data options.

    Element attributes are inherited from an element to its children and applied to suitable elements.
    The following element attributes are supported:
    * cnlNum – channel number,
    * cnlIdx – channel index if channels are specified as input parameters,
    * calcType – calculation type,
    * calcSum – whether to calculate a sum of a column or row,
    * calcAvg – whether to calculate an average of a column or row,
    * calcMin – whether to calculate a minimum value of a column or row,
    * calcMax – whether to calculate a maximum value of a column or row,
    * colStyle – column style,
    * rowStyle – row style,
    * cellStyle – cell style.

    Table attributes:
    * border – whether to display table border.

    The possible values of the calcType attribute:
    * Val – the value of the bound channel at the processed timestamp,
    * FirstVal – the value at the first timestamp of the working period,
    * LastVal – the value at the last timestamp of the working period,
    * Diff – the difference between the values at the processed and previous timestamps,
    * DiffNext – the difference between the values at the next and processed timestamps,
    * Const – the constant value to insert in the corresponding cell,
    * Formula – the formula to insert in the corresponding cell, supported only by Excel.

    Style names follow the rules:
    Column style name must be in the form “col-*”.
    Row style name must be in the form “row-*”.
    Cell style name must be in the form “cell-*”.

    Variables can be used inside an element name and inside a constant value.
    The following variables are supported:
    {CnlNum} – channel number,
    {CnlName} – channel name.
    –>

    <Document>
    <DocumentOptions>
    <!– Heading of the report –>
    <Heading>Machines Utilisation Report</Heading>
    <!– Show or hide heading –>
    <HeadingVisible>true</HeadingVisible>
    <!– Set text color depending on channel status –>
    <UseStatusColor>true</UseStatusColor>
    </DocumentOptions>

    <!–
    Section of TimeData type.
    Supported calculation types: Val, Diff, DiffNext, Const, Formula.
    –>
    <Section type=”TimeData”>
    <SectionOptions>
    <!– Unique section ID. Use Latin characters without spaces –>
    <ID>Section1</ID>
    <!– Subheading of the section –>
    <Subheading>Plating Machines</Subheading>
    <!– Show or hide subheading –>
    <SubheadingVisible>true</SubheadingVisible>
    <!– Start the section on a new page –>
    <PrependPageBreak>true</PrependPageBreak>
    </SectionOptions>

    <DataOptions>
    <!– Prepend additional time before the report start time –>
    <PrependTime>0:00:00</PrependTime>
    <!– Append additional time after the report end time –>
    <AppendTime>23:59:59</AppendTime>
    <!– Skip the first timestamp from output –>
    <SkipFirst>true</SkipFirst>
    <!– Skip the last timestamp from output –>
    <SkipLast>false</SkipLast>
    <!– Defines how timestamps are enumerated. Possible values: All, Step, Hour, Day, Month, Exact, BeginEnd –>
    <TimeDetailing>Exact</TimeDetailing>
    <!– Time step –>
    <TimeStep>0:00:00</TimeStep>
    <!– Times of day separated by commas –>
    <ExactTimes>7:14</ExactTimes>
    <!– Defines how the date and time column is displayed –>
    <ShowDatesOnly>false</ShowDatesOnly>
    </DataOptions>

    <Table border=”true”>
    <ColumnGroup name=””>
    <Column name=”PD4 Line A” cnlNum=”5512″ calcType=”Val” calcSum=”false” calcAvg=”false” calcMin=”false” calcMax=”false” />
    <Column name=”PD4 Line B” cnlNum=”5514″ calcType=”Val” calcSum=”false” calcAvg=”false” calcMin=”false” calcMax=”false” />
    </ColumnGroup>
    </Table>
    </Section>
    </Document>
    </ElasticReport>

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.