CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:gui-designer:joins

Differences

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

Link to this comparison view

software:gui-designer:joins [2013/10/07 03:01]
aaron [Analog Joins]
software:gui-designer:joins [2013/10/29 03:22] (current)
jarrod
Line 32: Line 32:
 Within guiDesigner,​ analog join numbers will appear on a red background above the object the join is assigned to when 'View > Display Object Join Numbers'​ is enabled. Within guiDesigner,​ analog join numbers will appear on a red background above the object the join is assigned to when 'View > Display Object Join Numbers'​ is enabled.
  
-The image below gives shows how a basic digital ​join system can work. Please note that this is only showing one of many possible ways that digital ​joins can work.+The image below gives shows how a basic analog ​join system can work. Please note that this is only showing one of many possible ways that analog ​joins can work.
  
 {{:​software:​gui-designer:​analog_joins.png?​nolink|}} {{:​software:​gui-designer:​analog_joins.png?​nolink|}}
  
-In the system shown above we are turning ​adjusting the volume level on an AV Receiver and getting feedback from the Receiver which updates the slider ​state to reflect the current level. This means that if the level is changed from another GUI or on the unit direct, the level is updated automatically. It would work as follows:+In the system shown above we are adjusting the volume level on an AV Receiver and getting feedback from the Receiver which updates the slider ​value to reflect the current level. This means that if the level is changed from another GUI or on the unit directly, the level is updated automatically. It would work as follows:
   - The slider with an analog of 20 is dragged to the desired level   - The slider with an analog of 20 is dragged to the desired level
   - This sends a volume level command, via the TCP socket to the AV receiver   - This sends a volume level command, via the TCP socket to the AV receiver
-  - The AV receiver adjusts its level as per the command ​send and feedback data is send back via the TCP socket +  - The AV receiver adjusts its level as per the command ​sent and feedback data is replied ​via the TCP socket 
-  - The feedback data is processed to see if it is feedback data which relates to the volume level of the AV Receiver +  - The feedback data is processed to see if it relates to the volume level of the AV Receiver 
-  - If it is, then the feedback processing you programmed into iViewer captures the volume level. The slider is automatically updated to show the volume level that the AV Receiver is currently set to+  - If it does, then the feedback processing you programmed into iViewer captures the volume level. The slider is automatically updated to show the volume level that the AV Receiver is currently set to
  
 ===== Serial Joins ===== ===== Serial Joins =====
Line 50: Line 50:
  
 Within guiDesigner,​ serial join numbers will appear on a black background above the object the join is assigned to when 'View > Display Object Join Numbers'​ is enabled. Within guiDesigner,​ serial join numbers will appear on a black background above the object the join is assigned to when 'View > Display Object Join Numbers'​ is enabled.
 +
 +The image below gives shows how a basic serial join system can work. Please note that this is only showing one of many possible ways that serial joins can work.
 +
 +{{:​software:​gui-designer:​serial_joins.png?​nolink|}}
 +
 +In the system shown above we are touching a button which sends a command to the AV Receiver to go to the next input. The AV Receiver would then send feedback to the GUI, automatically showing the name of the input on the button. It would work as follows:
 +  - The button with a serial join of 20 is touched
 +  - This sends a next input command, via the TCP socket to the AV receiver
 +  - The AV Receiver switches its input as per the command sent and feedback data is replied via the TCP socket
 +  - The feedback data is processed to see if it relates to the input name of the AV Receiver
 +  - If it does, then the feedback processing you programmed into iViewer captures the input name. The button text updates to show the input name that the AV Receiver is currently set to
  
 ===== List Joins ===== ===== List Joins =====
Line 55: Line 66:
 A list join is used to identify a List object. A list join is used to identify a List object.
  
-Within guiDesigner,​ list join numbers will appear on a red background above the object the join is assigned to when 'View > Display Object Join Numbers'​ is enabled.+Within guiDesigner,​ list join numbers will appear on a purple (dark red in older versions of guiDesigner) ​background above the object the join is assigned to when 'View > Display Object Join Numbers'​ is enabled. 
 + 
 +The image below gives shows how a basic list join system can work. Please note that this is only showing one of many possible ways that list joins can work. 
 + 
 +{{:​software:​gui-designer:​list-joins.png?​nolink|}} 
 + 
 +In this example, the user is selecting an album. A list is then being populated with the album track information. It would work as follows: 
 +  - The user selects the album by pressing the "​Select Album" button. This could be any way of selecting an album e.g. pressing an album cover 
 +  - iViewer requests the album track list from the media server 
 +  - iViewer then looks at the data returned from the media server and determines if it is a track item. (In this example we are loading one track item at a time, and tracks 1 and 2 have already been loaded) 
 +  - iViewer creates a new list item at the end of list join 20 (the list we are populating with track items) 
 +  - iViewer then sets serial join 1 to the track number of the next track. In this case it is track 3 
 +  - Then iViewer sets serial join 2 as the track name 
 +  - The process then starts again with the next track until there are no tracks remaining
  
 ===== Join Numbers ===== ===== Join Numbers =====
software/gui-designer/joins.1381114870.txt.gz · Last modified: 2013/10/07 03:01 by aaron