omron — SNMPGet

Appendix: Built-in Scripting Language Optional IP Address (or hostname) of the computer where the Web Tunneling Gateway is running. optStrSecondaryGtwIP Optional Alternative IP Address (or hostname) of the computer where the Web Tunneling Gateway is running. The Thin Client will attempt to connect to the Web Tunneling Gateway in this IP Address if it is not able to connect to the Web Tunneling Gateway running in the IP Address specified in the optStrGtwIP parameter. optStrISSymbolURL Optional URL from where the updated version of ISSymbol (ActiveX control) must be downloaded if it is not properly registered in the Thin Client station. Note:

• You can use tags or expressions as arguments of this function. Therefore, you can use this function to configure the web settings automatically during runtime, according to the network settings of each project (IP address, Web Server URL, and so forth). • Only the first parameter of this function ( strServerIP ) is mandatory. All other parameters are optional. The parameters that are not configured in the function assume the default value configured in the Web tab of Project Settings. • The following parameters should be omitted unless you intend to use the Web Tunneling Gateway: optNumProtocolFlag , optNumGtwPort , optStrGtwIP , optStrSecondaryGtwIP , and optStrISSymbolURL .

Returned value Examples SNMPGet Gets information from computers or network devices through the SNMP protocol. Page 568 InduSoft Web Studio Error Description 0 No error 1 Invalid number of parameters 2 Invalid Server IP address 1 3 Invalid URL 4 Invalid optional path 5 No Web pages found Tag Name Expression Tag SetWebConfig( "192.168.1.28" ) Tag SetWebConfig( "192.168.1.28", "http://192.168.1.28/" ) Tag SetWebConfig( GetComputerIP(), "http://" + GetComputerIP() + "/" ) Tag SetWebConfig( "192.168.1.28", "http://192.168.1.28/", "C: \MyWebPages\" ) Tag SetWebConfig( "192.168.1.28", "http://192.168.1.28/", "C:

\MyWebPages\", 1234 ) Tag SetWebConfig( "192.168.1.28", "http://200.0.0.10/", "C:\MyWebPages \", 1234, "192.168.1.29", 0, 80, "200.0.0.1", "200.0.0.10", "http://200.0.0.10/MyISSymbol/" ) Function Group Execution Windows Embedded Thin Client SNMPGet System Info Synchronous Supported Not supported Supported