Generate different types of output functions

  • Software
  • Generate different types of output functions
Anicet Le Ruyet

Posted on 26.08.2020 17:20

Hello,

I am using the tab Function Generator to create output signals (0-10V). The types of signal I am using are sinusoidal or step-based. Using the GUI, it seems we can generate cyclic signals using simple parameters (e.g. frequency). I would like to build a sequence of signals (e.g. x sinus then y steps, repeated n times). Each signal would be defined using a couple points (time, voltage). Do you think a python script could help in doing this ?

Matic Pevec
Customer Support Engineer
Posted on 27.08.2020 15:10

Dear Anicet,


Thank you for your question. Can you more briefly describe the signal? How many periods for each signal, voltage of each signal, frequency of each signal, when repeat and how many repeats, etc. An drawing would be also much appreciating.


Best regards


Matic Pevec

Anicet Le Ruyet

Posted on 27.08.2020 15:15


Anicet Le Ruyet

Posted on 27.08.2020 15:24

@Matic Pevec

Hi Matic,

The AO signal aims at using an air distributor. The output pressure varies linearly as a function of the input voltage (0-10V). A typical sequence would be:

  • 1000 sinusoidal signals (freq: 0.25Hz, amplitude min: 1V, amplitude max: 5V)
  • 10 square signals (ramp up to 10V in 200 ms, 10-s plateau, ramp down to 1V in 200ms)
  • 2 last points repeated 100 times


  • 1000 sinusoidal signals (freq: 0.25Hz, amplitude min: 1V, amplitude max: 5V)


Using other ports (AI) would aim at measuring other variables (e.g. voltage basically) whose value could interrupt or modify the previous described sequence for example.

A sequential function chart based approach would be very valuable.


Thanks,

Anicet


Matic Pevec
Customer Support Engineer
Posted on 09.09.2020 15:11

Dear Anicet,


So the signal should continue sequentially in the following order


... 1000 sinus - 10 square ... 1000 sinus - 10 square .... etc. up to 100 times


I'm wondering if the square signal needs ramp-up of 200ms or it could be perfect square?


Need the Square signal perfect continuation from Sinus?

Login to reply to this topic. If you don't have account yet, you can signup for free account .