HI,
Is the source code avalible for FGU.exe?
Are there any more planned updates for this software?
Thanks
Dan
HI,
Is the source code avalible for FGU.exe?
Are there any more planned updates for this software?
Thanks
Dan
Sorry, but the FGU.exe source is not available. Only FGULINK.dll source is.
At the moment there are no updates planned.
All the time all suggestions to improve the software are welcome…
Hi,
It would be great if there was a way to easily hide the gui and disable the pop up messages.
I wish to use the DLL so i can use the signal generator in my ATE test enviroment and not allow the user to interact with FGU.exe, only allowing my app to control the SG.
The use of the DLL to interface my program to FGU.exe seems slightly odd. I would rather contol the Siggen directly using a DLL. Mainly because FGU.exe has some annoyances that prevent its seemless intergration into my ATE system.
I can hide the FGU.exe window by setting top=2000 (although it still shows on the taskbar) but then if the operator of my ATE forgot to connect the usb cable your program pops up and tells my operator so. However my ATE app launched the software and there is no way it can tell this has happend (apart from the generator is never ready). The application also exits after this occurs and my program cannot easily determine this as the fuctionality of the dll still works.
Here would be my feature requests:
Headless operation of FGU.exe (popups disabled) (nothing shown on taskbar)(maybe a tray icon)
FGULink.dll:
CommsStatus function that returns 1 if the device was found on the USB Bus. (I could then prompt my operator to reconect the USB cable and then check the comms status again until a link is established without FGU.exe exiting)(If FGU.exe needs restarting to reinitialise comms i could do this also)
I also have a Big problem with GenReady() dll function. My app executes FGU.exe, but I have not connected the signal generator, The FGU.exe reports this to me with the pop up saying the program will restart. (Oddly i ocassionally get a similar pop up with different text saying no comms but it does close the program!). My app checks GenReady() before trying to set any waveforms but your FGU.exe returns 1 from this function even though the App is telling me it cannot find the signal generator!! Of course my app continues and trys to set the waveforms and thinks they are being setup ok! Really all the dll functions should return True or False if the waves are setup correctly. And GenReady() should not return 1 when the generator is not ready! If I exit FGU.exe the GenReady() function still returns 1!! Clearly I cant set any waveforms if FGU.exe is not running!
Thanks
Dan
There are now two functions added to the FGULINK.DLL:
ShowGen(Boolean)
CommsStatus: Longint
Declarations in Delphi:
procedure ShowGen(status: Boolean); stdcall; external ‘FGULink.dll’;
function CommsStatus: Longint; external ‘FGULink.dll’;
Use ShowGen(false) to hide the generator GUI.
CommsStatus returns -1 if power adaptor is disconnected and -2 if USB cable is disconnected at startup.
The indication -1 comes after a while when the “LOADING” period is complete. During that period everything looks OK and also GenReady returns “True”.
You have to periodically check GenReady and CommsStatus during the startup.
If the cable is disconnected later after successful startup there is not indication of that.
I added to the demo program two buttons to run and close the FGU.EXE.
It is good to close the FGU.EXE when the controlling program is closed.
FGU.exe needs restarting if either of the cables was disconnected during the startup.
I’ll send you the modified DLL and the Delphi demo software and the source.
Hi,
Thanks for the extremely swift response! I will try these out and let you know how it goes but they look good from reading your post!
Again, Thanks and have a merry christmas!
Dear VEL255
You sent updated files directly to PILT but there is a place where we can download them ?
I have the same problem with PCSU1000 updates, i have tried to download from Velleman.be and Velleman.usa but files are not updated…
I am very interested to the last updated files for PCGU1000 and PCSU1000 (exe and dll) where i can find them ?
bye and sorry for my bad english
Livio
The files are still ”under construction”. I sent the PCGU1000 files to Pilt for testing.
So far some bugs found and some improvements will be done.
When ready, the files will be put on the Velleman downloads site.
If you like to test the PC generator PCGU1000 software FGU.EXE / FGULINK.dll, I can send it to you. I think it will be ready for testing in a couple of days.
The latest PCSU1000 you’ll find from the pclab2000se_3_05.zip, PCLAB2000SE software package Version 3.05.
velleman.be/downloads/files/ … e_3_05.zip
Thanks for the fast reply !!!
No problem for the testing time,
you are doing a great work and i know that the software needs always many many time…
I am very happy to know that the development process is alive !
bye
Livio
I’d like to do pretty much what Pilt asked for before (also using the generator for an automated test). Could you send me the modified DLL and demo program also?
Thanks a lot,
Tom
There are many improvements done to the function generator software FGU.EXE and to the FGULINK.DLL.
You may download those from: vel255.diinoweb.com/files/FGULink_update_1.zip
Extract the files to new folder - do not put those to PC-Lab2000SE folder !.
Copy the FGULINK.DLL to Windows system32 folder too.
There is now added DLL function OpenGen() to run the FGU.EXE from within your application. Use function CloseGen() to terminate the FGU.EXE.
In the demo software click “Turn On Generator” button first
When you start FGU.exe from the demo program or from your application, the new GenStatus() function returns 0 until the “Loading” period of the generator is complete. After that period of time the GenStatus() function returns value 1 if everything OK. It returns -1 if the USB connection fails (cable disconnected) and -2 if the power adaptor is disconnected.
The original GenReady() function returns “Fail” if any of those failures occur. You may use either GenReady() or GenStatus() or both to check the generator’s operation status.
GenReady() and GenStatus() functions return the generator status about 1.5 seconds after every instruction sent to the generator. The previous generator state is returned until that if no instruction is sent. Please allow in your application for the generator that amount of time after the instruction to update the status using GenReady() and GenStatus() functions.
GenReady() will return 0 if you close the program manually without CloseGen().
Use Showgen(false) to hide the generator GUI.
In the FGen1000.ini there is now a parameter ShowGen=1. Change it to ShowGen=0 and the generator GUI will be always hidden.
Here is the list of the DLL functions:
OpenGen
CloseGen
StartGen
StopGen
ShowGen
GenStatus
SetGen
SetSweep
SetLibWave
GenReady
The manual is not yet updated. You can get the original manual by downloading the fgulink_rev3.zip from Velleman downloads site.
“FGUlink pack. DLL for making your own software using our PCGU1000 generator (Rev3 22/10/2007)”
Thanks a lot, that looks like it’ll do the job nicely.
Thanks,
Tom
p.s. (you still can’t seem to control the attenuator. Just an observation, I don’t need it - I can get enough range out of the normal control)
Thank you for your comment about the attenuator.
That control should be added to the next release…
Now the attenuator function is added to the DLL.
The function name is AttOn and its declaration in Delphi is:
procedure AttOn(att: Boolean) ; stdcall; external ‘FGULink.dll’;
You may download the new software version from:
vel255.diinoweb.com/files/FGULink_update_2.zip
how i can get “fglink” file?
http://www.vellemanprojects.com/downloads/files/downloads/fglink.zip doesn’t access.
Thanks for your very good work…
bye from Livio
Please,help me. I have a question:
Is it possible to initialize and work with the PCGU1000 without using the FGU.exe file? Is there any function in some .dll files which initializes the PCGU1000?
Thank you.