Home    Reference Manuals    Return    Up   



Hands on session: Creation of a sine-wave   




  1. All computers should be up and running, so you can start work immediately.
    (If not: start the computer and log in as user: gensys password: gensys1)

  2. Open the gensys file manager window by: double-clicking the -icon on the desktop or press Alt+F2 and write gensys

  3. The gensys file manager window will now start in the users home-directory.

  4. Please double-click on the folder course_IIT_0605, and then click the cd-button.

  5. Open this manual by clicking Help->Homepage in the gensys window.

  6. In the web-browser, click Course in the lower right corner.

  7. Go back to the gensys window and create a work space for the sine-wave example by writing the UNIX-command mkdir my_sine_wave in the text field to the right of the cmd-button.

  8. Send the command to the UNIX-system by pressing the Return-key or clicking the cmd-button.

  9. Goto the new directory by double-clicking on its name in the upper or lower text area, then clicking the cd-button.

  10. Under the pulldown menu Help press Examples Html.

  11. Scroll down and click on program TSIM.

  12. In the page "Input data examples for Program TSIM", press on the link sine.

  13. Press Copy in the popup-widows, in order to accept the copying the files to your directory my_sine_wave. Four files and three directories has now been created in your my_sine_wave-directory.

  14. Execute file runf/sine.tsimf by:
  15. Execute file mplotf/sine.mplotf by:


Please also run file mplotf/four.mplotf
The Fourier transformation in file mplotf/four.mplotf has been made of the variable sinus from tstart= 0.125 until tstop=3.13, why the spectra will look as a cosinus wave. The definition of the cosinus function is





Inspect the main memory of program CALC

  1. Open file runf/sine.tsimf by double-clicking its name and press Ctrl-o or clicking Open->op with mouse button 3.

  2. Set input data parameter idebug = 1 in the beginning of the file.

  3. Rerun the case.

  4. Open the newly created file calc.out for editing.

  5. Please notice the following in the calc.out file:




Create a sine wave with variable frequency

  1. Open file runf/sine.tsimf for editing

  2. Change input data line 11 from:
    func const Frequ= 2.
    to:
    func operp Frequ= 0.5 * time

  3. Rerun the case

  4. Plot the result in MPLOT via the input data file mplotf/sine.mplotf or start program MPLOT directly by pressing the Mplot button.