My First [fully working] Vixen AddIn

The last few nights I’ve spent working on my first Vixen AddIn. I wanted a way to individually set the levels of separate channels so that I could play with different color mixes on my Pixels. The built in Channel test feature only lets you set the intensity of all selected channels at once, not individually. I started looking at other software that might do what I wanted, especially since the Lynx dongle was based on the Enttec Pro, I thought I could find some free DMX console software that would do what I wanted. I couldn’t make anything work, so I went back to Vixen, since I knew it could talk to the dongle.

I started poking around with the previously mentioned Red Gate’s .Net Reflector, and found how the built in channel test feature worked and figured out how the addins worked. The tough part was determining how to access the IExecution object, when none was passed to the addin. I found some code that I still don’t completely understand, but seems to return an instance of whatever interface you are looking for, so in this case I told it I wanted an IExecution object, and it went looking for one and if it found one, gave it back to me. Once I had this object it was fairly trivial to send channel values to it to then be output to the dongle. The nice thing about doing it this way is it will work with whatever output plugin(s) you are using, whether it be DMX, Renard, or whatever.

**DISCLAIMER**
I have only tested this with Vixen 2.1.0.0, and only on my development system. While the AddIn shouldn’t do anything harmful to your vixen sequences or your system, I make no guarantees of that as this is alpha software. Please take the appropriate precautions of backing up your Vixen install and your sequences before trying this AddIn.

AddIn DLL (multichanneltest.zip)

You should just be able to unzip the DLL into your “AddIns” directory within your Vixen install. Once this file is in your AddIns directory, Starting Vixen should yield a “Multi Channel Test” entry in your Add-ins menu. The AddIn will not work if a sequence is not loaded, and it will politely tell you so. Once a sequence is loaded, choose the Multi Channel Test entry from the Add-Ins menu to start.

Along the top are the boxes for the channels, these are the channels that the sliders will control. If you want them to all be sequential, set the first channel to the desired start channel and then click the “Auto Number” button.

The bottom boxes will show the current intensity for the given slider. This may or may not be the actual intensity of the channel depending on the setting of the master slider. The master slider overrides any values set in the individual sliders.

As I said, this is a rough alpha version as a proof of concept. It does what I intended it to do so I’m not quite sure what if any improvements I will make, here is the [download id=”1″], so you can tear it up to your heart’s desire.

In testing the AddIn I found that the first pixel I built already had a Green LED go bad. It was keeping all three in the section from lighting. At first I wasn’t quite sure how to figure out which of the three was causing the problem. I put the volt meter on each of the three and found that two were reading 2.2V and one was reading 6.2V (they should all read about 3.2V). I was figuring it was the 6.2V that was the bad one, but just to be sure I put a known good one across the bad one’s legs, and the known good one along with the other two lit right up so this further reinforced my guess. I de-soldered it and popped the new one in and it worked like a charm. Hopefully I don’t have to go through that too many more times.
Multi Channel Test Window

2 Comments

  1. 1
    Stephen Oakes Says:

    There seems to be an issue when trying to download the file. Can you renew the link or email it to me?

    Thanks

  2. 2
    Chris Says:

    The download doesn’t seem to work. I am working on something similar and would like to see how you got it to work. Is it possible to send this file to me?

    Thanks,
    Chris

RSS Feed for this entry