CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:gui-designer:cflink-builder

Differences

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

Link to this comparison view

software:gui-designer:cflink-builder [2013/04/19 01:23]
aaron [How to use]
software:gui-designer:cflink-builder [2014/07/10 02:49] (current)
terrylau [Sending IR Commands]
Line 1: Line 1:
 ====== CFLink Command Builder ====== ====== CFLink Command Builder ======
 ===== What is CFLink Command Builder? ===== ===== What is CFLink Command Builder? =====
-CFLink ​CommandBuilder  ​is a guiDesigner ​plugin that will be included ​with all future versions of guiDesigner. ​+CFLink ​Command Builder ​is a plugin that is automatically installed ​with guiDesigner. ​
  
-It is designed to make using iViewer to control CommandFusion hardware as simple, quick and as straight forward as possible.\\ CFLink Command Builder automatically creates CFLink commands for you based on what CommandFusion devices have been discovered on your network based on a device discovery export from our System Commander software.+It is designed to make using iViewer to control CommandFusion hardware as simple, quick and as straight forward as possible.
  
 +CFLink Command Builder automatically creates CFLink commands for you based on what 
 +CommandFusion devices have been discovered on your network based on a device discovery export from our System Commander software.
  
  
 +{{url>​http://​www.youtube.com/​embed/​xv4a8pt8WoQ 560px,315px noscroll noborder alignment|alternate-text}}
 ===== How to install ===== ===== How to install =====
-If you have downloaded ​the latest [[http://​www.commandfusion.com/​software/​guidesigner|guiDesigner from our website]], ​then the guiDesigner ​plugin ​should already be installed. +You will need to download ​the latest [[http://​www.commandfusion.com/​software/​guidesigner|guiDesigner from our website]], the plugin ​is included with guiDesigner.
- +
-If you have an old version of guiDesigner ​that you do not wish to upgrade for some reason, or the plugin does not seem to be installed be default for you, then you may follow these instructions to install the CFLink Command Builder: +
-  * Download the CFLink Command Builder DLL (link) +
-  * Save it to the ave it to the ''​Program Files/​CommandFusion/​plugins''​ folder (Folder location depends on where guiDesigner was installed to).+
  
 ===== How to use ===== ===== How to use =====
  
  
-Using System Commander software, export the discovered devices via the File > Export menu item.\\ +Using System Commander software, export the discovered devices via the ''​File > Export ​Discovered Devices...'' ​menu item.\\ 
-{{:wiki:draft:​system_commander_export_discovered_devices.png?​nolink|}}+{{:software:gui-designer:​system_commander_export_discovered_devices.png?​nolink|}}
  
 System Commander will then ask you if you are sure, click ''​OK''​. It will then begin exporting your device information,​ this can take a few minutes. System Commander will then ask you if you are sure, click ''​OK''​. It will then begin exporting your device information,​ this can take a few minutes.
  
 A prompt will pop up asking you for a project name, enter an appropriate name and click ''​OK''​.\\ A prompt will pop up asking you for a project name, enter an appropriate name and click ''​OK''​.\\
-{{:wiki:draft:​system_commander_export_project_name.png?​nolink|}}\\+{{:software:gui-designer:​system_commander_export_project_name.png?​nolink|}}\\
 System Commander will then ask you if you want to open the location where the file was saved to. The export file will be saved to users ''​%appdata%/​CommandFusion/​SystemCommander/​discovery''​ folder on their PC. You can do so if you like, but it is not necessary. System Commander will then ask you if you want to open the location where the file was saved to. The export file will be saved to users ''​%appdata%/​CommandFusion/​SystemCommander/​discovery''​ folder on their PC. You can do so if you like, but it is not necessary.
  
 In guiDesigner,​ click on ''​CFLink Command Builder''​ ((This menu item will only be available if the plugin is installed correctly)) in the menu bar, and then click ''​Toggle Window''​\\ In guiDesigner,​ click on ''​CFLink Command Builder''​ ((This menu item will only be available if the plugin is installed correctly)) in the menu bar, and then click ''​Toggle Window''​\\
-{{:wiki:draft:​toggle_cflink_builder.png?​nolink|}}\\+{{:software:gui-designer:​toggle_cflink_builder.png?​nolink|}}\\
 This will bring up the CFLink Command Builder window.\\ This will bring up the CFLink Command Builder window.\\
-{{:wiki:draft:​cflink_commandbuilder_window.png?​nolink|}}\\+{{:software:gui-designer:​cflink_commandbuilder_window.png?​nolink|}}\\
 Use the drop down box to select the file you just exported. If you are using a file that is not in the default location, then you can use the browse button to find the file you wish to use.\\ Use the drop down box to select the file you just exported. If you are using a file that is not in the default location, then you can use the browse button to find the file you wish to use.\\
-{{:wiki:draft:​select_discovery_file.png?​nolink|}}\\ +{{:software:gui-designer:​select_discovery_file.png?​nolink|}}\\ 
-The device tree will populate with all the available command types and devices discovered from the export file. +The device tree will populate with all the available command types and devices discovered from the export file.\\ 
-{{:wiki:draft:​populated_list.png?​nolink|}}+===== Sending Relay Commands ===== 
 +{{:software:gui-designer:​populated_list.png?​nolink|}} 
 Next, Select a device to build a command for.\\ Next, Select a device to build a command for.\\
 +
 +
 +
 Fill out the relevant fields for the command, in this example we are controlling an LRY8 module on a DIN-MOD4.\\ Fill out the relevant fields for the command, in this example we are controlling an LRY8 module on a DIN-MOD4.\\
 Click ''​Generate Command''​\\ Click ''​Generate Command''​\\
-{{:wiki:draft:​build_command.png?​nolink|}}\\+{{:software:gui-designer:​build_command.png?​nolink|}}\\
 The command is generated and shown under new command details. For more information on CFLink commands see our [[hardware:​cflink|CFLink protocol page]].\\ The command is generated and shown under new command details. For more information on CFLink commands see our [[hardware:​cflink|CFLink protocol page]].\\
 You can change the name of the command here if required. You can change the name of the command here if required.
Line 45: Line 49:
 If you want to test the command, click ''​Copy Command''​ and it can then be pasted into the test window in System Commander for testing. If you want to test the command, click ''​Copy Command''​ and it can then be pasted into the test window in System Commander for testing.
  
-Click ''​Add to project''​ to add the command to your guiDesigner project. +Click ''​Add to project''​ to add the command to your guiDesigner project.\\ 
-{{:wiki:draft:​generated_command.png?​nolink|}}\\+{{:software:gui-designer:​generated_command.png?​nolink|}}\\
  
 You can then continue to create commands as required. You can then continue to create commands as required.
 +
 +===== Sending IR Commands =====
 +
 +{{:​software:​gui-designer:​irlearner_ccfcode.png?​nolink|}}\\
 +
 +For this example, we're going to use the builder to send IR commands using the IR codes that has been learnt using the IR Learner. Open your IR file in the CF IR Learner software, right-click at the selected function, choose the type of code you want to send and copy the codes.
 +
 +{{:​software:​gui-designer:​cflink_ir.png?​nolink|}}\\
 +
 +Select the type of control as IR. Select the device that you want to use to control from the list - in this case we're using the CF Mini's IR port. Go to the correct tab, select the desired port number, choose the type of IR data that you've copied previously and paste into the IR Code field.
 +
 +After that, click the ''​Generate Command''​ button and click ''​Add to project''​ to add the IR commands to your guiDesigner project.
 +
 +===== Sending Serial Commands =====
 +
 +{{:​software:​gui-designer:​cflink_set_serial.png?​nolink|}}\\
 +
 +For this example, we're going to use the builder to send serial commands. First, make sure you set up the communication settings by setting the onboard COM port on the CF Mini and Lanbridge to 232 mode, and with the correct baud rate using System Commander. Always remember to save the settings or else the setting changes won't be saved to the devices.
 +
 +{{:​software:​gui-designer:​cflink_serial.png?​nolink|}}\\
 +
 +Select the type of control as Serial. Select the device that you want to use to control from the list - in this case we're using the CF Mini's onboard COM port. Just enter the serial protocol string that you want to send, click the ''​Generate Command''​ button and click ''​Add to project''​ to add the serial commands to your guiDesigner project.
 +
 +===== Sending TCP Commands =====
 +
 +{{:​software:​gui-designer:​cflink_set_tcpclient.png?​nolink|}}\\
 +
 +For this example, we're going to use the builder to send TCP commands. First, make sure you set up the TCP settings to the system that you want to connect to using the System Commander under the Lan Bridge'​s Slots tab. Once done,  always remember to save the settings and reboot Lan Bridge or else the setting changes won't be take effect.
 +
 +{{:​software:​gui-designer:​cflink_tcp.png?​nolink|}}\\
 +
 +Select the type of control as Ethernet. Select the device that you want to use to control from the list. Just enter the TCP protocol string that you want to send, click the ''​Generate Command''​ button and click ''​Add to project''​ to add the TCP commands to your guiDesigner project.
 +
software/gui-designer/cflink-builder.1366334610.txt.gz · Last modified: 2013/04/19 01:23 by aaron