01-26-2024 08:01 AM
Greetings everyone. This is probably real simple but for some reason I am having issues getting it to work. I have inherited many older Labview programs that I have been modifying and one of them has several absolute paths to a local folder on the PC. This program has to be converted to run on a PC that is connected to a test server to write files to a specific folder on the server. I need to replace the paths to the local PC to the paths on the server connected PC. Below is a sample of existing and new paths:
Existing Path Local PC:
C:\Test Systems\Master Software\Test Set INI's
New Path on PC connected to Server (Already exists). This info is taken by navigating to the subject folder "Test Set INI's"
ProductionTest(\\usfrk-aqitest1)(Z:) > Master Software > Test Set INI's
Hope this makes sense. Thanks for any and all help.
01-26-2024 10:00 AM
@Dragonrider wrote:
New Path on PC connected to Server (Already exists). This info is taken by navigating to the subject folder "Test Set INI's"
ProductionTest(\\usfrk-aqitest1)(Z:) > Master Software > Test Set INI's
Hope this makes sense. Thanks for any and all help.
What is the proper greeting for a Dragon Rider?
Anyway, if I understand your situation, here's an easy test you can do:
If all this is correct, then in your LabVIEW code, you should be able to (similarly) find the Folder by specifying the address "Z:\Master Software\Test Set INI's" . This will be a folder, of course, so to open a file in the folder, you'd have to add the file name.
Note that for this to work, the Z drive needs to be "mapped in advance" to its target (which I'm assuming is the case).
Bob Schor