Lesson 1 Tut3: Difference between revisions

From English DMXC-Wiki
No edit summary
 
(61 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<h2 style="{{Style:Hauptseite:Überschrift}}" align="center">DMXControl 3 lessons</h2>
{{Maintitle
<div style="{{Style:Hauptseite:Box}} background-color:#ffffff">
| logo = Im-aim.png
<!-- Rechte Spalte -->
| maintitle = First Steps: {{PAGENAME}}
<div class="floatright" style="width: 78%;  margin-top:-8px;">
}}
{{NavigationTop-Tut3
| LinkForwards = Lesson_2_Tut3
| TextForwards  = Lesson 2
}}


==Overview==
==Overview==
Because the operating concept changed completely compared to DMXControl 2 it is necessary to nearly start all over again for the use of DMXControl 3. These lessons will help you to become familiar with this concept and provide you the skills necessary for the basic characteristics of the new user interface. First of a small glimpse of what is waiting for you (pic.1):
{{Picture_with_subtitle|DMXC3 Overview.jpg|1|A selection of some windows of DMXControl 3|center|600px}}


This lecture introduces into the distributed architecture of DMXControl 3.0. You will learn some facts about the client and server communication and how to operate the kernel.
This lesson is an introduction to the distributed architecture of DMXControl 3.0. You will learn some facts about the client and server communication and how to operate the kernel.  
 
<br><br>
 
==Lecture: Installation and Configuration==
==Lecture: Installation and Configuration==
DMXControl 3 is installed with the help of a setup wizard. It verifies that the required software is installed on the PC (see below) and offers to install it if necessary. Optionally, EasyView (a visualizer) can be selected.


DMXControl 3.0 provides a distributed architecture, i.e. there is a kernel that can communicate with several clients. The kernel runs basically on Windows operating system, but can also be launched on Linux (with Mono).  
DMXControl 3.0 consists of two programs. One acts as server, the other one as client. The server (hereafter referred to as kernel) manages all information related to the project, such as the list of lighting instruments, and the cue list, etc. The kernel runs on the Windows operating system, but can also be launched on Linux (with Mono). The client acts as an interface between the server and the user.
 
One or multiple clients can be started on different systems (Windows, iOS, Android). Thus, you can even work in teams for implementing and performing your show. DMXControl 3.0 supports also cooperation during the life cycle, i.e. you can execute scene lists during your mate is still programming the missing cues!
 
The separation of server and clients provides some benefits:
 
* the kernel continues in case of malfunction in the user interface and continues DMX output
* several users can share the kernel to work in a team
* kernel and user interface could run on different computers


''Advanced note; One or more clients can run on several systems (PCs) in parallel. This structure enables you to work in teams for building and performing your show. DMXControl 3.0 also supports cooperation during the life cycle, i.e. you can execute scene lists during someone else is still programming the missing cues!


''The separation of the server and the client has following advantages:<br />
* ''if the client (user interface) fails, the kernel (server) continues including sending DMX output
* ''several users can share the kernel to work in a team
* ''kernel and user interface could run on different computers
<br>
===The kernel===
===The kernel===
At first, lets start the kernel that is the DMXControl server. Currently this application is called "DMXControl 3 Kernel" or "Lumos.exe" (pic.2).


At first, lets start the kernel, i.e. the DMXControl server. Currently this application is called "Lumos.exe" (hint: in the beta version you have to start the kernel as administrator when you have used the standard installation).
In future a default user don't have to be aware about the kernel process. It will be automatically started with DMXControl and is (hopefully) continuously running.
In future a default user don't have to be aware about the kernel process. It will be automatically started with DMXControl and is (hopefully) continuously running.


[[Datei:DMXC3L01 kernel.JPG|600px]]
{{Picture_with_subtitle|DMXC3L01 kernel.JPG|2|Kernel window with miscellaneous information|center|600px}}
 
During launching the kernel you can observe what is loaded by DMXControl. The kernel is the central master of all information about devices, cues, projects etc. that can be accessed by the clients. And it provides the DMX mixer engine and output system.
 
The kernel provides a command shell. By typing "help" you get an overview about all supported commands.
 
[[Datei:DMXC3L01 konsole.JPG|600px]]
 
 
 
There are some command options in the command line mode for getting detailed information on the status of the kernel:
 
* shutdown: Shut down the kernel.
* status: Displays information about the status
* menu: Access to control menu
* clear: Clears the console
* notification: Send a notification to all clients
* width: Defines width of console (number of characters)
* help: Help menu (also accessible via "?")
 
Additional second level menu commands exists for "menu" and "status".
 
 
 
===The client===
 
In next step you should start the Windows based GUI client (currently called "LumosGUI.exe"). This client will be explained in next lectures. At first you have to select the "Tools->Connection" panel in order to connect with the server.
 


[[Datei:DMXC3L01 connect.JPG]]
During the start-up process of the kernel you can observe what is loaded by DMXControl. The kernel is the central master of all information about devices, cues, projects etc. that can be accessed by the clients. And it provides the DMX mixer engine and output system.


If you have installed a firewall you have to grant the communication between client and server.
The kernel provides a command shell (pic.3). By typing "help" you get an overview about all supported commands.
<br>
{{Picture_with_subtitle|DMXC3L01 konsole.JPG|3|Kernel window with command shell "help" overview|center|600px}}


Here are a few command line options to get more detailed information about the status of the kernel:
*shutdown: Ends the kernel
*status: Displays status information
*menu: menu-access control?
*clear: Clears the console
*notification xxx: Sends a notification to all clients
*width xxx: Specifies the width of the console (number of characters)
*load xxx: Loading a project
*save xxx: Saves the current project
*dmxout [channel, val] +: Sets DMX Out Values
*DMXin [channel, val] +: Sets DMX In Values
*help: help menu (also accessible via '?')


[[Datei:DMXC3L01 startGUI.JPG|600px]]
For further details on ''menu'' and ''status'' see Appendix 2.
<br><br>
===The client / user interface===
In the next step you should start the windows-based user interface (currently called "DMXControl 3 GUI" or LumosGUI.exe"), which is located in the sub-folder "GUI" in the program directory. This client is explained in more detail in the next lessons.
First, however, the communication between kernel and client is initiated automatically. When you start the client a connection window opens. You can also select the Menu ''Connection-->Connect'' in order to connect with the server. In the lower right corner of the DMXControl window there is a small blue/grey server-icon that shows a small cross in red if no connection exists. The connection window also opens if you click on that icon (pic.4).


After establishing the connection you should see a small icon in the lower line of the client indicating the existing connection.
{{Picture_with_subtitle|DMXC3L01 connect.JPG|4|Lumos GUI "Connect to DMXControl Server" window|center|500px}}


Now you are able to load your project. DMXControl will provide a default demo project. You can open it with menue point "Project".
If you have installed a firewall you have to grant the communication between client and server(pic.5).


{{Picture_with_subtitle|DMXC3_Tutorial_Lektion1_Firewall.png|5|Firewall setup|center|700px}}


'''topics to be added (by beta testers)'''
After  establishing the connection you should see a small blue icon in the lower line of the DMXControl main window indicating the existing connection. A red cross indicates that the connection failed.
* how to save a project
*


==Excercise==
{{BoxHint
|Text=If you execute the "LumosGUI.exe" with the parameter "-nonetwork", the kernel will automatically start up a client and connect it directly to the kernel. Thereby you do not have to connect the client manually and the system is ready to go. '''After installation you will find an entry in your start-menu called "DMXControl 3". This option includes this parameter.'''
}}
<br>
===Project Management===
To start a new project, choose '''File => New  Project'''. If you want to save the current project, click on '''File => Save Project''' or '''File => Save Project As...'''. All project files are saved in a zip-file. You can load saved files with '''File => Load Project'''.


The name of current project is indicated in the top line of DMXControl window.
<br><br>
==Exercise==
1) Please try following commands in command shell:
1) Please try following commands in command shell:
* menue
* menu
* status
* status
* shutdown -> uups!  
* shutdown -> uups!  
<br>
2) Restart kernel and GUI and connect your client ("DMXControl 3 GUI") with DMXControl server.


2) Restart kernel and GUI and connect your client with DMXControl server.
3) Try it: exit your DMXControl GUI by task manager and start again: The kernel continues running.
 
<br><br>
 
Congratulation! Now you have successfully installed your own DMXControl configuration!
Congratulation! Now you have successfully installed your own DMXControl configuration!
 
<br><br>
 
==Assumptions for installation==
==Assumptions for installation==
 
DMXControl 3.0 requires following software to be installed:
DMXControl 3.0 requires following software to be installed before executing the setup program:


* DirectX 9.0c
* DirectX 9.0c
Line 93: Line 94:
* XNA Framework 3.0(xnafx30_redist.msi)
* XNA Framework 3.0(xnafx30_redist.msi)


{{BoxHint
|Text = In the GUI folder, there is a program called '''GraphicalView.exe'''. With this program, you can check your system for compatibility with DMXControl 3. It contains a test scene.
}}
<br>
==Additional links and references==
==Additional links and references==
# [http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=9226A611-62FE-4F61-ABA1-914185249413&displaylang=de DirectX 9.0c]
# [http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=9226A611-62FE-4F61-ABA1-914185249413&displaylang=de DirectX 9.0c]
# [http://www.microsoft.com/downloads/de-de/details.aspx?FamilyID=333325fd-ae52-4e35-b531-508d977d32a6 .NET Framework 3.5]
# [http://www.microsoft.com/downloads/de-de/details.aspx?FamilyID=333325fd-ae52-4e35-b531-508d977d32a6 .NET Framework 3.5]
# [http://www.microsoft.com/downloads/de-de/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7 .NET Framework 3.5 Service Pack 1]
# [http://www.microsoft.com/downloads/de-de/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7 .NET Framework 3.5 Service Pack 1]
# [http://www.microsoft.com/downloads/details.aspx?FamilyID=6521d889-5414-49b8-ab32-e3fff05a4c50&displaylang=en XNA Framework 3.0] (Has to be installed even if a higher version of XNA framework is already installed)
# [http://www.microsoft.com/downloads/details.aspx?FamilyID=6521d889-5414-49b8-ab32-e3fff05a4c50&displaylang=en XNA Framework 3.0] (Has to be installed even if a higher version of XNA framework is already installed)
 
==Known Issues==
 
===GUI Elements display glitches===
This could look like shown below:
Also if you move windows it happens that thay are not displayed correct.
 
[[Datei:Dmxc_3_menu_errors.jpg|600px]]
 
This can occur if you have a NVidia graphics card an use an old driver version.
 
I experienced this issue with a GeForce G 103M Driver Version 258.96 + PhysX 09.10.0513 on Windows XP x86_64.
 
Consider updating the driver to the latest version. Version 266.58 + PhysX 09.10.0514 is known to work.
 
==Certificate==
I have understood the topics of this lecture and want to continue with next course:
[http://www.dmxcontrol.de/mediawiki_beta/index.php?title=Einsteiger:Lesson2/en Lecture2: The panel concept]
 
</div>
 
<!-- Linke Spalte -->
<div style="{{Style:Hauptseite:Box}} width: 17%; background-color:#f5faff">
{{DMXC3_lesson/en}}
</div>
 


{{NavigationTop-Tut3
| LinkForwards = Lesson_2_Tut3
| TextForwards  = Lesson 2
}}
__NOTOC__
__NOTOC__
{{Languages|Einsteiger:lesson1}}
__NOTITLE__
[[de:Lektion_1_Tut3]]
[[Category: Tutorials DMXControl 3]]

Latest revision as of 22:18, 5 February 2019

[[File:{{{Logo}}}|48px|link=]] {{{Pagetitle}}}


Lesson 2 Arrow forw.png
table of content

Overview

Because the operating concept changed completely compared to DMXControl 2 it is necessary to nearly start all over again for the use of DMXControl 3. These lessons will help you to become familiar with this concept and provide you the skills necessary for the basic characteristics of the new user interface. First of a small glimpse of what is waiting for you (pic.1):


Picture 1: A selection of some windows of DMXControl 3
Picture 1: A selection of some windows of DMXControl 3


This lesson is an introduction to the distributed architecture of DMXControl 3.0. You will learn some facts about the client and server communication and how to operate the kernel.

Lecture: Installation and Configuration

DMXControl 3 is installed with the help of a setup wizard. It verifies that the required software is installed on the PC (see below) and offers to install it if necessary. Optionally, EasyView (a visualizer) can be selected.

DMXControl 3.0 consists of two programs. One acts as server, the other one as client. The server (hereafter referred to as kernel) manages all information related to the project, such as the list of lighting instruments, and the cue list, etc. The kernel runs on the Windows operating system, but can also be launched on Linux (with Mono). The client acts as an interface between the server and the user.

Advanced note; One or more clients can run on several systems (PCs) in parallel. This structure enables you to work in teams for building and performing your show. DMXControl 3.0 also supports cooperation during the life cycle, i.e. you can execute scene lists during someone else is still programming the missing cues!

The separation of the server and the client has following advantages:

  • if the client (user interface) fails, the kernel (server) continues including sending DMX output
  • several users can share the kernel to work in a team
  • kernel and user interface could run on different computers


The kernel

At first, lets start the kernel that is the DMXControl server. Currently this application is called "DMXControl 3 Kernel" or "Lumos.exe" (pic.2).

In future a default user don't have to be aware about the kernel process. It will be automatically started with DMXControl and is (hopefully) continuously running.


Picture 2: Kernel window with miscellaneous information
Picture 2: Kernel window with miscellaneous information


During the start-up process of the kernel you can observe what is loaded by DMXControl. The kernel is the central master of all information about devices, cues, projects etc. that can be accessed by the clients. And it provides the DMX mixer engine and output system.

The kernel provides a command shell (pic.3). By typing "help" you get an overview about all supported commands.


Picture 3: Kernel window with command shell "help" overview
Picture 3: Kernel window with command shell "help" overview


Here are a few command line options to get more detailed information about the status of the kernel:

  • shutdown: Ends the kernel
  • status: Displays status information
  • menu: menu-access control?
  • clear: Clears the console
  • notification xxx: Sends a notification to all clients
  • width xxx: Specifies the width of the console (number of characters)
  • load xxx: Loading a project
  • save xxx: Saves the current project
  • dmxout [channel, val] +: Sets DMX Out Values
  • DMXin [channel, val] +: Sets DMX In Values
  • help: help menu (also accessible via '?')

For further details on menu and status see Appendix 2.

The client / user interface

In the next step you should start the windows-based user interface (currently called "DMXControl 3 GUI" or LumosGUI.exe"), which is located in the sub-folder "GUI" in the program directory. This client is explained in more detail in the next lessons. First, however, the communication between kernel and client is initiated automatically. When you start the client a connection window opens. You can also select the Menu Connection-->Connect in order to connect with the server. In the lower right corner of the DMXControl window there is a small blue/grey server-icon that shows a small cross in red if no connection exists. The connection window also opens if you click on that icon (pic.4).


Picture 4: Lumos GUI "Connect to DMXControl Server" window
Picture 4: Lumos GUI "Connect to DMXControl Server" window


If you have installed a firewall you have to grant the communication between client and server(pic.5).


Picture 5: Firewall setup
Picture 5: Firewall setup


After establishing the connection you should see a small blue icon in the lower line of the DMXControl main window indicating the existing connection. A red cross indicates that the connection failed.


 Important Hint If you execute the "LumosGUI.exe" with the parameter "-nonetwork", the kernel will automatically start up a client and connect it directly to the kernel. Thereby you do not have to connect the client manually and the system is ready to go. After installation you will find an entry in your start-menu called "DMXControl 3". This option includes this parameter.


Project Management

To start a new project, choose File => New Project. If you want to save the current project, click on File => Save Project or File => Save Project As.... All project files are saved in a zip-file. You can load saved files with File => Load Project.

The name of current project is indicated in the top line of DMXControl window.

Exercise

1) Please try following commands in command shell:

  • menu
  • status
  • shutdown -> uups!


2) Restart kernel and GUI and connect your client ("DMXControl 3 GUI") with DMXControl server.

3) Try it: exit your DMXControl GUI by task manager and start again: The kernel continues running.

Congratulation! Now you have successfully installed your own DMXControl configuration!

Assumptions for installation

DMXControl 3.0 requires following software to be installed:

  • DirectX 9.0c
  • .NET Framework 3.5 SP1 or higher
  • XNA Framework 3.0(xnafx30_redist.msi)


 Important Hint In the GUI folder, there is a program called GraphicalView.exe. With this program, you can check your system for compatibility with DMXControl 3. It contains a test scene.


Additional links and references

  1. DirectX 9.0c
  2. .NET Framework 3.5
  3. .NET Framework 3.5 Service Pack 1
  4. XNA Framework 3.0 (Has to be installed even if a higher version of XNA framework is already installed)
Lesson 2 Arrow forw.png
table of content