LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"create analog signal" programmatic control of parameter Duty Cycle

Solved!
Go to solution

I need to generate a square wave with a programmable duty cycle in LabView (not SignalExpress).  I can use "Create Analog Signal" for a fixed duty-cycle signal but I cannot figure out how to get at the Duty Cycle parameter to change it programmatically.  I was hoping for something like Property Node access but found that this only works for front panel objects.

 

Is there a way to dynamically change the Duty Cycle parameter in the "Create Analog Signal"? 

0 Kudos
Message 1 of 5
(2,700 Views)
Solution
Accepted by topic author wildcatherder
Fortunately, I found the Square Wave.VI, which as accessible inputs for things like duty cycle, amplitude, frequency, phase in and phase out - all the parameters of my heart's desire.
0 Kudos
Message 2 of 5
(2,694 Views)
ALMOST all the parameters my heart could desire - there is no Offset parameter.  I have to add a constant to the wave.
0 Kudos
Message 3 of 5
(2,682 Views)

The Square Waveform vi found in Signal Processing - Wfm Generation has an input at the top for offset.

 

Offset.png

- tbob

Inventor of the WORM Global
Message 4 of 5
(2,676 Views)
Good on you, tbob.  Just the ticket.
0 Kudos
Message 5 of 5
(2,667 Views)