====Count Module==== The **Count** [[analytic_modules|analytic module]] is used to totalise a value or count events, resetting the counter based on a specific 'pivot'. For example, you might want to calculate the total amount of product made per **day**. They're often used for analysing production based on periods of time, such as **days**, **shifts** or **year-to-date**. You can also use information such as the **batch number** or **product type**. ===Starting Out=== When you first create a new counter, you'll see the [[graph|graph]] below... {{start_counter.png}} The node on the top-right is a [[counter_pivot|Pivot]] node. All of the values in the analytic are grouped by the value you feed into this node. If you want to split your values into daily totals, use an [[timing_diff|Time Difference]] node. You can also pivot by events with an [[ardi_eventname|ARDI Event Name]] node. The node on the bottom-right is an [[counter_output|Counter Output]] node. This represents a channel of data that will be totalised or counted. There are several different types of counter, depending on exactly what you want to do. For example, if you wanted to see the different speeds your machine ran at on different days of the week, you'd connect //Day of the Week// to your **Pivot** node and //speed// to the **Output** node. ===Module-Specific Nodes=== [[counter_pivot|Pivot]] \\ [[counter_totaliser|Total Output]] \\ [[counter_change|Change Count]] \\ [[counter_rate|Rate Output]] \\ ===Examples=== [[example_counter_daily|Daily totals from a machine counter]] \\ [[example_counter_changes|Count the number of times a machine changed state]] \\ [[example_counter_rate|Calculate the energy used for each shift]] \\