Showing results for 
Search instead for 
Did you mean: 

System.IO.IOException error using multiple NEWPORT devices in a VI



I am using an SMC100CC, and Agilis AC-UC8 controllers, and the conexPSD sensor .NET libraries for LabView all in the same VI.

At the time of running the program I have the next error:
System.IO.IOException: The process cannot access the file 'c:\temp\app.log' because it is being used by another process. Any idea of how correcting this trouble?


I attach some examples where I was trying to find out how to solve the problem, but failed...


Download All
0 Kudos
Message 1 of 2

Without having these devices and your exact setup it's hard to recommend a fix.


I would recommend you contact Newport support... they're actually pretty responsive in my past experience.


As far as I can tell, at least 2 of your 3 devices have the option to communicate with them directly over serial using ASCII commands.  You might have to do that instead of using their .NET library, if using all 3 at once gives an error.

0 Kudos
Message 2 of 2