12-12-2019 11:56 PM
can anybody please tell me , how to generate continuous varying square waveform. It means the Duty cycle should change like 20, 25, 30, 35, 40. in continuous way.
12-13-2019 12:42 AM
Hi ravi,
@ravi18 wrote:
can anybody please tell me , how to generate continuous varying square waveform. It means the Duty cycle should change like 20, 25, 30, 35, 40. in continuous way.
There are signal generation function in the signal functions palette. (Atleast) One of them is able to generate square waveforms with varying duty cycle.
When the duty cycle should change you could place that square waveform generation in a loop and autoindex over your array of duty values…
12-13-2019 12:56 AM
i think you r talking about this, But we cant generate varying Duty cycle.
12-13-2019 01:01 AM - edited 12-13-2019 01:02 AM
Hi ravi,
i think you r talking about this, But we cant generate varying Duty cycle.
Yes, that's what I'm talking about.
Why can't you change the duty cycle? Your image clearly (or better: blurry) shows a "duty cycle (%)" input for that signal generation function…
I just mentioned this thread to a different user…
12-13-2019 01:09 AM
yes you r right.. But I want the duty cycle should change automatically between some range, not by user controlled. i tried doing it with "building array", But its not working.
12-13-2019 01:23 AM - edited 12-13-2019 01:26 AM
Hi ravi,
so you are doing something which is not working…
There are two options:
I also changed the thread title to something more senseful: every thread in this forum is about LabVIEW!
(What about this "plea for full words" don't you understand?)
12-13-2019 01:36 AM
I am using LV2019, the DAQ which i am using is ni9269. just tell me how to change Duty cycle automatically.
12-13-2019 01:53 AM - edited 12-13-2019 01:54 AM
Hi ravi,
unfortunately I cannot open your LV2019 VI now, next time please "Save for previous"…
A snippet created in LV2011:
Creating a square waveform in a loop with variable duty cycle…
@ravi18 wrote:
the DAQ which i am using is ni9269. just tell me how to change Duty cycle automatically.
When you use a CO (counter output) DAQmx task you can set the duty cycle using DAQmxWrite…
12-13-2019 02:01 AM
ok.... thank you so much.
actually i am new for labview, currently I am playing with DAQ assistant only not with DAQmx.
12-13-2019 02:07 AM
Hi ravi,
@ravi18 wrote:
actually i am new for labview, currently I am playing with DAQ assistant only not with DAQmx.
You really should use "plain" DAQmx functions instead of that DAQAssistent, they are very easy to use!