MADRIX Forum • How to sequence color patches from CSV?
Page 1 of 1

How to sequence color patches from CSV?

Posted: Tue Jul 05, 2022 2:09 pm
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?

Re: How to sequence color patches from CSV?

Posted: Wed Jul 06, 2022 1:12 pm
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)