Question about inte...
 
Notifications
Clear all

Question about interfacing Vixen with a generic plugin

16 Posts
6 Users
0 Reactions
6,739 Views
Posts: 38
 gte
Topic starter
(@gte)
Trusted Member
Joined: 15 years ago
[#16920]

I have my own code written for a uC that I'd like to have Vixen send the syntax serially. Is this possible? Can I have Vixen send a command serial such as "lightChannel1=1" and "lightChannel1=0" ? Or whatever syntax command I would like?

If so, is this done through a plugin dll?


15 Replies
budude
Posts: 10400
(@budude)
Illustrious Member
Joined: 18 years ago

Well - you could emulate the Renard controllers that are used extensively on this site. The data stream is fairly simple and you can use the standard Renard Dimmer plug-in (protocol 1).
See the Wiki here: http://www.doityourselfchristmas.com/wiki/index.php?title=Renard


Reply
Posts: 2216
(@ctmal)
Famed Member
Joined: 19 years ago

There is also a generic serial plugin. I've never used it but it might be along the lines of what you're looking for.


Reply
erm213
Posts: 479
(@erm213)
Honorable Member
Joined: 16 years ago

If you need to implement a custom protocol, you can write a plugin to do that.

Erik


Reply
Posts: 38
 gte
Topic starter
(@gte)
Trusted Member
Joined: 15 years ago

I'm really looking to write my own serial communication protocol and have Vixen send it during even event that I graph visually inside of Vixen. I'm hoping this is possible.


Reply
Posts: 38
 gte
Topic starter
(@gte)
Trusted Member
Joined: 15 years ago

That is excellent to hear Erik!

Where can I find more information on this?

erm213 wrote:If you need to implement a custom protocol, you can write a plugin to do that.

Erik


Reply
dirknerkle
Posts: 10310
(@dirknerkle)
Illustrious Member
Joined: 18 years ago

Welcome to DIYC! And Happy Halloween at the same time!

You've already received excellent guidance -- plugins for Vixen are generally written in C# although you're certainly welcome to take a crack at it in other languages if you like... Information about how to do it is in the Wiki as well as in one of the forums... Since you've already written your own code for the uC, sounds like you should be able to manage it just fine.

Lots of schmartt people here -- excepting me -- so feel free to pick their brains. Especially tonite -- an appropriate task indeed!!! BWWWAAAAAAHHHHHHAAAAAHHHAAAAAAA!!!!

Again, welcome!


Reply
erm213
Posts: 479
(@erm213)
Honorable Member
Joined: 16 years ago
gte wrote:That is excellent to hear Erik!

Where can I find more information on this?

http://www.doityourselfchristmas.com/wiki/index.php?title=Vixen_Plugin_Development

There is a start.

Erik


Reply
Posts: 38
 gte
Topic starter
(@gte)
Trusted Member
Joined: 15 years ago

Thank you, I will read up on that


Reply
Posts: 38
 gte
Topic starter
(@gte)
Trusted Member
Joined: 15 years ago

Where in OutputPlugin:IEventDrivenOutputPlugIn are events fired based on the numerical values inside of the vixen audio mapping gui?

Does vixen reference public void Event(byte[] channelValues) each time it sees a change in the gui values?


Reply
Page 1 / 2
Share: