I try to integrate an interface for the frequency settings of the PCGU1000 in Labview to control the flowrate of a pump. Therefore I use the Call Library Function Node in Labview to open the Procedure StartGen() in the dll. After calling StartGen() the FGU.exe starts and GUI appears. But after that, a popup with “I/O error 103” is opened and the PCGU1000 won’t react on any input until the power was plugged off and plugged on again.
This error only occurs when I try to start the generator from Labview. Everything works fine with pc-lab2003se and when I run the fgu.exe under Windows. The FGUILINK.dll is located in the System32 Folder of Windows.
The reason to this I/O error 103 is that the FGU.EXE can’t find the file fgu1000.bit.
Normally the file fgu1000.bit is found if it is in the same folder as the FGU.EXE.
Thank you for your fast reply, but I copied all files of the FGULink_update_4.zip package in System32 including the fgu1000.bit and FGU.exe. So this can’t be the reason for the I/O error 103. Do you have other solution ideas?
I made a test: I moved the files fgu1000.bit, FGULINK.dll and FGU.exe to the System32 folder.
Then I run the FGULink_demo.exe from another folder.
I got the I/O error 103.
It seems that you have to put all these three files to some other folder where the Labview has access.
I am also trying to control the PGCU1000 via Labview, It’s running ok with the PC Lab soft, but it’s not working with the Labview software. I have two concerns:
where do I have to put the necessary files (wich ones are they??). I put the FGULINK.dll inside my labview driver
I don’t have any description in the pdf help file for function such like OpenGen, AttOn… where can I find that? (I found some drivers on the velleman site, are they up to date?)
I am trying to get a PCGU1000 to operate via Labview 8.6 on a Vista operating system. I have seen all the other posts with a similar project and have copied all the files from the most recent FGULink.dll package into a folder Labview can access (not Windows/System32). However when I try to call the functions from Labview it seems to do absolutely nothing and reports no errors.
I have installed the latest drivers for use in Vista and the PClab software and demo work fine (when I right click and Run as Administrator).
One suggestion: You have to call the OpenGen function to get the FGULink.DLL to respond any further function calls.
If you then call GenReady or GenStatus, do you get any response?
I am calling the OpenGen function and wait 3 seconds for good measure and then read the GenStatus which gives me ‘0’. The Generator window never pops up (and the ShowGen = 1 in the *.ini).
It is all dependent on the location of the *.dll and associated files. I had them with other Labview files, however it only worked for me when I located the fgulink files on the root. Thanks.