我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
Real time data fails on PME Vista Client on remote machines but succeeds on server

Issue
On a Power Monitoring Expert (PME), Vista on client machines does not get any real-time data in diagrams - instead it displays yellow or orange boxes around the empty numeric objects. Opening the same diagram in Vista on the ION Enterprise server displays real-time data without problems.

Symptoms:

  • Data fields in Vista on an ION Enterprise client are highlighted yellow or orange. The tool tips over the fields read "Real Time Data Service is not responding." or "ION Real Time Data Service did not respond on time."
  • Data appears correctly in Vista on the ION Enterprise server.
  • Data appears correctly in WebReach on the ION Enterprise client.
  • Historical data is returned in Vista on the ION Enterprise client.
  • Error Message: "Cannot contact the real time service"
Product Lines
ION Enterprise
Power Monitoring Expert (PME) 7.2.x
Power Monitoring Expert (PME) 8.x
Power Monitoring Expert (PME) 9.x
Power Monitoring Expert (PME) 2020
Power Monitoring Expert (PME) 2021
Power Monitoring Expert (PME) 2022
Power Monitoring Expert (PME) 2023
Power Monitoring Expert (PME) 2024

Environment
Remote Client

General Cause
In power monitoring expert, the real-time data between the server and client machines is exchanged via the ION Real-Time Data Service (IONServices). Communication between Vista and the ION Real Time Data service is handled through .NET Remoting instead of DCOM starting from from ION Enterprise 5.6 and above. When a Vista diagram is opened on a PME Engineering client, a .NET Remoting Channel is established so that the ION Real Time Data service on the ION Enterprise server can provide the real-time data to Vista on the client.IONServices uses a brand-new architecture to consolidate requests for real-time data from the meters. IONServices is based on a client-server architecture, in which IONServices serves up the real-time data to IONServices clients like Vista, Designer, the VIP, and WebReach.

Also make sure that the proper file sharing instructions are followed using the instructions found in the "To create a file share for Engineering clients and Secondary servers:" section: Before Installing the software


*Warning: Take backups of any files prior to modifying them. Ensure the backups are in a location that will not be overwritten (i.e. the Desktop).
Warning: This article contains information about editing the registry. Improper changes to the registry can permanently damage the operating system. Always backup the registry before making any changes.


Potential Cause 1
The callback channel for real-time data refers to both machines by their computer names. The PME primary server and client must be able resolve each other computer name to a routable IP address. If either machine is unable to do this, no real-time data will appear in Vista on the client.

Depending on network configuration, .NET may try to use either the short (e.g. myserver) or full (e.g. myserver.canada.corp.powermeasurement.com) computer name.

In a networking environment, the exact reasons why two computers would not be able to communicate using their names are varied. Consultation with the customer's IT department may be necessary to determine the root of this issue.

Resolution 1
Add entries to the "hosts" file on each computer to allow them to successfully connect using their computer names.

  1. On the Power Monitoring Expert primary server, find its fully-qualified computer name.
    1. Right click on "My Computer" and select "Properties"
    2. Go to the "Computer Name" tab
    3. Note the value in the "Full computer name" field
  2. On the Power Monitoring Expert client, check if the server can be pinged by both its short and full name.
    1. Open a DOS prompt (Start Menu > Run, type "cmd" in the Run window)
    2. Type "ping [short computer name]" (e.g. "ping myserver") without the double quotes. Hit enter.
    3. Type "ping [full computer name]" (e.g. "ping myserver.canada.corp.powermeasurement.com") without the double quotes. Hit enter.
    4. If for either case, no replies are received, proceed to step 3. If the client can successfully ping the server, skip to step 4.
  3. On the Power Monitoring Expert client, add an entry to the hosts file.
    1. Navigate to C:\Windows\System32\Drivers\Etc
    2. Open the file "hosts" in a text editor such as Notepad
    3. At the end of the file, add the IP address of the PME primary server and the short name of the server from step 1.
    4. Add the IP address of the PME primary server and the full name of the server from step 1.
    5. Add a period (.) immediately after the full name of the server. The contents of the file should be similar to the example below.

127.0.0.1 localhost
192.168.0.100 myserver
192.168.0.100 myserver.canada.corp.powermeasurement.com.​

  1. Save and close the file.
  2. Repeat step 2. Replies from the server should now be received. If Vista on the client now displays real-time data, the workaround is complete. If Vista on the client still doesn't show real-time data, then proceed to step 4.
  • NOTE: having both the short and full computer name in the hosts file should not cause any problems, and ensure that .NET Remoting can resolve either to an IP address.
  1. On the Power Monitoring Expert client, find its fully-qualified computer name.
    1. Right click on "My Computer" and select "Properties"
    2. Go to the "Computer Name" tab
    3. Note the value in the "Full computer name" field
  2. On the Power Monitoring Expert primary server, check if the client can be pinged by both its short and full name.
    1. Open a DOS prompt (Start Menu > Run, type "cmd" in the Run window)
    2. Type "ping [short computer name]" (e.g. "ping myclient") without the double quotes. Hit enter.
    3. Type "ping [full computer name]" (e.g. "ping myclient.canada.corp.powermeasurement.com") without the double quotes. Hit enter.
    4. If for either case, no replies are received, proceed to step 6. If the client can successfully ping the server, skip to Workaround 2.
  3. On the Power Monitoring Expert primary server, add an entry to the hosts file.
    1. Navigate to C:\Windows\System32\Drivers\Etc
    2. Open the file "hosts" in a text editor such as Notepad
    3. At the end of the file, add the IP address of the PME  client and the full name of the client from step 4.
    4. Add a period (.) immediately after the full name of the client. The contents of the file should be similar to the example below:

127.0.0.1 localhost
192.168.0.101 myclient
192.168.0.101 myclient.canada.corp.powermeasurement.com.​

  1. Save and close the file.
  2. Repeat step 5. Replies from the client should now be received. If Vista on the client now displays real-time data, the workaround is complete. If Vista on the client still doesn't show real-time data, proceed to Workaround 2.
  • NOTE: having both the short and full computer name in the hosts file should not cause any problems, and ensure that .NET Remoting can resolve either to an IP address.

Potential Cause 2
The Real-Time Endpoint setting in Web Applications is not configured correctly for the real-time data service. Related to this error seen in Management Console: "There is no valid ION Services provider factory running at the following location: Tcp://[Computer Name]:57777/IONServicesProviderFactory.soap."

Resolution 2 (Only with Power Monitoring Expert 2024)
Log into Web Applications and go to the Settings tab then Security > Real-Time Endpoints and make sure the Host Name is selected as "Trust".web application real time data points

Potential Cause 3
Make sure all the PME required ports are unblocked.

Resolution 3
Check the system guide to make sure that all the ports required from PME are functional. Port 57777 is used for the real-time data service to send data to clients. The list can be found here: IP Ports.

Potential Cause 4
When Vista is started on a client machine, a brand-new callback channel is established between the ION Real-Time Data Service on the server and the client. This channel is created with dynamic TCP ports on the client and server side; i.e. it is not established on a fixed port - every connection is on a different, dynamic port. This kind of dynamic connection may be blocked by any firewalls between the client and server, and/or anti-virus software, as well as other as-yet unidentified factors that block this kind of dynamic port usage.

If a dynamic connection such as this cannot be created between the client and server, real-time data will not show up in Vista.

Resolution 4
The ION Real-Time Data Service can be configured to use HTTP protocol instead of TCP for this callback channel. Using HTTP has a better chance of working in an environment where dynamic port usage is blocked - it uses a fixed port (80) that is usually left open by default on most firewalls. One drawback of using HTTP is that it is typically slower than TCP.

  1. Shut down all ION Enterprise applications on the client machines.
  2. On the server where the ION Enterprise databases reside, modify the ION_Network database.
    • In the Registry table, in the row with name "Remoting.IONServices.Protocol", change the Value to "Http".
  3. On all ION Enterprise/Power Monitoring Expert client machines, enter the following key and value into the Windows Registry:
    1. For a 32-bit system:
      • under the HKLM\SOFTWARE\Schneider Electric\ION Enterprise\5.6 key, create a new key with name "IONServices"
      • under the HKLM\SOFTWARE\Schneider Electric\ION Enterprise\5.6\IONServices key, create a new String value with name "CallbackChannelProtocol"
      • enter a value of "Http" for it
    2. For a 64-bit system:
      • under the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Schneider Electric\Power Monitoring Expert\8.1 key, create a new key with name "IONServices"
      • under the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Schneider Electric\Power Monitoring Expert\8.1\IONServices key, create a new String value with name "CallbackChannelProtocol"
      • enter a value of "Http" for it
  4. Restart the ION Real Time Data Service on the primary server.

This must be done on the client machines (doing it on the server is optional, since it will not have any trouble making a TCP connection to itself). Now programs like Vista and Designer on the client machine will be getting real-time updates from the server properly.


施耐德電機Taiwan

探索更多
產品:
探索更多
產品:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings