Difference between revisions of "AlphaNetServiceProvider"
From Zenitel Wiki
Line 24: | Line 24: | ||
The AlphaNetServiceProvider Application is mainly a configuration and test tools added to the SDK for easy employment of the AlphaNetServiceProviderService. The application is started by double click on the AlphaNetServiceProviderAppl.exe | The AlphaNetServiceProvider Application is mainly a configuration and test tools added to the SDK for easy employment of the AlphaNetServiceProviderService. The application is started by double click on the AlphaNetServiceProviderAppl.exe | ||
− | + | [[File:SDK_Inst_Folder.png]] | |
or via Start->All Programs->Vingtor Stentofon->Shortcut to | or via Start->All Programs->Vingtor Stentofon->Shortcut to | ||
AlphaNetServiceProvider.exe | AlphaNetServiceProvider.exe | ||
− | + | [[File:SDK_Start_Shortcuts.png]] | |
After invocation – push the “Config”-button to check or change configuration data: | After invocation – push the “Config”-button to check or change configuration data: | ||
− | + | [[File:ServiceApplConfigWindow.png]] | |
Enter the AlphaCom IP-address. Select the port number on the AlphaCom to be used. Legal values are 61112 or 61113. | Enter the AlphaCom IP-address. Select the port number on the AlphaCom to be used. Legal values are 61112 or 61113. | ||
Line 44: | Line 44: | ||
If the configuration is changed, push the “Save To File”-button to save the configuration data. | If the configuration is changed, push the “Save To File”-button to save the configuration data. | ||
− | Press “Connect” to start connecting to the AlphaCom. After about 30 seconds the Service Provider has discovered all nodes and stations in the AlphaNet. | + | Press “Connect” to start connecting to the AlphaCom. After about 30 seconds the Service Provider has discovered all nodes and stations in the AlphaNet. |
+ | |||
+ | [[File:SerProviderApplConnect.png]] | ||
Start one of the two test clients (Examples.Stations/Examples.Stations_Basic) from the SDK installation directory or shortcut in the Start Menu. | Start one of the two test clients (Examples.Stations/Examples.Stations_Basic) from the SDK installation directory or shortcut in the Start Menu. | ||
+ | |||
+ | [[File:TestClientStart.png]] | ||
+ | [[File:TestClientConfigWindow.png]] | ||
+ | [[File:TestClientSelectStation.png]] | ||
+ | |||
The established connection to the AlphaNetServiceProviderAppl is shown in the “Remote Clients” window: | The established connection to the AlphaNetServiceProviderAppl is shown in the “Remote Clients” window: | ||
+ | |||
+ | [[File:ServiceProviderRemoteClientsWindow.png]] | ||
== '''''AlphaNetServiceProviderService''''' == | == '''''AlphaNetServiceProviderService''''' == | ||
Line 55: | Line 64: | ||
The installation can be verified via Start->Control Panel->Programs and Features: | The installation can be verified via Start->Control Panel->Programs and Features: | ||
+ | |||
+ | [[File:ServiceInstallation.png]] | ||
The service can be viewed in the list of installed service, which can be shown by pushing | The service can be viewed in the list of installed service, which can be shown by pushing | ||
Start->Control Panel->Administrative Tools->Services: | Start->Control Panel->Administrative Tools->Services: | ||
+ | |||
+ | [[File:ServiceList.png]] | ||
The properties of service can be viewed by right clicking the AlphaNetServiceProviderService and select “Properties” | The properties of service can be viewed by right clicking the AlphaNetServiceProviderService and select “Properties” | ||
Line 64: | Line 77: | ||
Right after the installation the service will be in the stopped state, but can be started manually by pushing the “Start the service” option. | Right after the installation the service will be in the stopped state, but can be started manually by pushing the “Start the service” option. | ||
− | Via the “Properties”-window it is possible to select start up type Automatic, which means the service is started automatically at system start up. | + | Via the “Properties”-window it is possible to select start up type Automatic, which means the service is started automatically at system start up. |
+ | |||
+ | [[File:ServiceProperties.png]] | ||
The service can be tested using one of the two clients - Example.Stations or Example.Stations_Basic - as previously described. | The service can be tested using one of the two clients - Example.Stations or Example.Stations_Basic - as previously described. |
Revision as of 13:24, 30 October 2017
This article is under construction. The software described here is not available yet.
Introduction
The AlphaNetServiceProvider is a software component, which makes it possible for more clients to connect to one of the two AlphaCom API ports simultaneously. The ports are named “OPC Server 1” and “OPC Server 2” in the AlphaCom. The ports are assigned the port numbers 61112 and 61113 respectively.
The AlphaNetServerProvider is shipped in two versions
- AlphaNetServerProviderApp. The AlphaNetServiceProviderApp is a Windows GUI application. The application is used for configuration and test of the AlphaNetService provider
- AlphaNetServerProviderService. The AlphaNetServerProviderService is a Windows service, which runs in the background without any user interface.
AlphaNetServiceProviderApp
The AlphaNetServiceProviderApp is distributed within the Windows installer package named VS-SDK for AlphaCom_Setup_Vx.x.x.x.msi.
The program package is installed in directory C:\Program Files (x86)\Vingtor Stentofon\VS-SDK for AlphaCom
The installation can be checked via Start->Control Panel->Programs and Features:
The AlphaNetServiceProvider Application is mainly a configuration and test tools added to the SDK for easy employment of the AlphaNetServiceProviderService. The application is started by double click on the AlphaNetServiceProviderAppl.exe
or via Start->All Programs->Vingtor Stentofon->Shortcut to AlphaNetServiceProvider.exe
After invocation – push the “Config”-button to check or change configuration data:
Enter the AlphaCom IP-address. Select the port number on the AlphaCom to be used. Legal values are 61112 or 61113.
Choose a Server port number, which the clients must use in order to connect to the Service Provider. The clients must also choose the IP-address on which the service runs. Enter “IPCONFIG” at a command prompt on the server to determine this address.
The “RunTime Config” is the maximum time elapsed for the receipt of a “Pong”-response to a “Ping” before the Service Provider detects client connection down.
If the configuration is changed, push the “Save To File”-button to save the configuration data.
Press “Connect” to start connecting to the AlphaCom. After about 30 seconds the Service Provider has discovered all nodes and stations in the AlphaNet.
Start one of the two test clients (Examples.Stations/Examples.Stations_Basic) from the SDK installation directory or shortcut in the Start Menu.
The established connection to the AlphaNetServiceProviderAppl is shown in the “Remote Clients” window:
AlphaNetServiceProviderService
The AlphaNetServiceProviderService is distributed as a Windows installer package named AlphaNetServiceProviderService_Setup_Vx.x.x.x.msi.
The installation can be verified via Start->Control Panel->Programs and Features:
The service can be viewed in the list of installed service, which can be shown by pushing
Start->Control Panel->Administrative Tools->Services:
The properties of service can be viewed by right clicking the AlphaNetServiceProviderService and select “Properties”
Right after the installation the service will be in the stopped state, but can be started manually by pushing the “Start the service” option.
Via the “Properties”-window it is possible to select start up type Automatic, which means the service is started automatically at system start up.
The service can be tested using one of the two clients - Example.Stations or Example.Stations_Basic - as previously described.
Please Note!
- The AlphaNetServiceProviderAppl and AlphaNetServiceProviderService cannot run simultaneously.
- The AlphaNetServiceProviderAppl and AlphaNetServiceProviderService use the same configuration. The configuration is handled in the AlphaNet DLL, which stores configuration files in “C:\Users\”actual user”\AppData\Roaming\STENTOFON\SDK”. This directory cannot be accessed by the service – it will raise an exception – and therefore the config window in the application will also store a copy in “C:\ProgramData\STENTOFON\SDK Service Provider” to be used by the service. Please check if this configuration file is available – otherwise make a copy manually.