Basic function Generator Function notes

Source: Internet
Author: User

Direct:

If you do not set a constant, it is run as the default parameter value.

Some of the areas to note are:

1, the signal type is the enumeration value, creates the constant can see;

2, the classmate will find out why the phase parameter seems to not work, because the reset signal does not give true;

3, about the sampling rate and the number of sampling points problem. This is explained in conjunction with the chart controls.


Where the horizontal axis represents the time, that is, if the output 1Hz waveform, then just can display a cycle.

The sampling rate is at least twice times the frequency, generally at least 5 times times the best. The sampling rate and frequency multiples directly determine a few points of a period sampling.

Therefore, 1Hz, if the sample rate is set at 10Hz, the sample number of 10 points, then exactly a period:



If the sample rate is constant and the number of samples increases by 10 times times, then the acquisition of 100 points is a ten-cycle period:



If the sample number is unchanged, increase the sampling rate, the sampling rate of 100Hz, only 10 points, then only one-tenth of the 1Hz waveform, that is, 0.1s:



Knowing these rules, when we create a virtual oscilloscope later, there is a scan time button, then you can consider from two angles:

Sample rate invariant number of points, sample rate variable number of points unchanged. You can see the next article for details.

Basic function Generator Function notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.