LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

square wave generator minimum frequency?

Solved!
Go to solution

I am trying to generate square waves with a frequency less than one but it doesn't seem to be possible for some reason. If I set it to 0.5 (for example), I just get a flat line. Tried fooling around with the sampling info (frequency 1 and Fs to 500) but still no go. Is there any way to generate frequencies below 1? thanks in advance

0 Kudos
Message 1 of 4
(3,053 Views)
Solution
Accepted by topic author sdkpark

Assuming you are using the Square Waveform function, you just have to set the # of samples to twice the sample rate for a .5 Hz signal. The default of 1000 Samples/Sec and 1000 samples gives you of course, 1 second's worth of data. For .5 Hz, you need to display 2 seconds to see the entire pulse (1/.5).

Message 2 of 4
(3,043 Views)

sorry I can't access labview right now

but I've already tried using the sampling rate 500 with 1000 samples and didn't work. isn't it the same as 1000 rate with 2000 samples? thanks for your reply

0 Kudos
Message 3 of 4
(3,034 Views)

ack i just tested it right now, you are right

apparently it ISN'T the samething using 500 / 1000

 

thanks a lot and sorry for asking a dumb question

0 Kudos
Message 4 of 4
(3,032 Views)