Mosaic & QSYS

I've been working with QSYS for an installation, and have been loving it. They integrate rather well together. Mosaic is completely controlled by QSYS, to the point that the 2 button stations from Mosaic don't even activate anything on Mosaic, they send which button was pressed to QSYS, then it decides what to tell Mosaic to do.

One question I've been wondering as I dabble in Mosaic Scripts, is there a method where I could send a long string of text and Numbers to QSYS based on Mosaic features?

For example, My scripts in QSYS use a central area where currently I type in the Timelines, the Timeline Numbers, Scenes, Scene Numbers, Groups and Group Numbers, and then QSYS references that whenever I use controls.

But what I would like to do is send a command from QSYS to Mosaic asking for a string. This string would ideally include, "Timeline 1 Name, Timeline 1 Number, Timeline 2 Name, Timeline 2 Number, etc for all the Timelines saved on the Mosaic. And being able to do something similar for Scenes and Groups would be phenomenal.

Has anyone done something similar or could point me in a direction that could help accomplish this?

Parents Reply
  • Something along these lines, but probably cleaner than this:

    local i = 1
    tlCount = 1
    maxTl = 500
    availableTls = {}

    while i <= maxTl do local tl = get_timeline(i)
    if tl ~= nil then
    availableTls[tlCount] = tl
    tlCount = tlCount + 1
    end
    i = i + 1
    end

    //Do whatever you want to get this data out, but here is an example when debugging to log it out

    for
    index = 1, tlCount, 1 do log(availableTls[index].number .. “, “ .. availableTls[index].name
    end
Children
Related