PSCU1000 DLL feature requests

The “pclab2000se_3_05.zip” PCSU1000 works well and i can remove delays from my wrapper functions.

I have removed every old DLL from windows/system and i am shure that “PCSU1000D.dll” and “PCGU1000Link.dll” are only in the folder “C:\Program Files\Velleman\PC-Lab2000SE” and in the same folder of my ATE VisualBasic program.

To start the scope i send a “Start_PCSU1000” to the “PCSU1000D.dll”

Unfortunately, a subsequent “StartGen” to the “PCGU1000Link.dll”
opens the wrong generator, a “parallel” PCG10-K8016 generator that does not works an my PCGU1000.

I have tried many times to restart the “Pc_Lab2000se.exe”, it works correctly and it opens the right USB generator.

I have deleted every possible file and reinstalled the complete “pclab2000se_3_05.zip”.

I have tested that the registry key contains the right value:
“HKEY_LOCAL_MACHINE\SOFTWARE\Velleman\PcLab2000SE”
----> “C:\Program Files\Velleman\PC-Lab2000SE”

But my “StartGen” command opens always the “scope” and if I press the “Generator” button i get always the wrong “parallel” PCG10-K8016 generator.

The only working method to start my ATE system with a PCSU1000 and a PCGU1000 is to copy the file called “PCSU1000GU.exe” and to use the following sequence:

Shell “PCSU1000GU.exe”
StartGen
Sleep 5000

But i must always use 30mS delays after each “scope” call and very long delays after “Generator” calls…

bye
Livio

After many, many runs, crash and errors ( maybe I have unplugged and replugged the usb-cables and the power cable about 100 times )… i have found the solution !

Using the “pclab2000se_3_05.zip” files :

  • the PCSU1000.exe is updated and does not needs the delays
  • the PCSU1000GU.exe is not updated and needs the delays

I can not use the “PCSU1000.exe” because it always opens a parallel generator but my generator is a USB-PCGU1000

So …

  • i must always add the delays
  • i can not use the Start_PCSU1000 function ( that opens the “PCSU1000.exe” and not the “PCSU1000GU.exe” )
  • i must open the “PCSU1000GU.exe” using a window api called “Shell”
    Is this correct ?

[/b]

You are right that Start_PCSU1000 function opens the PCSU1000.exe.
There are no delays needed as you noted too.

You are running PCGU1000Link.dll to control the generator and it needs the delays.

You may try the new one FGULINK.DLL. It is in the package fgulink_rev3.zip at Velleman downloads site. Run it with FGU.EXE and do not run PCSU1000GU.EXE at same time. Use PCSU1000.EXE for the scope.

There is sweep with square wave possible but the delays are needed in this version too.

Sorry.