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