You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate tool.
====== Quick Start Guide - guiDesigner & iViewer ======
guiDesigner & iViewer Quick Start Guide / Tutorial\\
\\
A video version of this guide is available here: http://cmdf.us/PC6I8d \\
{{url>http://www.youtube.com/embed/FXxH_b1oht4 560px,315px noscroll noborder alignment|iViewer and guiDesigner Quick Start Guide}}
\\
While this guide is not a manual, it serves as a good tutorial to learn the basics of guiDesigner and iViewer.
===== What is guiDesigner =====
guiDesigner is a windows application that we use to develop graphical user interfaces for our iViewer application. \\
\\
guiDesigner is a powerful tool that allows you to develop a very simple, or an amazingly powerful interface that can be utilised with almost any control system on the market today. \\
\\
The only limit to guiDesigner, is your imagination.
{{:software:gui-designer:xbmc_tvshows.png?nolink&650|}}
[[https://github.com/CommandFusion/XBMC|guiDesigner created XBMC GUI]]
===== Downloading & Installing guiDesigner =====
guiDesigner is available from the [[http://www.commandfusion.com/guidesigner.html|CommandFusion website]]. \\
\\
Make sure that you have the [[http://www.microsoft.com/en-us/download/details.aspx?id=22|Microsoft dot net 3.5 framework]] installed. \\
^It is important to make sure that you have the dot net 3.5 service pack 1 installed, as the dot net framework is not backwards compatible with guiDesigner.^
After you have downloaded guiDesigner, run the .exe file and install it as you would any other Windows program.
===== guiDesigner Layout =====
guiDesigners basic layout looks like this:\\
{{:software:gui-designer:guidesigner_full_screen.png?nolink&750|}}
There are six basic parts of the guiDesigner program that are present is the default layout.
==== Projects Tree ====
This is where all Pages and Subpages for your project are shown.\\
{{:software:gui-designer:projects_tree.png?nolink|}}
==== Theme Manager ====
This is where you define the themes that will be used for all objects in your GUI.\\
{{:software:gui-designer:theme_manager.png?nolink|}}
==== Theme Library ====
This allows you to use pre-defined themes within your projects. These themes can be created and shared by anyone, but at the moment it is a manual process. There are plans to make sharing easier in the future.\\
{{:software:gui-designer:theme_library.png?nolink|}}
==== System Manager ====
This is where you create and manage the communications with your external systems, including commands, macros and feedback parsing within your GUI project.\\
{{:software:gui-designer:system_manager.png?nolink|}}
==== Toolbar ====
The Toolbar allows for quick selection of some of the most commonly used tools in guiDesigner.
==== Workspace ====
The workspace is where all pages are designed.
===== Creating Your First User Interface =====
For this guide, we are going to create a very simple GUI on an iPhone, it will control a TV with a power button and volume up and down buttons.\\
{{:software:gui-designer:finished_demo_gui.png?nolink&300|}}
==== Creating Your Projects ====
The first step is to create a new project. To do this, click on the ''New Project'' button {{:software:gui-designer:new_project_icon.png?nolink|}} on the tool bar (or via the File menu). \\
\\
Then type in your projects filename. The file will not actually be created until you first save your project.\\
Press ''Ok''.\\
\\
This will then bring up the project properties dialogue.\\
{{:software:gui-designer:project_properties_quickstart.png?nolink|}}
Enter a project name and designer name (both are optional).\\
The asset folder is where project assets such as images and sounds will be stored. By default this is set to the same folder as the project file.\\
We recommend you create a new folder for each project, so that all files for each project are nicely separated.\\
\\
The page size is where you choose what device the GUI will be displayed on. For this project we will select iPhone. You can also set a custom size if required.\\
\\
The control system, global token manager and script manager sections are not important for basic features and will be covered in another article.
\\
Click ''OK''\\
\\
==== Pages & Sub-pages ====
Next we need to create some pages and sub-pages. \\
A page occupies the full screen and contains the GUI objects such as buttons and text. A sub-page is a user definable size that can be placed anywhere within a page - an example of a subpage might be a volume bar that you want to re-use across multiple pages.\\
{{:software:gui-designer:page-vs-subpage.png?nolink&750|}}
\\
To create a page, click the ''Create New Page'' button {{:software:gui-designer:create_new_page_icon.png?nolink|}}in the toolbar. \\
This creates a page called “startup” by default in the project tree. Under the page you have each orientation for the page. You can edit the contents of each orientation by double clicking on the appropriate page.\\
If you leave one of the orientations empty, then the GUI will be locked in the orientation which contains GUI objects.\\
\\
We will be using only pages in this project, so go ahead and click the ''Create New Page'' button.
\\
To create a sub-page, click the ''Create New Subpage'' button {{:software:gui-designer:create_new_subpage_icon.png?nolink|}} on the toolbar. \\
This brings up the subpage properties dialogue. Give the subpage a name, a background theme if required - by default it will be transparent. Then choose the size required for the subpage. We won’t be using sub-pages in this guide - it will be covered in a future article.\\
\\
We now have a page in the project tree.\\
{{:software:gui-designer:new_page_in_project_tree.png?nolink|}}
\\
==== Themes ====
Before we add any objects to the pages, we need to create some themes that our objects will use.\\
\\
In this case, we will use a pre-made theme from the theme library. We will be using a new theme called "Gravity" which will be released with the next version of guiDesigner.\\
\\
Go to the theme library, chose the Gravity theme.\\
Click on backgrounds, and choose the portrait background and drag it to the theme manager. You can see a preview of the background in the preview section of the theme library \\
{{:software:gui-designer:gravity_select_background.png?nolink|}}\\
It will automatically be put into the correct theme category for your project and any necessary images will be copied to your project’s directory.\\
{{:software:gui-designer:theme_manager_background_added.png?nolink|}}\\
Now choose buttons in the theme library and scroll down to the button you want to use. We will be using btn_single for all the buttons in this project. The text shown in the preview window can be changed later on. Drag the button to the theme manager.\\
{{:software:gui-designer:theme_manager_button_added.png?nolink|}}\\
==== Adding Objects ====
Now double click the page orientation in the projects tree that you want to edit. For this project we will be using only the portrait mode.\\
This will open up a blank editing window in the workspace.\\
Next, drag the background from the theme manager onto your open page.
{{:software:gui-designer:portrait_background_added.png?nolink|}}\\
Next, drag the button onto the page, repeat this two times so we have a total of three buttons on the page.\\
{{:software:gui-designer:portrait_buttons_added.png?nolink|}}\\
We want the buttons to be neatly aligned, so click the ''Marquee Tool'' {{:software:gui-designer:marquee_icon.png?nolink|}}from the toolbar (shortcut key ‘M’), and select the three buttons. \\
Then click the ''Align Horizontal Centres'' Tool{{:software:gui-designer:align_horizontal_centres_icon.png?nolink|}} and the ''Align Horizontal Centre of Page'' tool{{:software:gui-designer:align_horizontal_centre_of_page_icon.png?nolink|}}. \\
To space our buttons evenly, we can also click the ''Distribute Evenly vertically'' tool{{:software:gui-designer:distribute_evenly_vertically_icon.png?nolink|}}. \\
Now our buttons are neatly placed on the page.\\
{{:software:gui-designer:buttons_neatly_aligned.png?nolink|}}\\
The next task is to label the buttons, so the user knows what button does what.\\
Double click on the top button to bring up the Button Properties Window, add the button text ''Pwr On'' in the text field and tick simulate feedback, this tells the button to go into a pressed state even when there is no feedback.
{{:software:gui-designer:button_properties_add_text.png?nolink|}}\\
As an alternative way to do this, we can click on the text assign tool {{:software:gui-designer:text_assign_tool_icon.png?nolink|}} in the toolbar and click on each button to edit the text shown.\\
\\
Now change the text of the remaining two buttons too ''Vol +'' and ''Vol -''\\
\\
We can select multiple buttons at once by holding the ''Shift'' key and clicking the remaining two buttons.\\
Then right click on one of the buttons and click ''Simulate Feedback''. We have now assigned each button the properties they require.\\
==== Adding One Way Control ====
Now we need to tell the GUI how it is going to control the TV, and add some commands to assign to the buttons.\\
\\
In the System Manager window, click Add System {{:software:gui-designer:add_system_icon.png?nolink|}}. This brings up the System Properties Window where we define the communication properties for the device we want to connect and send commands too.\\
\\
In our case, we are using a CommandFusion LAN Bridge to control the TV via RS232 (serial port).\\
\\
We need to add a system name (LAN Bridge), we will use the TCP protocol and the IP address of our LAN Bridge 192.168.0.10. The default port of the LAN Bridge to route data straight to the on-board RS232 port is 10208. Leave all other settings as default.\\
{{:software:gui-designer:system_properties_filled_in.png?nolink|}}\\
In the system manager window, select the system you just added and click ''Add Command''{{:software:gui-designer:add_command_icon.png?nolink|}}.\\
In the command properties box, type in the command name, and the command value - which is obtained from your hardwares documentation. The command value is the data that will be sent to the system. Do this for the rest of the commands required.\\
{{:software:gui-designer:command_properties.png?nolink|}}
So we require the following commands (examples for the TV we are using, yours will be different):
* Power Toggle ''mc 1 8\x0D''
* Volume Up ''mc 1 2\x0D''
* Volume Down ''mc 1 3\x0D''
{{:software:gui-designer:system_manager_with_commands.png?nolink|}}\\
When you have entered the remaining commands, simply drag each command from the System Manager to its relevant button.\\
Now we are ready to upload the GUI to our device.\\
==== Uploading to Your Device ====
In the file menu, click on ''Upload Service''.\\
{{:software:gui-designer:upload-service.png?nolink|}}\\
Click ''Start'' (or the ‘Enter’ key). This will start a web server that iViewer will use to download your GUI project onto your iOS device. Take note of the URL shown on screen.\\
{{:software:gui-designer:upload_service_started.png?nolink|}}\\
Next, make sure that your device is on the same network as the guiDesigner software is running on.\\
Now we need to go into the settings on our device.\\
[[software:iviewer:how-to-access-iviewer-settings|Navigate to iViewer settings]].\\
\\
Enter the GUI File URL as shown in your guiDesigner Upload service window, including the IP address and the port number. Make sure that Reload GUI Layout and Reload GUI Assets are both on - this forces iViewer to attempt a GUI reload, making sure that the new GUI is loaded onto the device.\\
{{:software:gui-designer:iviewer_settings.png?nolink&300|}}
Multitasking should also be off to ensure that the app is fully closed when not being used so that it will attempt to reload your GUI project on each launch. Once your GUI is tested and no more changes are required, you can change the settings back and it will load the GUI from cache on the device instead.\\
\\
Now close the settings app and launch iViewer - it will load the GUI onto your device and there you have it...the GUI you just designed.\\
{{:software:gui-designer:finished_demo_gui.png?nolink&300|}}
\\
Now you can press the buttons and see if the commands are working as you intended.
===== Trouble Shooting =====
For trouble shooting, you should first check your system properties in the system manager to ensure your communication settings and command values are all correct. If you are still having trouble, contact is via our support page here: http://www.commandfusion.com/support.html \\
For details on more advanced debugging of communications and commands, please see the documentation for debugging JavaScript - it includes an interface to remotely monitor the system connection states, and a log of events.
http://www.commandfusion.com/docs/scripting/debug.html
===== Video Guide =====
A video version of this guide is available here: http://cmdf.us/PC6I8d
{{tag>guiDesigner, iviewer, manual, guide}}
n a webpage with direct links to instantly launch iViewer 5, with or without debugging enabled, to load you... thout having to enter any IP address details into iViewer settings.
===== Version 2.7.7.0913 =====
**Date ... 12th August, 2013\\
==== Changes ====
* Added tag editor.
* Revamped System Manager interface.
... * Added ability to export encrypted zip format. iViewer can now load an encrypted zip file from any web s
====== iPad Mini ======
<WRAP center round info 60%>
There are currently no known issues with CommandFusion iViewer and the iPad Mini.
</WRAP>
iViewer works as intended with the iPad Mini.\\
\\
When using guiDesigner to develop your interface, choose the "iPad" setting under Page Size. This setting works for all iPads.
{{tag>iPad-Mini Mini iPad iViewer guiDesigner}}
{{tag>interface}}
====== Interfacing with CFLink ======
There are two main methods of interfacing with ... e with an onboard RS232 port.
If you want to use iViewer/guiDesigner with CommandFusion hardware, you can