Please anyone can help me in this issue: I test API connection from PIINT server (run apisnap.exe) but it is not working. The same connection from PISRV is working well. May I miss some configurations on default PI server? Thanks.
The configuration for what apisnap considers the default PI Server is found in the pilogin.ini file. Which is in the %pihome%\dat\ folder.
You should something like:
Is the name listed, the name of you PI Server?
You can also specify the name of the PI Data Archive you'd like to connect to with the apisnap command:
Please see our Live Library documentation on apisnap for more information.
Many thanks Jerome and Kelsey,
I find that the servername configured in pilogin.ini file is PISVR1 but the correct PI server name is PISRV1.
Retrieving data ...