Have control, but no beams

Welcome to the Avolites Visualiser Discussion Forum.

Moderator: Moderators

dzachery
Posts: 2
Joined: 02 Feb 2015, 15:46

Have control, but no beams

Postby dzachery » 11 Mar 2015, 17:34

I'm using Titan One with the visualizer workspace window open. When I select my lights from the fixture or group window they turn blue in the visualizer as if they're selected, however when I turn up the intensity it doesn't show up on the visualizer window.
Please advise.
User avatar
niclights
The eManual
Posts: 4255
Joined: 24 Sep 2004, 01:06
Location: UK

Re: Have control, but no beams

Postby niclights » 11 Mar 2015, 18:08

If the fixtures appear but don't light when located then please submit a bug report for the faulty visualiser file via the library on the website.
MLavoliteforum
Posts: 4
Joined: 23 Aug 2015, 07:33

Re: Have control, but no beams

Postby MLavoliteforum » 26 Aug 2015, 07:08

Hi all, I too have the same problem, but I created the file with the builder from scratch ....ish.... Not downloaded from your website.
What would be my chain of action?
My fixture turns yellow / blue. Turns pan & tilt.... But no light or color or gobo visuals in the visualiser. Also my viswiz does not work properly...(only shows 2 fixtures)... Thanks , hope someone can help / guide!
User avatar
niclights
The eManual
Posts: 4255
Joined: 24 Sep 2004, 01:06
Location: UK

Re: Have control, but no beams

Postby niclights » 26 Aug 2015, 08:53

Well, internally I never use VisWiz to create the factory ones so...

Most of the time the file needs some tweaking first. To do this just open it in a text editor like Notepad.

The most common reasons for no light output are unsupported colour channels or colour channels where the colours have not been defined. 'Colour Macro' or 'CTO' are common contenders or with LED fixtures amber/white. Easiest thing to do is simply delete these sections from the Vis file. For reference Vis can only support RGB, CMY, (fixed) colour 1 and colour 2 even though the export can try to create 'colour 3', colour 4' etc. in some circumstances. In conjunction with checking/removing problem colour channels from the vis file you also need to check the attribute type assignments of these channels in the associated .r20 file. Just make sure they're all set to 0 (zero).

Another reason might be if there is a shutter channel with a single strobe range. In this case the vis file has no 'open' value. Assuming the channel locates at DMX 0 the simplest solution is to add a mapping in the shutter definition in vis that makes it open at 0. For example '0 0 1 1' (DMX 0 -> 0 = Open -> Open).

Finally in rare situations you can have fixtures that have a shutter channel but no dimmer. Here we can add a dimmer definition that isn't mapped to a channel. To do this remove the 'UseBits' and 'DmxOffset' lines and then set the mapping '0 255 255 255':

Code: Select all

ChanRef Dimmer
    Vismode Value
    Mapping 0 255 255 255
End


If you're still having problems please post the Vis code along with just the DMX mapping part of the.r20
Music & Lights
Posts: 28
Joined: 20 Aug 2015, 20:38

Re: Have control, but no beams

Postby Music & Lights » 26 Aug 2015, 12:22

Wow ! Niclights that was fast ...... you guys ROCK.... :D
Let me check out all you suggested....hope it works !!!
.....Pls keep an eye out for me... Cheers. Alfie
Music & Lights
Posts: 28
Joined: 20 Aug 2015, 20:38

Re: Have control, but no beams

Postby Music & Lights » 26 Aug 2015, 16:48

Hi, I tried but no luck getting beams or color out.
Then I took the .vis & .R20 notepad details of a Chauvet QSpot 575 16DMX, 16bit modified it tweaked it to match up with the .d4 main detail of my created fixture.
But now, it shows in the visualizer when I patch it, but I lost the pan & tilt movement. it turns yellow & blue when I choose the fixture but just green light comes out in a conical shape.
Kind regards,
Alfie
User avatar
niclights
The eManual
Posts: 4255
Joined: 24 Sep 2004, 01:06
Location: UK

Re: Have control, but no beams

Postby niclights » 26 Aug 2015, 17:57

Please post the code from the original .vis and .r20 where you had control of the Pan/Tilt but no beam.
Music & Lights
Posts: 28
Joined: 20 Aug 2015, 20:38

Re: Have control, but no beams

Postby Music & Lights » 26 Aug 2015, 18:50

Code: Select all

// ML - ML Spot 200
// Avolites Visualiser Extension File
// Copyright © Avolites Ltd. 2015
//_________________________________________________________________________________
// File Name: ML SPOT .VIS
// Created by: Personality Builder - Version 2.3.3.5
// Date: 8/26/2015 8:30:33 PM
// Exported From: ML Spot 200
//_________________________________________________________________________________

Device ML-Spot200

// Pan
ChanRef Pan
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
    DmxOffset 1 2
    Mapping 0 65535 -270.000000 270.000000
End

// Tilt
ChanRef Tilt
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
    DmxOffset 3 4
    Mapping 0 65535 -140.000000 140.000000
End

// Colour 1
ChanRef Color Wheel 1
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 5
    Mapping 0 0 Black
    Mapping 0 11 White
    Mapping 0 15 White
    Mapping 16 16 RGB240,0,0
    Mapping 12 23 RGB0,0,240
    Mapping 24 35 RGB240,120,0
    Mapping 36 36 Black
    Mapping 36 47 Black
    Mapping 32 47 RGB0,0,240
    Mapping 48 48 RGB180,0,240
    Mapping 48 58 RGB180,0,240
    Mapping 48 63 RGB0,240,0
    Mapping 59 70 RGB220,20,100
    Mapping 64 79 RGB240,240,0
    Mapping 71 81 RGB240,0,0
    Mapping 82 82 RGB240,120,0
    Mapping 82 93 RGB240,120,0
    Mapping 80 95 RGB240,140,140
    Mapping 94 105 RGB240,240,0
    Mapping 96 111 RGB220,20,100
    Mapping 106 116 RGB240,140,140
    Mapping 112 120 RGB240,120,0
    Mapping 117 127 RGB0,240,0
End

// Colour 1
ChanRef Color Wheel 1
    Vismode Speed
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 5
    Mapping 128 255 50 5
End

// Gobo 2
ChanRef Gobo 1
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 6
    Mapping 0 0 Twelve Point Star
    Mapping 0 9 Number One
    Mapping 10 19 Number One
    Mapping 20 29 Number Two
    Mapping 30 39 Number Three
    Mapping 40 49 Number Four
    Mapping 50 59 Number Five
    Mapping 60 69 Number Six
    Mapping 70 79 Number Seven
    Mapping 80 89 Number Eight
    Mapping 100 119 Number Nine
    Mapping 120 139 Number One
    Mapping 140 159 Number Two
    Mapping 160 179 Number Three
    Mapping 180 199 Number Four
    Mapping 200 219 Number Five
End

// Gobo 2
ChanRef Gobo 1
    Vismode Speed
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 6
    Mapping 220 255 5 50
End

// Gobo 2 Rot
ChanRef Gobo 1 Rotate
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 7
    Mapping 0 127 -180 180
    Mapping 190 191 Number One
    Mapping 190 191 Number Two
End

// Gobo 2 Rot
ChanRef Gobo 1 Rotate
    Vismode Speed
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 7
    Mapping 128 189 5 20
    Mapping 192 255 -20 -5
End

// Gobo 1
ChanRef Gobo 2
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 8
    Mapping 0 0 Twelve Point Star
    Mapping 0 9 Number One
    Mapping 0 9 Number Two
    Mapping 10 19 Number One
    Mapping 20 29 Number Two
    Mapping 30 39 Number Three
    Mapping 40 49 Number Four
    Mapping 50 59 Number Five
    Mapping 60 69 Number Six
    Mapping 70 79 Number Seven
    Mapping 80 89 Number Eight
    Mapping 90 99 Number Nine
    Mapping 100 111 Number One
    Mapping 112 123 Number Two
    Mapping 124 135 Number Three
    Mapping 136 147 Number Four
    Mapping 148 159 Number Five
    Mapping 160 169 Number Six
    Mapping 172 183 Number Seven
    Mapping 184 195 Number Eight
    Mapping 196 207 Number Nine
End

// Gobo 1
ChanRef Gobo 2
    Vismode Speed
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 8
    Mapping 208 255 5 50
End

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

// Shutter
ChanRef Dimmer
    Vismode Strobe
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 9
    Mapping 0 31 0 0
    Mapping 32 63 1 1
    Mapping 64 95 30 300
    Mapping 96 127 1 1
    Mapping 128 159 30 300
    Mapping 160 191 1 1
    Mapping 192 223 30 300
    Mapping 224 255 1 1
End

// Dimmer
ChanRef Dimmer
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 10
    Mapping 0 255 0 255
End

Code: Select all

--------------------------------------------------------------------------------------------
; 'ML ML Spot 200', 16 DMX Channels, filename: ML SPOT .R20
;  Copyright © Avolites Ltd. 2015
;
;   Date       By                Description
;   13-11-06   D.Milligan        Created
;   02-02-09   D4 Personality Fixer 2009Changed Function Names
;   19-04-12   Locate Fix        Updated locate, power on, highlight and lowlight values to valid values
;   26-08-15   Pers Creator      Created - Exported from Diamond 4 file.
;
;----------------------------------------------------------------------------
; The device name, upto 11 characters, no spaces are allowed
DEVICE  ML-Spot200                          mode=16 DMX, 16bit  16 DMX Channels
NAME "ML" "ML Spot 200"
;
;----------------------------------------------------------------------------
; The Type of instrument, 1 & M must required for backward compatibility
; The middle number denotes the number of DMX channels used
TYPE  1  16  M
;
;----------------------------------------------------------------------------
; Mirror/Head resolution
MIRROR  2   540  280
;       |    |    |
;       |    |    |_______ maximum tilt movement (in degrees)
;       |    |____________ maximum pan movement (in degrees)
;       |_________________ 1 means moving mirror, 2 means moving head
;
;----------------------------------------------------------------------------
; Patching Information. (Upto 10 lines allowed)
; Upto 10 lines of 159 chars are allowed including formulae
; Variables used d=dmx number(1..512), h=handle(1..60), n=devicename (11-char)
; Allowed modifiers
;   +,-,*,/,(,) basic arithmatic
;   % means remainder after divide
;   & means logical AND
;   | means logical OR
;   R means reverse the bits of the current result (operates on a byte)
;   ^ means logical Exclusive OR (operates on a byte)
;   > means shift to the right
;   < shift to the left
;   r followed by number means get the value of that parameter
;   d DMX address
;   n Fixture name, a 0 terminated character string
;   h The handle number
DEVICEADDRESS
"Handle  %2d"h
"Fixture %11s"n
"DMX     %03d"d
""
""
"Set to 16 DMX, 16bit"
""
""
DAEND
;
;----------------------------------------------------------------------------
; Specify DMX limits
;
; minimum allowed dmx number
MINDMX=1
;
; maximum allowed dmx number
MAXDMX=496
;
; DMX number must be divisible by this
DIVBY=1
;
;----------------------------------------------------------------------------
; DMX channel description
;
; Column by column description of each DMX channel
; 1. The channels bank number (1..20)
; 2. The upper faders in the bank (1) or the lower faders in the bank (61)
; 3. Channel type (L=LTP, H=HTP, I=Instant LTP, S=16-bit instant LTP,
;    s=16-bit Fadeable LTP
; 4. DMX offset (1..number of DMX channels)
; 5. The output level is proportionally reduced by this level (0..100%)
; 6. The curve number (applicable only to HTP channels), usually set to 1
; 7. Inverted (I) or Normal (N)
; 8. Attribute type (A=Colour Wheel 1, B=Cyan, C=Magenta, D=Yellow,
;         E=Pan, F=Tilt, G=Iris, H=Dimmer, I=Gobo1, J=Gobo2, K=Gobo1 Rotate,
;         L=Focus, M=Gobo2 Rotate, N=Colour Wheel 2, O=Shutter, P=Prism, Q=Zoom,
;         R=Effect Rotate, S=Frost, T=Red, U=Green, V=Blue, 0=uncategorised)
; 9. Checksum channel (Always 1)
;10. Attribute name, must be enclosed in quotes and upto 12 characters allowed
;11. The ON value of this channel (0..255)
;12. The Highlight level of this channel
;13. The Lowlight level of this channel
;
DMX
3    61   s    1   100   1N   E   1   "Pan"             128     0     0
0     0   L    2   100   1N   E   1   "Pan Low"         128     0     0
3     1   s    3   100   1N   F   1   "Tilt"            128     0     0
0     0   L    4   100   1N   F   1   "Tilt Low"        128     0     0
4     1   I    5   100   1N   A   1   "Colour 1"          8     0     0
6    61   I    6   100   1N   J   1   "Gobo 2"            4     0     0
7    61   L    7   100   1N   M   1   "Gobo 2 Rot"        0     0     0
6     1   I    8   100   1N   I   1   "Gobo 1"            4     0     0
5    61   L   11   100   1N   L   1   "Focus"           127     0     0
9     1   I   12   100   1N   P   1   "Prism"            32     0     0
9    61   L   13   100   1N   R   1   "Prism Rot"         1     0     0
2     1   L   14   100   1N   G   1   "Iris"              0     0     0
2    61   L    9   100   1N   O   1   "Shutter"          48     0     0
8     1   L   15   100   1N   0   1   "P/T Speed"         0     0     0
1     1   H   10   100   1N   H   1   "Dimmer"          255     0     0
8    61   L   16   100   1N   0   1   "Control"          64     0     0
END
;
;----------------------------------------------------------------------------
TEXT
ML ML Spot 200
16 DMX, 16bit

INPUT fixture DMX No.
Press a Fixture
Select or Swop button
to make the patch.
END

ATTR
Function Obsolete
END

;----------------------------------------------------------------------------
; Preset Palette Tables

PFTABLE "Pan/Tilt"   -1   1   3
"Middle"             21  80  80
"Left"               22  4F  80
"Right"              23  B0  80
"Top"                24  80  4F
"Bottom"             25  80  B0
"TLeft"              26  4F  4F
"TRight"             27  B0  B0
"BLeft"              28  4F  B0
"BRight"             29  B0  4F
PFEND

PFTABLE "Colour"     -1   5
"Open"                1   8
"Red"                 2  10
"Orange"              3  74
"Yellow"              4  48
"Green"               5  38
"Open"                6   8
"Blue"                7  28
"UV"                  9  30
"UV"                 10  30
"UV"                  8  30
PFEND

PFTABLE "Gobo"       -1   8   6
"Open"               11   4   4
"Gobo 1"             12   E   4
"Gobo 2"             13  18   4
"Gobo 3"             14  22   4
"Gobo 4"             15  2C   4
"Gobo 5"             16  36   4
"Gobo 6"             17  40   4
"Gobo 7"             18  4A   4
"Gobo 8"             19  54   4
"Gobo 9"             20  5E   4
PFEND

;----------------------------------------------------------------------------
; Macros

MACRO "Lamp On"       1  16
"data"                0  86
"delay"               1  28
"data"                0  40
"delay"               1   A
MEND

MACRO "Lamp Off"      2  16
"data"                0  EA
"delay"               1  28
"data"                0  40
"delay"               1   A
MEND

MACRO "Reset"         3  16
"data"                0  86
"delay"               1  50
"data"                0  40
"delay"               1   A
MEND

;----------------------------------------------------------------------------
; Range Tables

; Column by column description...
; 1. Low DMX value (inclusive)
; 2. High DMX value (inclusive)
; 3. Displayed text (max 11 chars)
; Variables used a=low val, b=high val, c=DMX val

RANGE 1  ;Pan
0   255  "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a)
REND

RANGE 3  ;Tilt
0   255  "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a)
REND

RANGE 5  ;Colour 1
0   0    "No Scroll"
0   11   "Op/Bl %3d%%"(c-a)*100/(b-a)
0   15   "Open"
16  16   "Red"
12  23   "Bl/Or %3d%%"(c-a)*100/(b-a)
24  35   "Or/Qd %3d%%"(c-a)*100/(b-a)
36  36   "Quad Colour"
36  47   "Qd/UV %3d%%"(c-a)*100/(b-a)
32  47   "Blue"
48  48   "UV"
48  58   "UV/Ro %3d%%"(c-a)*100/(b-a)
48  63   "Green"
59  70   "Ro/Re %3d%%"(c-a)*100/(b-a)
64  79   "Yellow"
71  81   "Re/OB %3d%%"(c-a)*100/(b-a)
82  82   "Orange/Blue"
82  93   "OB/Ye %3d%%"(c-a)*100/(b-a)
80  95   "Pink"
94  105  "Ye/Pi %3d%%"(c-a)*100/(b-a)
96  111  "Light Blue"
106 116  "Pi/Gr %3d%%"(c-a)*100/(b-a)
112 120  "Orange"
117 127  "Gr/Op %3d%%"(c-a)*100/(b-a)
128 255  "Scroll %3d%%"100-((c-a)*100/(b-a))
REND

RANGE 6  ;Gobo 2
0   0    "No Scroll"
0   9    "Open"
10  19   "Gobo 1"
20  29   "Gobo 2"
30  39   "Gobo 3"
40  49   "Gobo 4"
50  59   "Gobo 5"
60  69   "Gobo 6"
70  79   "Gobo 7"
80  89   "Gobo 1 %3d%%"(c-a)*100/(b-a)
100 119  "Gobo 2 %3d%%"(c-a)*100/(b-a)
120 139  "Gobo 3 %3d%%"(c-a)*100/(b-a)
140 159  "Gobo 4 %3d%%"(c-a)*100/(b-a)
160 179  "Gobo 5 %3d%%"(c-a)*100/(b-a)
180 199  "Gobo 6 %3d%%"(c-a)*100/(b-a)
200 219  "Gobo 7 %3d%%"(c-a)*100/(b-a)
220 255  "Scroll %3d%%"(c-a)*100/(b-a)
REND

RANGE 7  ;Gobo 2 Rot
0   127  "Index %3d%%"(c-a)*100/(b-a)
128 189  "Spin C %3d%%"(c-a)*100/(b-a)
190 191  "No Spin"
192 255  "Spin C %3d%%"100-((c-a)*100/(b-a))
REND

RANGE 8  ;Gobo 1
0   0    "No Scroll"
0   9    "Open"
10  19   "Gobo 1"
20  29   "Gobo 2"
30  39   "Gobo 3"
40  49   "Gobo 4"
50  59   "Gobo 5"
60  69   "Gobo 6"
70  79   "Gobo 7"
80  89   "Gobo 8"
90  99   "Gobo 9"
100 111  "Gobo 1 %3d%%"(c-a)*100/(b-a)
112 123  "Gobo 2 %3d%%"(c-a)*100/(b-a)
124 135  "Gobo 3 %3d%%"(c-a)*100/(b-a)
136 147  "Gobo 4 %3d%%"(c-a)*100/(b-a)
148 159  "Gobo 5 %3d%%"(c-a)*100/(b-a)
160 169  "Gobo 6 %3d%%"(c-a)*100/(b-a)
172 183  "Gobo 7 %3d%%"(c-a)*100/(b-a)
184 195  "Gobo 8 %3d%%"(c-a)*100/(b-a)
196 207  "Gobo 9 %3d%%"(c-a)*100/(b-a)
208 255  "Scroll %3d%%"(c-a)*100/(b-a)
REND

RANGE 11  ;Focus
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 12  ;Prism
0   63   "Open"
64  127  "3 Facet Pri"
128 191  "5 Facet Pri"
192 255  "Frost"
REND

RANGE 13  ;Prism Rot
0   2    "No Spin"
3   127  "Spin C %3d%%"(c-a)*100/(b-a)
128 129  "No Spin"
130 255  "Spin C %3d%%"(c-a)*100/(b-a)
REND

RANGE 9  ;Shutter
0   31   "Closed"
32  63   "Open"
64  95   "Strobe %3d%%"(c-a)*100/(b-a)
96  127  "Open"
128 159  "Pulse %3d%%"(c-a)*100/(b-a)
160 191  "Open"
192 223  "Rnd St %3d%%"(c-a)*100/(b-a)
224 255  "Open"
REND

RANGE 15  ;P/T Speed
0   255  "%3d%%"100-((c-a)*100/(b-a))
REND

RANGE 10  ;Dimmer
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 16  ;Control
0   127  "Safe"
128 139  "Lamp On/Res"
140 229  "Safe"
230 239  "Lamp Off"
240 255  "Safe"
REND
User avatar
niclights
The eManual
Posts: 4255
Joined: 24 Sep 2004, 01:06
Location: UK

Re: Have control, but no beams

Postby niclights » 26 Aug 2015, 19:14

Ok. Main issue is Iris. I forgot about that. This always exports incorrectly with both ends of the range set to 0 (closed). So it will never light.

You need to change this so one end of the range is 1 (open). Typically 0 DMX is fully open so in that case it would look like:

Code: Select all

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


Also, you have duplicate DMX ranges in a number of the mappings. These need to be edited out so that there are no overlaps or duplicates of the DMX start/end values within a definition. Colour 1 looks particularly strange.

Fixing these will make it light. Beyond that the only other issue is in Gobo 2 Rotate. The 'no spin' range has incorrectly been exported to the 'index' section. This also always happens..

They should look like:

Code: Select all

// Gobo 2 Rot
ChanRef Gobo 1 Rotate
Vismode Value
UseBits 1 2 3 4 5 6 7 8
DmxOffset 7
Mapping 0 127 -180 180
End

// Gobo 2 Rot
ChanRef Gobo 1 Rotate
Vismode Speed
UseBits 1 2 3 4 5 6 7 8
DmxOffset 7
Mapping 128 189 5 20
Mapping 190 191 0 0
Mapping 192 255 -20 -5
End


See how you get on.
Music & Lights
Posts: 28
Joined: 20 Aug 2015, 20:38

Re: Have control, but no beams

Postby Music & Lights » 26 Aug 2015, 19:53

Thanks for this..... let me check it out.......

PS.

If this works .....does this make me a guru programmer ! :roll:

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

Re: Have control, but no beams

Postby Music & Lights » 26 Aug 2015, 21:39

Hi ,

I tried to fix & clean up the text.
But I'm still not getting it to show light.
I'm sure I'm still doing something wrong.
Take a look at the text please and tell me whats wrong.
Thanks.

Code: Select all

// ML - ML Spot 200
// Avolites Visualiser Extension File
// Copyright © Avolites Ltd. 2015
//_________________________________________________________________________________
// File Name: ML SPOT .VIS
// Created by: Personality Builder - Version 2.3.3.5
// Date: 8/26/2015 11:19:51 PM
// Exported From: ML Spot 200
//_________________________________________________________________________________

Device ML_Spot_200

// Pan
ChanRef Pan
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
    DmxOffset 1 2
    Mapping 0 65535 -270.000000 270.000000
End

// Tilt
ChanRef Tilt
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
    DmxOffset 3 4
    Mapping 0 65535 -140.000000 140.000000
End

// Colour 1
ChanRef Color Wheel 1
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 5
    Mapping 0 0 Black
    Mapping 0 15 White
    Mapping 16 31 RGB240,0,0
    Mapping 32 47 RGB0,120,240
    Mapping 48 63 RGB0,240,0
    Mapping 64 79 RGB240,240,0
    Mapping 80 95 RGB240,120,240
    Mapping 96 111 RGB120,240,240
    Mapping 112 127 RGB240,120,0
End

// Colour 1
ChanRef Color Wheel 1
    Vismode Speed
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 5
    Mapping 128 255 50 5
End

// Gobo 2
ChanRef Gobo 1
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 6
    Mapping 0 0 Twelve Point Star
    Mapping 0 9 Number One
    Mapping 10 19 Number One
    Mapping 20 29 Number Two
    Mapping 30 39 Number Three
    Mapping 40 49 Number Four
    Mapping 50 59 Number Five
    Mapping 60 69 Number Six
    Mapping 70 79 Number Seven
    Mapping 80 89 Number Eight
    Mapping 100 119 Number Nine
    Mapping 120 139 Number One
    Mapping 140 159 Number Two
    Mapping 160 179 Number Three
    Mapping 180 199 Number Four
    Mapping 200 219 Number Five
End

// Gobo 2
ChanRef Gobo 1
    Vismode Speed
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 6
    Mapping 220 255 5 50
End

// Gobo 2 Rot
ChanRef Gobo 1 Rotate
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 7
    Mapping 0 127 -180 180
    Mapping 190 191 Number One
    Mapping 190 191 Number Two
End

// Gobo 2 Rot
ChanRef Gobo 1 Rotate
    Vismode Speed
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 7
    Mapping 128 189 5 20
    Mapping 192 255 -20 -5
End

// Gobo 1
ChanRef Gobo 2
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 8
    Mapping 0 0 Twelve Point Star
    Mapping 0 9 Number One
    Mapping 0 9 Number Two
    Mapping 10 19 Number One
    Mapping 20 29 Number Two
    Mapping 30 39 Number Three
    Mapping 40 49 Number Four
    Mapping 50 59 Number Five
    Mapping 60 69 Number Six
    Mapping 70 79 Number Seven
    Mapping 80 89 Number Eight
    Mapping 90 99 Number Nine
    Mapping 100 111 Number One
    Mapping 112 123 Number Two
    Mapping 124 135 Number Three
    Mapping 136 147 Number Four
    Mapping 148 159 Number Five
    Mapping 160 169 Number Six
    Mapping 172 183 Number Seven
    Mapping 184 195 Number Eight
    Mapping 196 207 Number Nine
End

// Gobo 1
ChanRef Gobo 2
    Vismode Speed
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 8
    Mapping 208 255 5 50
End

// Shutter
ChanRef Dimmer
    Vismode Strobe
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 9
    Mapping 0 31 0 0
    Mapping 32 63 1 1
    Mapping 64 95 30 300
    Mapping 96 127 1 1
    Mapping 128 159 30 300
    Mapping 160 191 1 1
    Mapping 192 223 30 300
    Mapping 224 255 1 1
End

// Dimmer
ChanRef Dimmer
    Vismode Value
    UseBits 1 2 3 4 5 6 7 8
    DmxOffset 10
    Mapping 0 255 0 255
End

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


Code: Select all

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; 'ML ML Spot 200', 16 DMX Channels, filename: ML SPOT .R20
;  Copyright © Avolites Ltd. 2015
;
;   Date       By                Description
;   13-11-06   D.Milligan        Created
;   02-02-09   D4 Personality Fixer 2009Changed Function Names
;   19-04-12   Locate Fix        Updated locate, power on, highlight and lowlight values to valid values
;   26-08-15   Pers Creator      Created - Exported from Diamond 4 file.
;
;----------------------------------------------------------------------------
; The device name, upto 11 characters, no spaces are allowed
DEVICE  ML_Spot_200                         mode=16 DMX, 16bit  16 DMX Channels
NAME "ML" "ML Spot 200"
;
;----------------------------------------------------------------------------
; The Type of instrument, 1 & M must required for backward compatibility
; The middle number denotes the number of DMX channels used
TYPE  1  16  M
;
;----------------------------------------------------------------------------
; Mirror/Head resolution
MIRROR  2   540  280
;       |    |    |
;       |    |    |_______ maximum tilt movement (in degrees)
;       |    |____________ maximum pan movement (in degrees)
;       |_________________ 1 means moving mirror, 2 means moving head
;
;----------------------------------------------------------------------------
; Patching Information. (Upto 10 lines allowed)
; Upto 10 lines of 159 chars are allowed including formulae
; Variables used d=dmx number(1..512), h=handle(1..60), n=devicename (11-char)
; Allowed modifiers
;   +,-,*,/,(,) basic arithmatic
;   % means remainder after divide
;   & means logical AND
;   | means logical OR
;   R means reverse the bits of the current result (operates on a byte)
;   ^ means logical Exclusive OR (operates on a byte)
;   > means shift to the right
;   < shift to the left
;   r followed by number means get the value of that parameter
;   d DMX address
;   n Fixture name, a 0 terminated character string
;   h The handle number
DEVICEADDRESS
"Handle  %2d"h
"Fixture %11s"n
"DMX     %03d"d
""
""
"Set to 16 DMX, 16bit"
""
""
DAEND
;
;----------------------------------------------------------------------------
; Specify DMX limits
;
; minimum allowed dmx number
MINDMX=1
;
; maximum allowed dmx number
MAXDMX=496
;
; DMX number must be divisible by this
DIVBY=1
;
;----------------------------------------------------------------------------
; DMX channel description
;
; Column by column description of each DMX channel
; 1. The channels bank number (1..20)
; 2. The upper faders in the bank (1) or the lower faders in the bank (61)
; 3. Channel type (L=LTP, H=HTP, I=Instant LTP, S=16-bit instant LTP,
;    s=16-bit Fadeable LTP
; 4. DMX offset (1..number of DMX channels)
; 5. The output level is proportionally reduced by this level (0..100%)
; 6. The curve number (applicable only to HTP channels), usually set to 1
; 7. Inverted (I) or Normal (N)
; 8. Attribute type (A=Colour Wheel 1, B=Cyan, C=Magenta, D=Yellow,
;         E=Pan, F=Tilt, G=Iris, H=Dimmer, I=Gobo1, J=Gobo2, K=Gobo1 Rotate,
;         L=Focus, M=Gobo2 Rotate, N=Colour Wheel 2, O=Shutter, P=Prism, Q=Zoom,
;         R=Effect Rotate, S=Frost, T=Red, U=Green, V=Blue, 0=uncategorised)
; 9. Checksum channel (Always 1)
;10. Attribute name, must be enclosed in quotes and upto 12 characters allowed
;11. The ON value of this channel (0..255)
;12. The Highlight level of this channel
;13. The Lowlight level of this channel
;
DMX
3    61   s    1   100   1N   E   1   "Pan"             128     0     0
0     0   L    2   100   1N   E   1   "Pan Low"         128     0     0
3     1   s    3   100   1N   F   1   "Tilt"            128     0     0
0     0   L    4   100   1N   F   1   "Tilt Low"        128     0     0
4     1   I    5   100   1N   A   1   "Colour 1"          8     0     0
6    61   I    6   100   1N   J   1   "Gobo 2"            4     0     0
7    61   L    7   100   1N   M   1   "Gobo 2 Rot"        0     0     0
6     1   I    8   100   1N   I   1   "Gobo 1"            4     0     0
2    61   L    9   100   1N   O   1   "Shutter"          48    48     0
1     1   H   10   100   1N   H   1   "Dimmer"          255   255     0
5    61   L   11   100   1N   L   1   "Focus"           127     0     0
9     1   I   12   100   1N   P   1   "Prism"            32     0     0
9    61   L   13   100   1N   R   1   "Prism Rot"         1     0     0
2     1   L   14   100   1N   G   1   "Iris"              0    96     0
8     1   L   15   100   1N   0   1   "P/T Speed"         0     0     0
8    61   L   16   100   1N   0   1   "Control"           0     0     0
END
;
;----------------------------------------------------------------------------
TEXT
ML ML Spot 200
16 DMX, 16bit

INPUT fixture DMX No.
Press a Fixture
Select or Swop button
to make the patch.
END

ATTR
Function Obsolete
END

;----------------------------------------------------------------------------
; Preset Palette Tables

PFTABLE "Pan/Tilt"   -1   1   3
"Middle"             21  80  80
"Left"               22  4F  80
"Right"              23  B0  80
"Top"                24  80  4F
"Bottom"             25  80  B0
"TLeft"              26  4F  4F
"TRight"             27  B0  B0
"BLeft"              28  4F  B0
"BRight"             29  B0  4F
PFEND

PFTABLE "Colour"     -1   5
"Open"                1   8
"Red"                 2  68
"Orange"              3  28
"Yellow"              4   0
"Green"               5  32
"Open"                6   8
"Blue"                7  18
"UV"                  9  48
"UV"                 10  48
"UV"                  8  48
PFEND

PFTABLE "Gobo"       -1   8   6
"Open"               11   4   4
"Gobo 1"             12   E   4
"Gobo 2"             13  18   4
"Gobo 3"             14  22   4
"Gobo 4"             15  2C   4
"Gobo 5"             16  36   4
"Gobo 6"             17  40   4
"Gobo 7"             18  4A   4
"Gobo 8"             19  54   4
"Gobo 9"             20  5E   4
PFEND

;----------------------------------------------------------------------------
; Macros

MACRO "Lamp On"       1  16
"data"                0   0
"delay"               1  28
"data"                0   0
"delay"               1   A
MEND

MACRO "Lamp Off"      2  16
"data"                0   0
"delay"               1  28
"data"                0   0
"delay"               1   A
MEND

MACRO "Reset"         3  16
"data"                0   0
"delay"               1  50
"data"                0   0
"delay"               1   A
MEND

;----------------------------------------------------------------------------
; Range Tables

; Column by column description...
; 1. Low DMX value (inclusive)
; 2. High DMX value (inclusive)
; 3. Displayed text (max 11 chars)
; Variables used a=low val, b=high val, c=DMX val

RANGE 1  ;Pan
0   255  "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a)
REND

RANGE 3  ;Tilt
0   255  "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a)
REND

RANGE 5  ;Colour 1
0   0    "No Scroll"
0   15   "Open"
16  31   "Red"
32  47   "Blue"
48  63   "Green"
64  79   "Yellow"
80  95   "Pink"
96  111  "Light Blue"
112 127  "Orange"
128 255  "Scroll %3d%%"100-((c-a)*100/(b-a))
REND

RANGE 6  ;Gobo 2
0   0    "No Scroll"
0   9    "Open"
10  19   "Gobo 1"
20  29   "Gobo 2"
30  39   "Gobo 3"
40  49   "Gobo 4"
50  59   "Gobo 5"
60  69   "Gobo 6"
70  79   "Gobo 7"
80  89   "Gobo 1 %3d%%"(c-a)*100/(b-a)
100 119  "Gobo 2 %3d%%"(c-a)*100/(b-a)
120 139  "Gobo 3 %3d%%"(c-a)*100/(b-a)
140 159  "Gobo 4 %3d%%"(c-a)*100/(b-a)
160 179  "Gobo 5 %3d%%"(c-a)*100/(b-a)
180 199  "Gobo 6 %3d%%"(c-a)*100/(b-a)
200 219  "Gobo 7 %3d%%"(c-a)*100/(b-a)
220 255  "Scroll %3d%%"(c-a)*100/(b-a)
REND

RANGE 7  ;Gobo 2 Rot
0   127  "Index %3d%%"(c-a)*100/(b-a)
128 189  "Spin C %3d%%"(c-a)*100/(b-a)
190 191  "No Spin"
192 255  "Spin C %3d%%"100-((c-a)*100/(b-a))
REND

RANGE 8  ;Gobo 1
0   0    "No Scroll"
0   9    "Open"
10  19   "Gobo 1"
20  29   "Gobo 2"
30  39   "Gobo 3"
40  49   "Gobo 4"
50  59   "Gobo 5"
60  69   "Gobo 6"
70  79   "Gobo 7"
80  89   "Gobo 8"
90  99   "Gobo 9"
100 111  "Gobo 1 %3d%%"(c-a)*100/(b-a)
112 123  "Gobo 2 %3d%%"(c-a)*100/(b-a)
124 135  "Gobo 3 %3d%%"(c-a)*100/(b-a)
136 147  "Gobo 4 %3d%%"(c-a)*100/(b-a)
148 159  "Gobo 5 %3d%%"(c-a)*100/(b-a)
160 169  "Gobo 6 %3d%%"(c-a)*100/(b-a)
172 183  "Gobo 7 %3d%%"(c-a)*100/(b-a)
184 195  "Gobo 8 %3d%%"(c-a)*100/(b-a)
196 207  "Gobo 9 %3d%%"(c-a)*100/(b-a)
208 255  "Scroll %3d%%"(c-a)*100/(b-a)
REND

RANGE 9  ;Shutter
0   31   "Closed"
32  63   "Open"
64  95   "Strobe %3d%%"(c-a)*100/(b-a)
96  127  "Open"
128 159  "Pulse %3d%%"(c-a)*100/(b-a)
160 191  "Open"
192 223  "Rnd St %3d%%"(c-a)*100/(b-a)
224 255  "Open"
REND

RANGE 10  ;Dimmer
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 11  ;Focus
0   255  "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND

RANGE 12  ;Prism
0   63   "Open"
64  127  "3 Facet Pri"
128 191  "5 Facet Pri"
192 255  "Frost"
REND

RANGE 13  ;Prism Rot
0   2    "No Spin"
3   127  "Spin C %3d%%"(c-a)*100/(b-a)
128 129  "No Spin"
130 255  "Spin C %3d%%"(c-a)*100/(b-a)
REND

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

RANGE 15  ;P/T Speed
0   255  "%3d%%"100-((c-a)*100/(b-a))
REND

RANGE 16  ;Control
0   0    "Rese %3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
MLavoliteforum
Posts: 4
Joined: 23 Aug 2015, 07:33

Re: Have control, but no beams

Postby MLavoliteforum » 26 Aug 2015, 23:01

Hi,
I wanted to know is it better to click "generate" and create .vis & .r20 from the builder program.
Or
From the builder program opt for save as .vis & .r20 separately .... It builds it and tells if all attributes are successfully created.

Which is more accurate?

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

Re: Have control, but no beams

Postby niclights » 26 Aug 2015, 23:09

Build .d4 in Personality Builder, generate .r20 and say yes when prompted if you want to create vis files too. You will still have to edit the .vis file. Sometimes also the attribute types in the .r20.

It looks to me like you have changed things in the .d4 file and then tried to reexport it. This has resulted in tidier colours but you still need to edit the .vis file. Specifically remove the first mapping line from Colour 1 (0 0 black) and change the iris range so that it has an open value somewhere (ie. 0 191 1 0). This should fix the no beam issue. To make it work better you will then need to fix the gobo mappings in the vis file.

Is there a reason why you are posting under two usernames? This is bad forum etiquette.
MLavoliteforum
Posts: 4
Joined: 23 Aug 2015, 07:33

Re: Have control, but no beams

Postby MLavoliteforum » 27 Aug 2015, 09:07

Hi Nic,
Actually do u mean why I registered for the forum twice ?
Or that I am signing off with Alfie? (I will fix that)

I did not mean to offend.

I didn't mean to register under 2 forum enteries - I didn't think the first time the admin were processing my request. So I registered again.

Now I'm not sure which one I have logged in on - just I know in the forum.

And I'm learning all the time now.
Thanks & sorry .... Didn't mean to offend.
User avatar
niclights
The eManual
Posts: 4255
Joined: 24 Sep 2004, 01:06
Location: UK

Re: Have control, but no beams

Postby niclights » 27 Aug 2015, 09:42

It's no problem to sign off with Alfie!

Just querying why two accounts. Makes sense. Just try to use one from now on so there is no confusion.

Who is online

Users browsing this forum: No registered users and 2 guests