Diff between runnin...
 
Notifications
Clear all

Diff between running in Sequencer vs. Show mode?

40 Posts
3 Users
0 Reactions
13 K Views
jchuchla
Posts: 8691
(@jchuchla)
Illustrious Member
Joined: 15 years ago

It sounds like you're learning why most of the standard lighting protocols use streaming data as opposed to scene change commands.

--Jon Chuchla--

Sent from my iPhone using Tapatalk


Reply
Posts: 62
Topic starter
(@etorres)
Trusted Member
Joined: 13 years ago

True, Jon. Learning a bit too late. 🙂

I've now tested with 1, 2, 3, 4, and 5 sequences in a show. Many, many hours and if I wasn't sick of the songs already, I am now... I didn't see the errors start happening until the sequence had 5 songs in it (approx. 17 minutes total of sequences). It doesn't happen in the same place or even at all after stopping and starting so I can't find a pattern. And I can't be sure it won't ever happen with smaller number of sequences, but I didn't see it.


Reply
jchuchla
Posts: 8691
(@jchuchla)
Illustrious Member
Joined: 15 years ago

Vixen relies a lot on interpolation of values. But that shouldn't happen with custom value. That's the point of that effect. Which data type are you sending? And what is the duration of that custom value effect?

--Jon Chuchla--

Sent from my iPhone using Tapatalk


Reply
Posts: 62
Topic starter
(@etorres)
Trusted Member
Joined: 13 years ago

I'm sending 8-bit values exclusively and the durations vary - always staying above .05 seconds and nothing much longer than half a second. To my Arduino sketch, the duration is meaningless so any variation in duration is simply for ease of looking at it on the timeline in the Sequence Editor. The data I'm getting is mostly as expected - 0, 0, 0, 0, 35, 35, 35, 35, 0, 0, 0, 0 - for instance. There doesn't appear to be any interpolation going on. When things go bad, I just start getting a different value for my custom value effect. So instead of seeing a string of let's say 35's, I see some other value like 57. It seemingly has no relation to what's come before or after - it's just wrong. And it's totally fine when run from the Sequence Editor so something gets wonky when running a show.


Reply
jeffu231
Posts: 2459
(@jeffu231)
Famed Member
Joined: 15 years ago

There is a debug values controller available. Could you add it and remap your outputs to see what is coming out of Vixen? I just did that with a very very simple test with 5 10 second sequences each one spitting out a single value one 1 of 5 elements for the first 5 secs. I watched it run for a few minutes and I saw the values I expected. Again overly simple, but if you could do the same just to confirm the right values coming through Vixen. Maybe we can narrow this down a bit.

Jeff


Reply
Posts: 62
Topic starter
(@etorres)
Trusted Member
Joined: 13 years ago

OK. I did that. Is there a way to save the stream of data? I can see in the first sequence that things were wrong right away but it's very hard to narrow it down as things fly by.

Separately, I've saved the output from one of the XBee's to compare that data with the expected Vixen values (from an export I did of the sequence) and I'm pouring through it at the moment. I don't see the zero's, which my output Arduino eats, so exact timing is hard to pin down but I can see some errors.

One example, four bytes that should have been 0x54, come through as 0x78. The set before and after are correct. Another set of two bytes is missing (presumably became 0's which I don't see). Later it gets really off, sending a stream of 47 0x4E's when it should have sent 3 and then changed to other bytes. Hard to find any pattern in the errors.


Reply
Posts: 62
Topic starter
(@etorres)
Trusted Member
Joined: 13 years ago

After a stop and start of the show, the first sequence is now showing the correct values in the debug values controller window. Good call to try that. That seems to confirm that Vixen is sending out the wrong bytes at times and that stop and restart changes where things are wrong (or make it correct altogether).


Reply
jeffu231
Posts: 2459
(@jeffu231)
Famed Member
Joined: 15 years ago

There is no way to save them in that test controller, but if you can zip up your entire Vixen profile and land it on dropbox or something like that for me to look at. I can run it in the debugger and see if I can figure out what is going on.

Jeff


Reply
Posts: 62
Topic starter
(@etorres)
Trusted Member
Joined: 13 years ago

OK. Here's a link to my entire Vixen directory zipped up. I wish I had a 100% repeatable case for you. It'll be fine (or mostly fine) sometimes and other times not. The show with 5 sequences in it is called "All I Want+". One hint is I often see more errors after completely shutting down Vixen and having it come up with the show enabled. That might be a red herring, but...

https://drive.google.com/file/d/0B753CuHHaj8RRkVsdXpOWC1LR00/view?usp=sharing

Thanks for giving it a look.

Erik


Reply
jeffu231
Posts: 2459
(@jeffu231)
Famed Member
Joined: 15 years ago

Ok, here is what I think is going on for you. I was looking at the All I want for Christmas is you sequence. Many of your custom value effects are around or even less than 50ms in length. The default update interval is 50ms. That does not mean is is guaranteed to update on the 50ms, 100ms, 150ms intervals on your sequence. In fact the engine has no knowledge of you actual sequence. It just wakes up and does an update and whatever is an active effect at that time. The next update comes along ~50ms later. There is not guarantee it will be exactly at 50ms. It could be a ms or two either way. So in a nut shell I think may be seeing effects be missed because they are not falling at a point to hit your effect. I saw this in the editor as well as the scheduled show. So you have a couple options. You can lengthen the effects out a bit, or speed up the updates. With what you are doing you can change Vixen to update faster than 50ms. I changed it to 25ms and then I was seeing the values come out consistent in the editor and the scheduler. You can change it under Tools -> Options from the Main app page.

Give that a try and see if you have better results.

Jeff


Reply
Page 2 / 4
Share: