Overview
We have added Generic drivers to our database. These generic drivers will make it easier for the programmer to add custom commands to a project. These Generic drivers will not require the programmer to enter the Device Driver editor to add commands.
Process
In order to build out a generic device driver, you will need to search and import the communication method necessary for your equipment
Aliasing Commands
After importing the necessary generic driver you will need to create a new alias for each command needed in your project
Once you have added each of the command aliases you will drag and drop the generic command to the UI and select the proper command from the alias list
Serial and TCP Special Characters
Many Serial and TCP devices will require hex characters at the beginning or end of a string such as
- Carriage Return – \x0D
- Line Feed – \x0A
- Spaces – \x
An example of how a hexadecimal command would look as an alias:
\x01\x02\x03\x10\x0A\x0D
Gateways
Once all commands have been created and added to the project programming the last step is to assign the device to the proper gateway type
IR and Serial Gateways
The Generic IR device can be assigned to any IR port of a gateway and the Generic Serial device can be assigned to any Serial port of a gateway
TCP Device with and without Login
If your TCP device does not require login, you can create a Network gateway and assign the device. The only additional requirement will be to identify the port needed for control
If you are using the TCP device with login, you will need to create a Network gateway assign the device and edit both the port number for control as well as adding the username/password requirement
Post your comment on this topic.