LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reconnect network drive?

Hi, I'm having a problem with a VI I am running at a remote location. The PC running the VI is connected to a server, where data (images) are stored. There are lots of power-outages up there, and the PC boots faster than the server. This causes a dialog on the PC (W98) to say it cant connect at bootup. I have disabled this dialog in the registry so that no warning is given. The problem is that once the server has booted, the PC still doesn't "see" the server, although it did when the dialog was enabled and clicked OK before.

Is there a way from LabVIEW I can check if I am connected, and if not reconnect? I am considering using a file-read from server to see if I get an error (or zero size) and then using another utility to reboot the PC, bu
t am hoping for a more elegant solution.

Thanks for any help, you can get an idea of what we are doing at http://www.mech.uwa.edu.au/AIGO/ (under construction)
0 Kudos
Message 1 of 4
(2,793 Views)
There's disconnect and add network drive VIs in the LVWUtil32 library.

It can be downloaded here:

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3EF4556A4E034080020E74861&p_node=DZ53008&p_submitted=N&p_rank=&p_answer=&p_source=External
Message 2 of 4
(2,793 Views)
Good info!

Thank you Mads.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(2,793 Views)
Thanks for pointing that out Mads. I've since found out about a BootDelay= in msdos.sys which might work as well, so will test it out next time I'm up there.

Paul.S
0 Kudos
Message 4 of 4
(2,793 Views)