You are here: Start » User Interface » Remote Access to the Runtime Application

Remote Access to the Runtime Application

Introduction

It is possible to use Adaptive Vision Studio to control an Adaptive Vision Executor running on a remote computer, if only the two computers are in the same Ethernet subnet. To enable remote access in Adaptive Vision Executor, the option "Allow remote control" should be enabled. For security reasons, it is also possible to protect connection with a password:

Enable remote executor.

Usage

In Adaptive Vision Studio the list of available remote systems is accessible in the Connect to Remote Executor window which opens up after choosing the File › Connect to Remote Executor menu command:

Browse remote systems.

If an expected remote system is not visible on the list, please verify that: (1) it is configured for the same local area network, and (2) it can access Ethernet through its firewall (in the first place verify that in the Windows' Control Panel, Windows Firewall section, the option "Notify me when Firewall blocks a new program" is enabled).

When connecting to a selected device, the program will ask for the password (if it has been set):

Password protection window.

After successful connection, management of the selected executor becomes possible. Now you are able to do several actions: Upload Files, Control Program and Get Diagnostics.

Remote executor window.

Upload Files:

Upload files window.

To Manage Files on remote executor, click Upload Files button. In this window it is possible to send program files to the remote executor. By default all files are stored in the directory <CommonApplicationData>\Adaptive Vision\Adaptive Vision Executor.

Program Control:

In the Remote executor window you are able to control currently executed program. In the middle of the window we can see the current program status and the path to the currently loaded program. Next there are four buttons controlling program execution. Finally there is an option to open another program.

Remote file dialog window.

Diagnostics:

In the Remote Executor window there is available a few diagnostic tools. Here, it is possible to preview the execution log and a screen preview from the currently connected executor. All diagnostic options are located at the top of the Remote executor window.

Log preview window.

Remote Image Acquisition

Introduction

It is also possible to get images from a connected device using the remote executor. This method offers an easy way to acquire images using a different image protocols. Remote image acquisition filters enable to run this same code on the smart cameras (client side) as good as on developer computers without any additional modifications.

Usage

To enable remote image acquisition it is necessary to stop the executor program and enable the "Enable smart grabber" option:

Enable Remote Image Acquisition.

In Adaptive Vision Studio it is possible to use the filters from the category Camera Support\Smart to get images from a device connected to the remote Executor system.

Currently the available image acquisition protocols are:

  • AvSMART – access to AvSMART,
  • GenICam – access to GenICam complaint devices,
  • Roseek – access to Roseek cameras,
  • SynView– access to NET GmbH cameras,
  • WebCamera– access to DirectX complaint image sources like web cameras or frame grabbers.

To grab images using one of these protocols it is necessary to set inIpAddress in the filter input. The IP Address can be checked in the Connect to Remote Executor window when "Allow remote control" option is enabled in the Executor.

Smart_GrabImage_SynView filter properties.

If system detect that the provided IP address describes local machine the Smart_GrabImage filters will perform all operation on local computer. So it is no need to perform any changes during transferring project from developers machine to the client side device.

If the program is deployed to a device with another IP address then the input inIpAddress should be changed to the IP of the Executor or left empty. If the input inIpAddress is empty then the image is always grabbed using an appropriate local image acquisition protocol.

Available filters for the remote image acquisition:

Smart_GrabImage Smart_GrabImage_GenICam Smart_GrabImage_Roseek Smart_GrabImage_SynView Smart_GrabImage_WebCamera

If inDeviceID is set toNILthe first found device will be used.

Previous: Deploying Programs with the Runtime Application Next: Performing General Calculations