CalculatedChannel Fields
- 更新时间2023-02-21
- 阅读时长3分钟
The CalculatedChannel type exposes the following members.
| Name | Description | |
|---|---|---|
| Acceleration | The acceleration function calculates the acceleration and velocity of the channel you specify. The calculated channel stores the acceleration value. The channel you specify when you configure the calculated channel stores the velocity. | |
| Average | The average function calculates the average value of the channel you specify every n points. | |
| Conditional | The conditional function uses an if/else statement to check the channel you specify for the condition you specify and return the appropriate value. | |
| Formula | The formula function calculates the result of the formula you specify. | |
| LowpassFilter | The lowpass filter function applies a lowpass Butterworth filter to the value of the channel you specify. | |
| Maximum | The maximum function compares two values and returns the larger value. | |
| Minimum | The minimum function compares two values and returns the smaller value. | |
| PeakAndValley | The peak and valley function calculates the peak, valley, and offset of a cyclical waveform on the channel you specify. The calculated channel stores the peak value. The channels you specify when you configure the calculated channel store the valley and offset values. |