Inverted Iris Issue

Welcome to the Avolites Visualiser Discussion Forum.

Moderator: Moderators

Music & Lights
Posts: 28
Joined: 20 Aug 2015, 20:38

Inverted Iris Issue

Postby Music & Lights » 16 Sep 2015, 17:30

Hi Nic,

Regarding my issue with my Color Imagination LED Spot 200.
I have sorted out all my initial issues of no visual beam, color, smooth rotating gobo visual.

Now I just have 1 major issue.....the iris is inverted !

when the real light is full open the visualizer is showing closed & the opposite happens when it is closed.

I know it is just the formula needs a re-write. Please can u help.

This is the manual parameter
0-191 (Max. Diameter to Min. Diameter)
192-223 (Pulse Opening Fast to Slow)
224-255 (Pulse Closing Slow to Fast)

The following is the .r20 formula.....

*****************************************************
RANGE 14 ;Iris
0 191 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
192 223 "Pulse %3d%%"100-((c-a)*100/(b-a))
224 255 "Puls %3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
*****************************************************

Awaiting your reply thanks,
Kind regards,
Alfie
User avatar
niclights
The eManual
Posts: 4255
Joined: 24 Sep 2004, 01:06
Location: UK

Re: Inverted Iris Issue

Postby niclights » 16 Sep 2015, 19:28

Vis doesn't look at the range tables in the r20. Those are only used for the wheel display on classic consoles. You just need to change the mapping in the Vis file.

0 191 1 0 would mean open at 0 and closed at 191
0 191 0 1 would mean closed at 0 and open at 191

The former is by far the most common but whatever yours is at the moment just swap it.
Music & Lights
Posts: 28
Joined: 20 Aug 2015, 20:38

Re: Inverted Iris Issue

Postby Music & Lights » 16 Sep 2015, 19:44

Hi Nic,

U are correct.

I was looking in the wrong place! & trying to fix the wrong thing!

I finally cracked it ! YEAH ! Yippie for me !

*********************************************************************************************

// Iris
ChanRef Iris
Vismode Value
UseBits 1 2 3 4 5 6 7 8
DmxOffset 14
Mapping 0 0 1 1
Mapping 0 191 1 0
Mapping 192 223 0 1
Mapping 224 255 1 0
End

***********************************************************************************************

RANGE 14 ;Iris
0 0 "Open"
0 191 "Iris %3d%%"100-((c-a)*100/(b-a))
192 223 "Pulse %3d%%"100-((c-a)*100/(b-a))
224 255 "Puls %3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

************************************************************************************************

I spent almost a full month, trying to crack the Code !
Color Imagination have to pay me now for the proper script ! mmmmmmmmmm
Wonder if there's some money in it for me ! Lol !

Nic, thanks for all the help !

Kind regards,
Alfie.
User avatar
niclights
The eManual
Posts: 4255
Joined: 24 Sep 2004, 01:06
Location: UK

Re: Inverted Iris Issue

Postby niclights » 16 Sep 2015, 19:52

Great. Glad you got it working. For reference technically the r20 range is in conflict. 0 0 and then 0 191 (ie. zero used twice). This won't be a problem for you but would throw an error if you tried to patch in a Classic console.

Who is online

Users browsing this forum: No registered users and 3 guests