Страница 1 из 1

RecipeSave/Load

СообщениеДобавлено: Пн дек 14, 2015 7:11 am
werg
Не работают функции RecipeSave и Recipe Load если указан путь к файлу рецепта типа \\Servername\shared\recipe.csv
На локальной машине все работает. d:\shared\recipe.csv
Подозреваю, что то с настройкой сети, но что?

Re: RecipeSave/Load

СообщениеДобавлено: Вт дек 15, 2015 12:56 pm
Генератор зла
werg писал(а):Подозреваю, что то с настройкой сети, но что?

Using Global Addresses to File Data
You can set up global addresses to file data so that all View nodes share a common network-based set of files. This provides single-source maintenance of the files, but it is less fault-tolerant than local copies.
In the following figure, two View nodes are each running a copy of the same application, but reference the same recipe file. Because each application uses a drive letter mapped to a fully-qualified network path for the file, all references point to the same file.
To set up a shared file
Map a network drive to the shared path containing the referenced files. For example, G:\Directory\Recipe.csv, where “G:\” is the mapped drive letter that refers to \\Moo\Share. You must map this same drive on every View node.
In scripts, reference the shared path. For example:
RecipeSelectRecipe(“G:\Directory\Recipe.csv”, “review”, “RecipeName”);
:!:

Re: RecipeSave/Load

СообщениеДобавлено: Вт дек 15, 2015 2:57 pm
werg
То есть просто расшарить папку неправильно.
Нужно подключить сетевой диск и в скрипте писать мой первый вариант, но в место локального диска прописать сетевой?

Re: RecipeSave/Load

СообщениеДобавлено: Вт дек 15, 2015 3:04 pm
Генератор зла
Я не знаю. Я не читатель, я писатель. :)