From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Hi

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...

Thanks.

0 Kudos
Message 1 of 2
(1,952 Views)

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
(1,945 Views)