Read Endpoint

Requires: Base Development System

Reads the sum of values from an Accumulator Tag channel and optionally clears the value after the endpoint retrieves the current sum.

You can drop this endpoint on the block diagram by right-clicking an Accumulator Tag channel terminal or wire and selecting Create»Channel Reader»Accumulator Tag»Read.

Details  Example

clear specifies whether to clear the accumulator or not. The default is TRUE.
channel is the channel wire that connects this endpoint to a writer endpoint.
average specifies whether to read the average of the elements from the channel or not. The default is FALSE.
element returns the data that this endpoint reads from the channel if average is FALSE. If average is TRUE, this output returns the average of the data from the channel.
count returns the number of times that the value of the channel has been updated since the last time the channel was cleared. This output returns its value even if the channel has aborted.

Read Details

Related Information

Write

Example

Refer to the Channel - Accumulator Tag.lvproj in the labview\examples\Channels\Accumulator Tag directory for an example of using the Read endpoint.

 Open example  Find related examples