From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How Do I get the Basic Function Generator to generate more than a second's worth of waveforms?

Ufgul1n

Hi I'd like to ask whether it's possible to get my Basic Function Generator to generate more than a second's worth of waveform.

The upper waveform graph shows the output from the BFG block, while the waveform chart shows a  resultant output. The current setup works well enough with I just stick to whole numbers for frequencies, but once I go into the decimals the output waveform becomes discontinuous e.g. 'ripples' in sine waves.

 

This is my VI:

2KC110D

 

Many thanks for the assistance!

0 Kudos
Message 1 of 2
(1,937 Views)

Hi Baba,

 

Hi I'd like to ask whether it's possible to get my Basic Function Generator to generate more than a second's worth of waveform.

Then answer to your quesion is "Yes!"…

 

Did you read the help for the BasicFunctionGenerator? Did you learn about all its input parameters?

Did you learn about the sampling info parameter?

Do you know the relation of Fs and #s?

 

This is my VI

No, this is not your VI. It's just an image of the block diagram of your VI…

 

Btw. why don't you use a simple queue to transfer data between loops?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(1,933 Views)