From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-30-2007 09:18 AM
Hello,
I am trying to write data at the end of my test sequence run to a file and storing it on a network drive.
If there is a problem with the network drive (busy or disconnected), then my application hangs for around 10-15 secs before giving out error that the drive is unavailable. This is causing the hardware to stop functioning which is dependent on my application. Is there a easy way to check if my network is present and my drives are present? I have tried using the file/directory info VI's present on the file I/O palette and they also cause the application to hang for 10-15 sec before giving out the error.
Thanks,
Jagan.
10-30-2007 09:32 AM
10-30-2007 03:21 PM
10-30-2007 03:35 PM
10-30-2007 04:14 PM
I agree that the lag is mostly a windows issue. I am having my drives mapped. Right now we are writing the files locally and using a VB application to write them to network, whenever it is available.
I will try to use the ping command and see if it improves. Thanks for your input.
10-30-2007 04:30 PM
10-31-2007 07:13 AM
I think ping will work! However, the problem I am facing right now is obtaining the names of the computer to which the network drives are mapped. For example if a network drive is mapped as I:/ then to ping the computer which has the drive, I need to know its name.
Is there a dos command which can give the name from the network drive letter?
11-01-2007 08:41 AM