10.2 Scenario 2: OPC Client UAExpert Connecting to Video Kit OPC Server through ICICLE Kit OPC Client

Objective : Demonstrate the client and server capabilities for the ICICLE Kit.

In this scenario, the UAExpert software which acts as an OPC UA client connects to the OPC server running on the ICICLE Kit. This kit also has a OPC UA client running, which in turn connects to the OPC server running on the Video Kit. Once both connections are established, commands can be sent to and from the UAExpert and Video Kit through the ICICLE Kit.

  1. Start the Video Kit OPC Server by executing the following commands at the command prompt:
    1. Execute the cd /opt/microchip/opcua/video-kit/ command to change to this directory.
    2. Execute the ./video-kit-server.py & or python3 video-kit-server.py & command to start the Video Kit Server.
    3. On successful execution, the following message is displayed:
      Video Kit OPC-UA Server Started
  2. Note down the IP address of the Video Kit OPC server. To note down the IP address of the OPC server, execute the ifconfig command.
  3. Start the ICICLE Video Proxy Server by executing the following commands at the command prompt:
    1. Execute the cd /opt/microchip/opcua/icicle-kit/ command to change to this directory.
    2. Edit the ./icicle-video-proxy-server.py script to change the IP address at line number 74 to the IP address of the Video Kit noted down in the second step.
    3. Save the script.
    4. Execute the ./icicle-video-proxy-server.py & or python3 icicle-video-proxy-server.py & command to start the OPC Proxy Server.
      Important: Ensure that the Video Kit Server is up and running before executing this command.
    5. On successful connection, the following message is displayed on the console:
      Video Proxy OPC-UA Server Started
      OPC Client connected to Video Kit - OPC Server
    6. Note down the IP address of the ICICLE Video Proxy Server. To note down the IP address of the Proxy Server, execute the ifconfig command.
  4. Connect the UAExpert client from PC to the ICICLE Video Proxy Server using the above IP address.
  5. To start streaming the video, set the following values in the UAExpert window:
    1. Set the IP Address value to the Windows machine IP address.
    2. Set the Streaming Start value to 1111.