02-14-2022 06:10 PM
Hi,
in my company network shared folders have been replaced by microsoft onedrive service so all files, sequences, VIs are accessible only under username dependent paths, eg C:\Users\username\companyname\...
Now I have to modify all sequences to be launched on multiple machines from mutiple users.
I found basically three solutions:
1)use only relative paths, this requires to create a lot of local copies of the files making difficult to be maintained
2)use only search directories, this require to create search directories for every new user and in every new machine
3)get username and specify filepaths by expressions, this apply only to sequences, i cannot find the way to specify VIs filepath by expression.
Is there any way to specify VIs filepath by expression?
Is there any other solution to modify sequences and VIs in order to be launched and maintained efficiently from different users and machines?
Thank you very much
02-14-2022 06:24 PM
You can map the drive location to a fixed local drive (imaginary), for instance, H:\
You can even map local folders as separate drive.
02-15-2022 03:48 AM
I'm unable to find a CID number, there is even no "CID" string in the url.
02-20-2022 08:17 AM
Can you provide an example path before and after? Do you use TS environment files or TS workspace files, if so can you share file structure (relation between VIs, sequences and tsenv or tsw)? Do you use Login/Logout or do you have it disabled?
IMHO using absolute paths is a bad idea and usually, sooner or later, it will kick you in the balls. So, if I were you, I will try some relative paths and some automation scripts. If you provide more details I could suggest something.
02-23-2022 03:27 AM
I solved, it was a fake problem,
Onedrive syncs all in the user folder by default but you can choose another one
Thank you