User Tools

Site Tools


device_setup

Device Setup

To configure the devices select Configure - Devices in main menu (or Device shortcut in the toolbar ) . The Device Setup window opens as shown below.

The dialog offers two possibilities to select device drivers from the database. First is to select a category and search for a device in a category list:

The second possibility is to use the search field next to the category list. Here you can simply enter a search term such as the device name or manufacturer.

The list below shows all devices matching the search term. As soon as the searched device appears in the list, it can be added to the project via the Add Device button.

If you select a device in the search result list or in the project device list (the one on the botom left), additional information about the device driver is shown at the bottom textfield.

Renaming Devices

To change the name of a device select it in the project device list and click the Change Name button. Alternatively, a double click on the device in the list is sufficient. This opens another dialog in which a new name can be entered.

Deleting Devices

To delete a device select it in the project device list and click the Delete Device button

Creating a Channel

To control a device, there must be an interface that is used to send and receive commands to / from the device. In V-Control these interfaces are Channels. A Channel is an RS232 interface, a TCP or UDP connection or any other interface installed on the computer that can “talk” with V-Control.

In this example we need a TCP channel to interact with an Ascender. If we scroll down in the device help textfield we find some information about the parameters we have to use for the TCP channel.

The information says that the default IP Address of an Ascender is 192.168.2.140, and the default port is 10600. Make sure that the device is using the default values or change them here if other values used. Also take care that your network configuration does not conflict with the network settings of the connected devices.

In this example we use the default values. So we need a TCP channel that connects to port 10600 at IP Address 192.168.2.240.

It is important that every channel has a unique name. In the Channel Name textfield enter a name for the channel. In the tab bar select the TCP Client tab. Now enter the values for Port and IP Address and click the Add Channel button.

The final step is to assign the channel to a device. Select the device in the project devices list at the bottom left of the dialog and select the channel in the channel list. Then click the Assign Channel to selected Device button.

Channel Types

All available channel types are organized in a tab panel.

Serial Channel

Serial channels are used for RS232/422 and 485 interfaces. Get Serial List loads all previously scanned ports in the Port: list. If new serial ports attached to the system, Refresh executes a new port scan. On systems with many serial interfaces this could take a while.

TCP Channel

To control devices via TCP, the Port and IP Address is needed

UDP Channel

Router Hops determine how many routers the UDP packet is allowed to pass.

SMTP Channel

The SMTP channel specify's a mail server. This channel is used by the SMTPMailClient device to send emails.

Server: The mail server (e.g. smtp.web.de) From Adr.: The sender address (me@myspace.com) Username: Username to log in Password: Mail server password

Http and Https Channel

HTTP and HTTPS channels can automatically log in if username and password is saved in the channel properties. They both can do http Get and Post request

device_setup.txt · Last modified: 2018/10/29 14:06 by admin