LabVIEW Electrical Power Toolkit API Reference

Table of Contents

To Integral Cycles VI

  • Updated2023-02-21
  • 3 minute(s) read

To Integral Cycles VI

Owning Palette: Advanced VIs

Requires: Electrical Power Toolkit

Divides the voltage and current signals into integral-cycle data for power measurement, according to the trigger times that you specify.

If you set the minimum fundamental frequency too low or set the transition band too narrow in the Reference Signal Processing (Zero Crossing) VI, this VI requires a large amount of memory to process the voltage and current signals.

Example

reset? specifies whether to reset building integral-cycle data. The default is FALSE. When you call this VI for the first time, the process resets automatically.
data in specifies the voltage or current signal.
t0 specifies the start time of the waveform.
dt specifies the time interval, in seconds, between data points in the waveform.
Y specifies the data values of the waveform.
trigger information specifies the trigger time and the number of triggers in each cycle that this VI uses to divide the voltage or current signal into integral cycles.
trigger times specifies the time, in seconds, when triggers occur. trigger times must be synchronous with data in. You can use zero crossing times that you calculate with the Reference Signal Processing (Zero Crossing) VI as trigger times for this VI. You also can use the pulse times that a tachometer generates as trigger times for this VI.
triggers per cycle specifies the number of triggers in one cycle of the voltage and current signals. The default is 2.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
integral-cycle data returns the integral-cycle data for electrical power measurement.
t0 returns the start time of the waveform.
dt returns the time interval, in seconds, between data points in the waveform.
Y returns the data values of the waveform.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Advanced Power Measurement (DAQmx) VI in the labview\examples\Electrical Power\Power Measurement directory for an example of using the To Integral Cycles VI.

Log in to get a better experience