PCSGU250 DLL delay with function SetGen

Hello,

I’m using the SetGen function in order to generate a triangle function. I’m only changing the offset of the signal.
But each time I’m using the SetGen function, there is a delay without any signals on the generator output (0V on the generator output for ~500ms).

When I change the offset with the graphical interface of the PCSGU250, there is no delay (No 0V on the output).

What can I do, why there is this a delay ?
For my application I need to have a triangle signal always on the output.

Best regards,
Sylvain

When the generator settings are changed via the DLL, all the generator settings are updated.
When the graphical interface is used, only the needed setting is updated e.g. frequency or offset.

Now the software is updated and there is added new, fast update mode.

First you should use the SetGen as normally.
Select the function 1, 2 or 3 and the frequency, amplitude and offset.

Next time you can avoid the generator full update by selecting function 0.
The previously selected waveform’s frequency, amplitude and offset can be modified.
The new frequency must be within the previously selected “band” e.g. 500Hz to 5kHz.

Here is the link to download the updated DLL package version 2:
box.com/s/jqkhn8zhc6koz8ppcqkm

There is an updated DLL manual included.

Thanks a lot, it works perfectly !

Best regards,
Sylvain

Hello

I have the same problem "delay with function generator " on PCSGU250
i try the new Dll but it same
i’m working at 20 khz and may be it s the mather when you said “you must select band 500hz - 5Khz”

tanks for your help

There was a bug affecting the operation on 5kHz and above.
Now fixed.
The file PcLab2000LT.exe is updated.
Here is the link to download the update:
app.box.com/s/klgm1mb4cok2jze3y8xl
A demo is included with source code.
In the demo you can use the button “Previous Function Fast Setup” to test the fast setup mode.
For initial settings use “Sine”, “Triangle” or “Square” buttons.
Make then some change to the settings and then press the “Previous Function Fast Setup” button for fast update.

Tanks for your answer
It s working very nice

Ps : don’t forget to make complet SetGen 1, before make StopGen