08-19-2009 11:07 PM
Hello All,
I am a beginner in labVIEW.
I have to write a test program in labVIEW which uses a DLL created by other programmer.
I called the DLL from my labVIEW to control DIOs, a serial port, communicate with a slave device, perfrom a flashing task.
While testing the program, I found that the program is OK if I use it just once, however, if I want to run it coninuously using a Do-While Loop, it failed with
Error 1172.
As far as I could understand, it seems that the DLL creates a log file in C:\ while it was called for the first time, and the process does not stop taking control of this log file even after the DLL is closed.
Then when the DLL is called for the second time, it looks for the same log file to write new info but as it was taken control by the previous process, there comes an error.
Please find the attached files.
Hope there would be somebody who is able to help me to point out my mistakes in my vi or suggest me a solution for it.
Thanks and Best Regards
Aung
(As the system does not accept the DLL attachment, I changed the extension to .pdf for the DLL File)
Solved! Go to Solution.
08-19-2009 11:08 PM
11-17-2009 07:00 PM - edited 11-17-2009 07:01 PM