09-16-2014 07:13 AM
I finished developing an application to use the Express Master VI Comsoft provides with their drivers in a test system. I built the program into an .EXE file, but when I went to test the application, the comsoft VI never initialized. It worked every time in when run in development and we could run the stand. Please help me with this Comsoft issue. Is there something else I have to include as part of the application build to make this run correctly?
Thanks
09-16-2014 10:47 AM
Hi TMDLabGuy,
I have a few clarifying questions to make sure I understand this issue better:
I believe that's all the questions I currently have. Thanks!
09-16-2014 01:07 PM
The exe is on the development computer. I did not get any errors. I can check that again but I did not even hear the PCI card turn on (the PCI card makes a audible clicking sound when it initializes).
I am using LabVIEW 2013 SP1, Comsoft drivers 1.3. The Profibus card is a PCI model.
Thanks.
09-16-2014 04:22 PM
Hi TMDLabGuy,
I created a simple example, and found the same behavior you reported. I created a debuggable executable, and found an error occurring. This error indicated that the express VI was trying to locate a file, but was unable to do so. The file in question is DFP2Image.bin. Please copy the file this file into the folder created by your build, it should be on the same level as your executable.
For example: Inside this location <Generic Location>\builds\<Name_Of_Build_Specification>\<Name_of_Executable>\
we should have the .exe file and the .bin file.
You can find DFP2Image.bin on disc at <Program Files>\Comsoft GmbH\Profibus VISA Driver\Firmware
09-17-2014 12:01 PM
Thank you for the fix. That got the program running to expectations.