Vixen Plugin Development

From doityourselfchristmas.com
Revision as of 03:06, 13 August 2008 by Matt (talk | contribs)
Jump to navigation Jump to search

Although Vixen provides a standard set of plugins for a variety of hardware, individuals with different or custom hardware will need to develop their own plugin. Plugin development requires Microsoft Visual Studio, or another development environment for coding and compilation using Microsoft's .NET framework.

Example Source Code

Source code for the Parallel 12 plugin is available to assist plugin developers. The plugin is written in C# and works with Vixen 1.*.

Modifications are required for the plugin to work with Vixen 2.0:

  • Change the Parallel12 class to implement the IEventDrivenOutputPlugIn, IOutputPlugIn, IPlugIn interfaces instead of the PlugIn interface.
  • Change the first parameter of the the Initialize to IExecutable executable. The List<Channels> Channels property of IExecutable can be used in place of the Channel[] channels parameter.
  • In the get method for the HardwareMap property, change the call to new HardwareMap to pass the string constant "Parallel" as its first parameter. The enumeration PortType no longer exists.

Resources