PCGU1000, Square Signal, Duty Cycle

Hello there,

two issues:

  1. In the PcLab2000SE software I can either set Sine, Square or Triangle wave forms. When using the Square setting I get an additional option for adjusting the Duty Cycle. But in the FGULink_DLL documentation PDF I cannot find any description on how to set this Duty Cycle parameter using the provided functions.

  2. I assume if I cannot set the Duty Cycle using the SetGen function I have to use the SetLibWave function and create a specific .lib manually? If yes is there any possibility to work around the ‘The library waveform files must be in “lib” subfolder of the FGU.EXE program’s folder’ restriction? Because this means that our software needs to run with administrator privileges and it needs to write in its own programs folder which I want to avoid as much as possible.

Edit:
Just for curiosity: How does the PcLab2000SE software work when using the Square wave form and the Duty Cycle parameter? Because if it also uses the FGULink.dll to communicate with the PCGU1000 and is also using the SetLibWave function for Square signal form I cannot see any temporary files created in its lib\ folder. :confused:

Thanks for your help! :slight_smile:

Mario

I’m sorry but the duty cycle can’t be set via the FGULink.DLL.

Also there is no workaround to avoid the use of the lib folder for the library files.

Ok, thanks.

But could you tell me how the PcLab2000SE software does set it? Doesn’t it also use the FGULink.dll? I monitored the software (PcLab2000SE.exe, PCSU1000GU.exe, FGULink.DLL) with SysInternals’ Process Monitor and it didn’t show any activity in the .\lib\ directory when using Square signal form and changing Duty Cycle. :confused:

Your observation was correct. - The PCLab2000SE doesn’t use the FGULink.dll. The square wave is generated “internally” in the .exe program.

Ok, thanks for the replies. :slight_smile: