User Tools

Site Tools


device_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
device_setup [2018/10/12 07:06]
admin [Creating a Channel]
device_setup [2018/10/29 14:06] (current)
admin [Creating a Channel]
Line 26: Line 26:
    
 ===== Creating a Channel ===== ===== 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 ​we call these interfaces 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.+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. 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.
Line 41: Line 41:
  
 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. 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.
 +
 +{{ :​channelrs232.png |}}
 +
 +==== TCP Channel ====
 +To control devices via TCP, the Port and IP Address is needed
 +
 +{{ :​channeltcp.png |}}
 +
 +==== UDP Channel ====
 +Router Hops determine how many routers the UDP packet is allowed to pass.
 +
 +{{ :​channeludp.png |}} 
 +
 +==== SMTP Channel ====
 +The SMTP channel specify'​s a mail server. This channel is used by the SMTPMailClient device to send emails.
 +
 +{{ :​channelsmtp.png |}}
 +
 +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 ====
 +
 +{{ :​channelshttp.png |}}
 +
 +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