LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get remote data without interrupting tester

Hi I have a machine beside the PC that run the tests to measure the parameters. It is being manned by an operator on the production floor. I, in other department, access the measured data files thru LAN while the machine is still being operated. During the opening of this file, the PC besides machine attempts to write to the test data file which is currently open remotely. It will cause the PC to miss writing to test data file for a few seconds. But I am npt sure because I never test the 2 PCs and observe the actual happenings. Does the writing operation still works even though it is already open remotely from outside? Does it happens? If so what is the best solution?
How about the live data running on the other PC, being viewed by supervisor remotely?

Clement
0 Kudos
Message 1 of 2
(2,514 Views)
Hi Clement,

If the remote computer is only reading the measurement data files, then you can change the permissions such that that user of the remote computer only has Read permissions on the file. It sounds like the remote computer right now has both read and write permissions set on the file and it has a sort of mutex on the file while it is accessing it. If the permissions are changed such that the remote computer only has read access, then the PC that is needing to write the measurement data to the file can continue writing without any interruption since it will not lose the file resource when the other remote computer accesses the file.

Information regarding file sharing and setting file permissions on Windows XP can be found:
Microsoft KB 304040: How to configure file sharing in Windows XP

Hope this helps! Best of luck. 🙂

Kileen
0 Kudos
Message 2 of 2
(2,494 Views)