Closed sdegrande closed 2 years ago
How are the values represented for the channels. Could you make an example?
From http://www.thedmxwiki.com/dmx_definitions/8_bit_16_bit:
Using 16 bits will mean that the movement function of a fixture can have 65536 steps.
This is acheived by using two channels per movement. 256 * 256 = 65536.
This is sometimes refered to as course (1st channel) and fine (2nd channel) movement. What this means for every step (DMX value) in the course channel it will have 256 steps (DMX values) in the fine channel. This allows very accurate positioning of scanners, moving heads and other lighting fixtures that have some form of movement control.
So, if V is the 16bits value, it is 'cut' in two 8 bits channels, using for instance: channel[i] = (V >> 8) &0FF channel[i+1] = V & 0FF
So the lower value channel contains the higher valued byte?
course (1st channel) and fine (2nd channel)
That's indeed how I understand it, and that's what my fixture expects..
I've implemented it in 0.8.0. Can you check?
Eh, great, thanks ! I'll try asap, and let you know.
Any luck yet?
On 2/22/21 11:34 AM, spacemanspiff2007 wrote:
Any luck yet?
Not yet sorry.
Due to highly recommended remote working, I only work in the lab once in a while, and so can not easily test your patch. I'll do my best to soon check and send a report.
-- Samuel Degrande CRIStAL - Universite de Lille - FST Phone: (33)3.62.53.15.70 IRCICA - Parc Scientifique de la Haute Borne 50 Av Halley, 59658 VILLENEUVE D'ASCQ, FRANCE
I got the 16 bit working on My system. great for smooth dimming.
Your PyArtNet is amazing, compared to some other python-artnet libs, because of those faders ! However, I need to control '16bits channels' (or rather 8bits coarse + 8bits fine). This can not be achieved with PyArtNet (as far as I can see in the code). Could it be possibly to add such a feature ?