Hello!
Velleman instrument: USB Function generator PCGU1000 s/n:200802081
Problem: DLL programming – not working
General: test this generator to replace National Instruments module in a more complex test systems; we don’t need GUI;
Test on: new clean PC, Win XP Pro SP2
We made last downloads from your web, install drivers and programs.
Run Pclab2000SE: test OK!
Run FGULink_Demo: test OK!
Try to use DLL: development environment Agilent VEE Pro, call FGULINK.dll (date 23.11.2008) from system32; at first we use OpenGen with a header (definition file) int__stdcall OpenGen();
Result: nothing!
We tried with other functions but result is equal. So we need a help (urgently)!
Questions:
Can you exactly say what drivers we need to use DLL and how we can install them? There are a lot of confusions in your pages!
Where we can find header file or header for only one function in C++?
What we can do from a virtual COM port?
Thank you!
[quote]We made last downloads from your web, install drivers and programs.
Run Pclab2000SE: test OK!
Run FGULink_Demo: test OK![/quote]This indicates that the driver is installed successfully and the FGULink.DLL is working OK.
[quote]1. Can you exactly say what drivers we need to use DLL and how we can install them? There are a lot of confusions in your pages![/quote]There are no other drivers needed to install to communicate with the PCGU1000.
[quote]2. Where we can find header file or header for only one function in C++?[/quote]Sorry, no example in C++. Examples only in Delphi, Visual Basic 6.0 and Visual Basic 2008 Express are available at the moment.
[quote]3. What we can do from a virtual COM port?[/quote]Nothing - all communication with the generator can be handled via the FGULINK.DLL.
Also be aware that you have to have FGU.exe, and FGen1000.ini in the same folder as FGULink.dll. The library FGULink.dll just issues commands to FGU.exe, it does not communicate directly with the instrument…
Is there a really possibility of using two PCGU1000 generators to generate two different waveforms at the same time on a single PC or not? On date April 6. 2009 you said that it is possible with a software modification?
Thank you!
Habe
Officially it is not possible to run two PCGU1000 generators on a single PC.
There is a workaround. You may try it at your own risk. (These instructions are not on behalf of Velleman, just on behalf of me.)
The detailed instructions are in this thread: Double PCGU1000
See the post dated: Mon Apr 06, 2009 1:11 pm
Please be a aware of the risk.
You have to change the PID (address) of the generator. Two generators with same address can’t be used.
There may be some risk to use the re-configuration program.
This program changes the data stored to the internal EEPROM of the generator.
No warranty if something goes wrong.
At the moment there is no FGULINK.dll support for this second generator. It can be controlled only via the GUI of the software downloadable using the link above.