05-28-2015 02:13 AM
Hi. My problem is, when i'm trying to generate a sine wave with ''simulate signal'' it's lengt (x-axis) is between 0 - 0,1 second. I need 3s length sine wave How can i generate longer sine wave? Thanks
05-28-2015 02:38 AM - edited 05-28-2015 02:39 AM
If you mean the Simulate Signal Express VI, then the default is 100 samples at 1000 Hz. In the bottom left hand side of the configure screen, you can un-tick the Automatic checkbox next to the Number of Samples field, allowing you to change the number of samples.
If your sampling rate in Hertz is f, and your desired time in seconds is t, then the number of samples you need to acquire is equal to f x t.
As ever, I'd strongly recommend learning to use the VIs on the Waveform or Signal Processing palettes in time - you'll find they are much more powerful than the Express VIs.