How to sequence color patches from CSV?

Post Reply
matthias_color
Posts: 1
Joined: Tue Jul 05, 2022 1:59 pm

How to sequence color patches from CSV?

Post by matthias_color »

I need to sequence CIE XY coordinates to an ARRI Skypanel. I developed my own tool to generate the coordinates, but now I need to find a tool to use the data to display the colours on the Skypanel fixture via DMX.
Each line on the CSV has an X, Y, and a luminance value. I need to run each color patch for half a second, then go on to the next color, until all the colours from the CSV have been displayed.

Does anyone know if this is possible with MADRIX?
Guertler
Support
Support
Posts: 882
Joined: Tue Feb 04, 2014 10:47 am

Re: How to sequence color patches from CSV?

Post by Guertler »

Hello matthias_color,
Welcome to the MADRIX forum.

If you want to read the values froman external file like the CSV file, you can use MADRIX in combination with a custom created MAS Script. The Script can read from an external text based file. But you will need to parse the information and add the function to send the desired output color to the desired position/pixel of the MADRIX patch.
That also means you will need to patch the desired amont of fixtures to the desired positions.

More about scripting in MADRIX you can learn under the following link:
https://help.madrix.com/m5/html/script/index.html

To read from an external file you will need the function:
int ReadAsync(string file, string txt, int encoding)

To set a pixel to a desired output color you will need the function:
void SetPixel(color col, int x, int y)
Post Reply