Applies To: |
|
Summary: |
Normally, we can obtain the PC name of the machine running CitectSCADA by using ServerInfo and ServerInfoEx. In the case of trying to obtain the PC name when running CitectSCADA project in a standalone, no networking setup, When having the code ServerInfo("Client",0) or ServerInfoEx("Client",0," ") will return blank and therefore, unable to obtain the PC name. |
Solution: |
The issue caused by both function will look for any name that can be found in [LAN]Node parameter of the .ini file. If the machine is running on standalone and no networking, the [LAN]Node parameter will be disregarded and therefore, the function cannot find any PC name to be returned thus, returns blank. The function will works fine if the project is being run with networking. |
Keywords: |
Related Links
Attachments