In the previous post I showed how we can create an AM Modulator with ScicosLab/Scicos. In this post we can use this file to create a .CSV file that can be used to drive an Arbitrary Waveform Generator so it can test equipment in our lab as required. Traditionally Function Generators only produced Sine, Square and Triangle wave forms. Using the Arbitrary Waveform Generator, we can create any waveform for testing.
Figure 1 shows the Scilab script code used to generate the AM Modulator. The last block of code creates the .csv file using the csvWrite function. Note that this is only available in Scilab not in ScicosLab. The values of y are created in a row vector, so we first have to normalize them and modify for a column vector.
#1. ScicosLab Open Source Software
#2. ScicosLab with Modnum Toolbox
#3. Learn Telecommunications by Simulation