Notice on Basic Function Generator functions and notice on Function Generator Functions
Direct:
If no constant is set, it runs according to the default parameter value.
Note the following:
1. The signal type is enumeration value. You can see the constant created;
2. I learned why the phase parameter does not seem to work because the reset signal is not set to true;
3. Questions about sampling rate and sampling points. Here we will use the chart control to explain.
The abscissa represents the time, that is, if the 1Hz waveform is output, a period is displayed.
The sampling rate is at least twice the frequency, and generally at least five times the best. The sampling rate and frequency multiples directly determine the sampling points in a cycle.
Therefore, if the sampling rate is set to 10Hz at 1Hz and the number of sampling points is 10 points, it is just a cycle:
If the sampling rate remains the same and the number of sampling points increases by 10 times, 100 points are collected, which is a ten-Cycle cycle:
If the number of sampling points remains unchanged and the sampling rate is increased, the sampling rate is 100Hz and only 10 points are collected. Only 1Hz waveforms of one tenth are collected, that is, 0.1 s:
After knowing these rules, when we create a virtual oscilloscope with a scan time button, we can consider it from two perspectives:
The sampling rate remains unchanged. The sampling rate remains unchanged. For more information, see the next article.