Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Duty Cycle VI

LabVIEW 2012 Jitter Analysis Toolkit Help

Edition Date: June 2012

Part Number: 373270B-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Timing VIs

Requires: Jitter Analysis Toolkit

Measures the percentages of the times that cycles in a waveform occur above and below the level at which a crossing occurs. This measurement is known as the duty cycle, or duty factor, of the waveform.

level crossings contains information about the locations of level crossings in the original waveform. You can use the Level Crossing VI to generate this cluster.
t0 specifies the time at which the first sample occurs in the original waveform.
dt specifies the time interval in seconds between the individual samples in the original waveform.
indexes contains the index numbers of the samples in the waveform with values that fall at the crossing level.
slope identifies the direction of the first transition in the waveform.

-1Falling Edge—Specifies the transition is a falling edge, or one with a negative slope.
1Rising Edge (default)—Specifies the transition is a rising edge, or one with a positive slope.
crossing level specifies the value of the waveform at each of the samples in indexes.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
rising/falling specifies the direction of the transition at which to begin the measurement. This VI begins measuring at the first transition of that direction in the waveform.

–1Falling Edge—Specifies to begin measuring at the first falling edge in the waveform.
1Rising Edge (default)—Specifies to begin measuring at the first rising edge in the waveform.
+ duty cycle sequence returns an array of the percentages of the time the cycles remain above the crossing level. LabVIEW calculates the value using the following equation:

- duty cycle sequence returns an array of the percentages of the time the cycles remain below the crossing level. LabVIEW calculates the value using the following equation:

sequence timestamps returns timing information about the waveform that allows you to identify the times at which measurements in the corresponding sequence occur.
t0 returns the time at which the first sample occurred in the original waveform.
dt returns the time interval in seconds between the individual samples in the original waveform.
indexes contains the index numbers of the waveform samples that fall on the crossing level and mark the transition of a cycle from the direction specified by rising/falling to the opposite direction.
error out contains error information. This output provides standard error out functionality.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit