Hello everyone, I have a problem. I want to retrieve a shared folder on another PC.
When I run the script on with the console script it works fine but with the script that runs in the project.library it doesn't work.
Here is the syntax that I use //IP address//Folder name//Subfolder name.
Should I use a different syntax in the project Library?
Thank you for your feedback.
Best regards
What OS are you running Ignition on?
If Windows, what service user is running the Ignition Gateway?
It's Windows 7. I use a virtual Machine on Vmware for my test .
So you are running the Ignition gateway on Windows 7?
In the Windows Services, what user is configured as the Log On As user?
Yes for Windows 7
I'm just starting out, I don't know where I should look at the service.
Here is a photo of my script and my problem.
As you see my result is true but my "test_alarme" variable remains at 1 instead of going to 0
Open up Windows 7 services and look. That's going to be the first place to look. It doesn't matter what your scrip is if the Log On As user doesn't have access to the netowork.
The problem is, the default account that Ignition uses does not have rights to access the network. So whatever script is running in the gateway context, which is tag change scripts, gateway events etc... will be run as that user. So if that user does not have access to the network, then neither will the script.
Alternatively, when you run the script in the console, the active logged on user is the one that is used for the script.