Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.4

  1. #1
    Join Date
    Jul 2018
    Location
    West Jordan, Utah
    Posts
    9
    Post Thanks / Like

    Default Creating sequence data from outside software & pasting into sequence - Vixen 2.1.4

    Hello all!

    I am currently working on integrating Glow With The Show gear into my display. I have created an AutoIt GUI that takes the Hex phrases found in the GWTS thread, busts them apart at the spaces, and then displays each of the 16 bytes of information in decimal. These can then manually be put into the sequence using the intensity command. But I was thinking, why not go one step further? Why not have the script build the 16 channels of data for x amount of time, that can be immediately pasted into the target sequence?

    What exactly is copied to the clipboard when a chunk of data is copied? It can't be pasted into notepad as far as I've tried. It only displayed the last copied text instead of the data. I also tried opening a sequence in notepad, and while there is quite a lot of human readable information, once it gets down to the <EventValues> tag, it becomes a jumble of characters & symbols that do not seem to have a structure that's easy to decode.

    Is there a utility that someone has that can generate this data from an outside source? Obviously something like that is in use with anything that can export .vix files. But how is the question.

  2. #2
    Join Date
    Mar 2012
    Location
    Lebanon, Illinois, USA
    Posts
    2,287
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    EricW, have you done a search of the sites for GWTS uses that have come up before? I don't know how far back it was, but there was a couple of threads on this. Perhaps they will help.
    Live, Laugh, Love.

  3. #3
    Join Date
    Jul 2018
    Location
    West Jordan, Utah
    Posts
    9
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    Yep! I have. It was what inspired me to integrate GWTS gear into my display this year actually.

    The question isn't primarily the codes though. My main question is what is copied to the clipboard when you copy sequence data, and how can this information be generated by an outside software to be pasted into Vixen.

  4. #4
    Join Date
    Mar 2012
    Location
    Lebanon, Illinois, USA
    Posts
    2,287
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    That one is over my head. Best ask the developers. Jeff? Jon? Anyone else?
    Live, Laugh, Love.

  5. #5
    Join Date
    Jul 2018
    Location
    West Jordan, Utah
    Posts
    9
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    Thanks algerdes!
    Stupid question... How exactly should I go about summoning them? PM? Is there a magic "Hey look over here!" button?

  6. #6
    Join Date
    Oct 2014
    Location
    Sauk City, WI USA
    Posts
    913
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    I don't think anyone is working on 2.1.4. If you are running winXP, you might be able to use clipbrd.exe to view the contents of the clipboard. I know it isn't in Win10 but you can download some viewers. Once you copy from vixen, you can see what the format looks like and try to replicate with your AutoIt GUI. Good luck. If you figure it out, let us all in on the secret.

  7. #7
    Join Date
    Feb 2008
    Location
    Warminster, PA
    Posts
    1,693
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    I may be able to help....but I think what you might be looking for is a custom addin. In there you shouldn't have to decrypt the Event values from the sequence.(there's a guy somewhere that made some videos on how to create them..... Just being smart. If you need the link to the videos let me know and I'll find it)

    But, just in case you are wondering, the event values in Vixen 2 are a Byte[,](a 2 dimensional array). I'm not on by own computer right now so don't take this as gospel but as far as I remember, the values you see in the sequence is a string composed of each channels values. In other words, All of the event values of channel 1 get written out to the string, then all the event values for channel 2, etc. I have some c# code that can do this if you want to look it over.


    Again, creating an addin might be your best bet. You could make it as simple as importing your hex text file.
    Chris
    [URL="http://www.maloneylights.com"]http://www.maloneylights.com[/URL]
    [URL="http://halloween.maloneylights.com"]http://halloween.maloneylights.com[/URL]
    [URL="http://ctm.maloneylights.com"]http://ctm.maloneylights.com[/URL]

  8. #8
    Join Date
    Jul 2018
    Location
    West Jordan, Utah
    Posts
    9
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    I am running Win10 and tried using clipbrd, but no luck. No new information is displayed in the viewer. This happens in both 2.1.4 & 2.1.1. It's almost like Vixen has it's own internal clipboard...?

    ctmal, a string for each channel? That's some long strings! lol. What I see in Notepad seems would seem to make sense with the byte values. Raw binary values not formatted in ASCII -> opened in a text editor -> all the values converted to ASCII -> looks like gibberish.

    I would love to see your C# code for that!

  9. #9
    Join Date
    Feb 2008
    Location
    Warminster, PA
    Posts
    1,693
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    I think KC added importing from the clipboard in 2.5. I don't think that's available anywhere anymore because people had issues with it.


    As for the amount of event values, it makes sense if you think about it. If you have a 60 second sequence running at 50 milliseconds, that's 1200 possible event values per channel...that'll balloon up quick.


    I've attached the method I use to import the event values in another project. Keep in mind, if you create a custom addIn you wouldn't need to do this because you'd have access to the eventvalues within Vixen. It would save you the trouble of having to mess with the sequence file directly.
    Attached Files Attached Files
    Chris
    [URL="http://www.maloneylights.com"]http://www.maloneylights.com[/URL]
    [URL="http://halloween.maloneylights.com"]http://halloween.maloneylights.com[/URL]
    [URL="http://ctm.maloneylights.com"]http://ctm.maloneylights.com[/URL]

  10. #10
    Join Date
    Jul 2018
    Location
    West Jordan, Utah
    Posts
    9
    Post Thanks / Like

    Default Re: Creating sequence data from outside software & pasting into sequence - Vixen 2.1.

    Thanks for the code!! Googling the Base64 function opened up a whole new world of information. It is now very obvious the eventvalues are not just straight ASCII. I was able to successfully convert (online) values generated from a sequence containing 1 channel with a 255 event period long ramp.

    This is all great progress, but this is all done outside of Vixen using text editors. It still doesn't get me to the point of taking outside data and inserting it into the grid.
    Maybe I can find an Base64 AutoIt script that I can intergrate into my exisitng "GWTS Hex to Dec" program, and make it spit out a valid .vix file?? That way I can at least open it in Vixen, and then do a straight copy/paste into the proper points in my real sequence.

    Even after all the copying and pasting I've done, when I go back into Vixen, it STILL remembers the chunk of data I copied. This makes me think even more that Vixen has it's own clipboard.

    As for the creating a plugin... I am not at all confident on my ability to create one. Much less even where to start! I feel like for what it's worth just to control Mickey Ears, and the fact that it's already a week into September (my lights fire up October 1st), the AutoIt path may be somewhat of a workaround for now.

    Oh KC, you great wizard of Vixen, why did ya have to make it so hard?? Haha

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •