Print Page | Close Window

Programming "RGB"

Printed From: Aurora
Category: Aurora Sequencer Software
Forum Name: Aurora 1.0.90 In DMX Mode
Forum Discription: Using the unofficial DMX patch
URL: http://www.aurorashow.com/forum/forum_posts.asp?TID=1210
Printed Date: 27 Apr 2024 at 5:50am
Software Version: Web Wiz Forums 9.06 - http://www.webwizforums.com


Topic: Programming "RGB"
Posted By: Phippers
Subject: Programming "RGB"
Date Posted: 22 Sep 2011 at 9:30am
A little confused.

   To use the RGB function, I choose it, and then it asks for the Network (Which is 32 because I am using DMX) then the First column I am assuming is the Device ID? The second is the actual DMX channel on the device, so for my 4 channel native DMX par-can it would be 2, 3, and 4. But, is the first column the starting channel for the device, or is it the device number?

THanks in advance :)
   -Matt



Replies:
Posted By: LightsOnLogan
Date Posted: 22 Sep 2011 at 10:45am
Since this is a "hack", you will need to translate the DMX channel number into a device/channel combination.  This is a bit awkward, but it can be done like this:

Channels 1-16:
Device 1, channels 1-16

Channels 17-32
Device 2, channels 1-16

...etc.

The specific math to compute these:
RoundUp (DMX_Channel/16) = Aurora_Device
DMX_Channel - ((Aurora_Device - 1) * 16)  = Aurora_Channel

In your case, use network 32, device 1, and channels 2, 3, 4.


Michael


-------------
http://www.aurorashow.com/">


Posted By: Phippers
Date Posted: 22 Sep 2011 at 12:05pm
Got it! Thank you Michael, I cannot express how excited I am to use the DMX this year. I really appreciate you letting me use the hack!

I'm sure there will be more questions as the year progress, and testing starts.
-Matt


Posted By: Phippers
Date Posted: 30 Sep 2011 at 6:52pm
Hey, just hooked up my lights, and I'm getting a flash of colors, and not the ones that are supposed to be up, is there anything I need to change with the Network? I'm %95 sure my DMX address' are correct, and that it was set up correctly in the channell editor.
 
Just thought I'd post something up, Still working through it as well. :)
 
-Matt


Posted By: LightsOnLogan
Date Posted: 30 Sep 2011 at 7:57pm
What color were you commanding and what color did you get?

To help diagnose this, try the primary colors first (red, green, blue) to determine which color channel is ending up doing what.

Michael


-------------
http://www.aurorashow.com/">


Posted By: Phippers
Date Posted: 30 Sep 2011 at 8:14pm
Thanks for the quick reply!
 
   I did just that, started a new program, added an "RGB (over ACX16....." Did Network 32, and then Device ID's 1, and 2, 3, and 4 for the channells. Tried just Primary Red, Green, and Blue, and nothing now, not even a flash of light.
 
on another topic, what is the difference between:
Set D2XX Ramp Rate
Use D2XX Comm
 
-Really appreciate the help!


Posted By: Phippers
Date Posted: 01 Oct 2011 at 7:15am
So, I found with these cans I need to use the 1st channel as well, and keep the intensity up, however, I was having slight problems with the lights flashing at random times. So my question is, will this version not fade the colors? Is that where Dewey's Hack needs to come in? You mentioned that the "Ramp feature" is not available yet, so does that mean no RGB fades either?

-Matt


Posted By: LightsOnLogan
Date Posted: 01 Oct 2011 at 12:09pm
Yes, you will need to use Dewey's hack for anything other than the set color command.  His hack converts the color ramping/transitioning into multiple set color commands.

Michael


-------------
http://www.aurorashow.com/">


Posted By: LightsOnLogan
Date Posted: 01 Oct 2011 at 12:14pm
BTW, it sounds like your fixture is Y(luma)RGB, meaning you have a global luminance channel in addition to your three color channels. 

Although this channel is unnecessary for mixing colors in Aurora, it finds its way onto DMX fixtures because when connected to a lighting mixer (a more typical usage), it allows one fader to be able to fade in/out the fixture without altering its hue.  You should be able to simply lock this channel to 100% in Aurora and use the RGB set color adjustments instead.

Michael


-------------
http://www.aurorashow.com/">


Posted By: Phippers
Date Posted: 03 Oct 2011 at 1:38pm
Perfect! I will try to mess with Dewey's hack a little bit more, I was having issues with loading the NDC earlier, but I'll give it a shot!

Also, YES! I finally found out about the Luminance channel, I felt kind of unobservant, and now they will change static colors.

I'll keep you updated! Thank you so much for all this help. This year is going to be GREAT!

-Matt


Posted By: LightsOnLogan
Date Posted: 03 Oct 2011 at 2:51pm
When Aurora gets support for proper RGB we will provide better tools for handling the luminance channel.

-------------
http://www.aurorashow.com/">


Posted By: deweycooter
Date Posted: 03 Oct 2011 at 4:23pm
Let me know how the hack goes.

-------------
http://www.deweycooter.com/wiki/index.php/Aurora - Aurora Lights Wiki
http://www.aurorashow.com/">


Posted By: Phippers
Date Posted: 04 Oct 2011 at 2:05pm

Can't wait to see the new version with DMX on it Michael, it's going to be amazing. For now, I'm just going to hold the Luminance on full throughout the whole sequence.

 
Dewey, great to see you join the thread, I'll be trying to tonight, and I'll let you know what I find.
 
-Matt


Posted By: Phippers
Date Posted: 05 Oct 2011 at 8:02pm
Allllright,
 
   Finally got to it after work today.
 
 
   FOR DEWEYS HACK
 
   When I bring the sequence in, under the Collumns where you should see the networks, and controllers, it shows a "-".  then when I go to "Load all" I am recieving this Error:
 
 
"Unhandled Exception has occured in your application. If you Click Continue..... (Explainig Quit will close program, continue will ignore, and continue.)
 
The Connection cannot be used to preform this opperation. It is either closed or invalid in this context."
 
 
 
Under The Details it says:
 
 
 
 
 
 
-------------------------------------------------
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x800A0E7D): The connection cannot be used to perform this operation. It is either closed or invalid in this context.
   at AuroraData3.FileClass.Load(String FileName, FileType FileType)
   at Reconfig.cMainForm.LoadAll(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll - file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Reconfig
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///K:/Christmas%202011/Sequencer/ReconfigNov19/Reconfig.exe - file:///K:/Christmas%202011/Sequencer/ReconfigNov19/Reconfig.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4961 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll - file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4962 (win7RTMGDR.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll - file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll - file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll - file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll - file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 -------------------------------------------------------------------
 
 
 
 
 
 
Hope you can help :)
 
-Matt


Posted By: Phippers
Date Posted: 06 Oct 2011 at 7:30am
One more thing I thought I might add is that when I try to use the DMX Hack, it will pop up a window for a split second, then go away, and nothing happens. I would assume this would work once the error mentioned above is found out.

-Matt


Posted By: deweycooter
Date Posted: 10 Oct 2011 at 10:34am
Oops sorry - didn't see this come in.

Are you just wanting to do the DMX Hack?  If so, no need to go through anything on the Config by Template tab:
* Select the DMX Hack tab.
* Click Browse and navigate to your sequences directory.
* Check the box next to a sequence you'd like to convert to DMX.
* Settings: 
  - Change network __ to DMX Network __  <-- this changes the network to another value, for Aurora DMX, the TO value should be 32. 
  - Event spacing <-- this is the value for the DMX update frequency.  I've always left this at 50.  It affects how the values are calculated, ie, if you have a fade out ramp, it will recalculate the values every 50 ms.
* Click Process. 

A new file should be generated named DMXHack_[originalfilename.dls].  It won't overwrite your original file, but now's a good time to make sure you have a backup on another computer anyway.  :)


-------------
http://www.deweycooter.com/wiki/index.php/Aurora - Aurora Lights Wiki
http://www.aurorashow.com/">


Posted By: Phippers
Date Posted: 13 Oct 2011 at 2:23pm
Allright, so after a little trial and error, I seem to have possibly found a winning combination.
 
For some reason, the DMX Hack did not work on Windows 7. It would bring up the screen after you hit process for a split second, and then dissapear. So, I put the file, and the hack on a flash drive, and put it on an old laptop that had xp on it. That seemed to work. After taking all night to process, I tried it, and Nothing. Then after another frustrating day of trial and error, I got the lights to behave real well without the hack. Then, last night I exported it, and I saw it right before I left for work, and it Processed. Excited to get home, and see if it worked!
 
-Matt


Posted By: Phippers
Date Posted: 13 Oct 2011 at 6:06pm
It still does not seem to be working (The Hack). Can I send you my Sequences, and see what you can decifer?


Posted By: deweycooter
Date Posted: 13 Oct 2011 at 10:09pm
Yes please.  Send me a problem sequence - deweycooter at gmail.  I'll assume I can follow the steps I outlined in order to reproduce the error - let me know what values you used for networks and timing.

It shouldn't take real long to process.  I don't remember how long to expect, but I didn't think it was more than a few minutes.

If you've ever done a W2E event, that's what a ramp will look like once it's been ran thru DMX Hack - a timing mark at the beginning and end, and distinct shades in the span of the event representing the different intensity values.

I don't think I've used Win7 with it yet.  Looks like I need to get some stuff ironed out yet...


-------------
http://www.deweycooter.com/wiki/index.php/Aurora - Aurora Lights Wiki
http://www.aurorashow.com/">


Posted By: Phippers
Date Posted: 13 Oct 2011 at 10:11pm
One more Note. I found on Windows 7, you have to "Run as Administrator", then the screen will stay up. I'm having problems now where it will stick on a certain event, and not process it. I'll send you it now. thanks again!


Posted By: Phippers
Date Posted: 15 Oct 2011 at 2:54pm
Did you get my E-mail? I got the hack working, but the exported file is not on the right channels anymore.



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums® version 9.06 - http://www.webwizforums.com
Copyright ©2001-2007 Web Wiz - http://www.webwizguide.com