i have write a Personality for led bar and i have big problem since then my avo is frezzing or show memory error but its only happen when i have patched this led bar and try to run a shape for this fixture what can by wrong ?? is the personality problem or some thing wrong witch my avo ??
Code: Select all
; 'X-Beam michal_led Pixel, 29 DMX', 29 DMX Channels, filename: ledbar.R20
;
;
; Date By Description
; 23-03-2011 Michał Łoś xxx
;
;
;----------------------------------------------------------------------------
; The device name, upto 11 characters, no spaces are allowed
DEVICE ledbar mode=Pixel, 29 DMX 29 DMX Channels
NAME "X-beam" "michal_led, 29 DMX"
;
;----------------------------------------------------------------------------
; The Type of instrument, 1 & M must required for backward compatibility
; The middle number denotes the number of DMX channels used
TYPE 1 29 M
;
;----------------------------------------------------------------------------
; Mirror/Head resolution
MIRROR 0 0 0
; | | |
; | | |_______ 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 Pixel, 29 DMX"
""
""
DAEND
;
;----------------------------------------------------------------------------
; Specify DMX limits
;
; minimum allowed dmx number
MINDMX=1
;
; maximum allowed dmx number
MAXDMX=483
;
; 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=Color Wheel1, 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=Color Wheel2, 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
2 1 H 1 100 1N 0 1 "Control" 1 0 0
1 1 H 2 100 1N H 1 "Dim/speed" 255 0 0
4 1 H 3 100 1N A 1 "R full/eff" 255 255 0
4 61 H 4 100 1N A 1 "Green Full" 255 255 0
5 1 H 5 100 1N A 1 "Blue Full" 255 255 0
6 1 H 6 100 1N 0 1 "Red 1" 0 255 0
6 61 H 7 100 1N 0 1 "Green 1" 0 255 0
7 1 H 8 100 1N 0 1 "Blue 1" 0 255 0
7 61 H 9 100 1N 0 1 "Red 2" 0 255 0
8 1 H 10 100 1N 0 1 "Green 2" 0 255 0
8 61 H 11 100 1N 0 1 "Blue 2" 0 255 0
9 1 H 12 100 1N 0 1 "Red 3" 0 255 0
9 61 H 13 100 1N 0 1 "Green 3" 0 255 0
10 1 H 14 100 1N 0 1 "Blue 3" 0 255 0
10 61 H 15 100 1N 0 1 "Red 4" 0 255 0
11 1 H 16 100 1N 0 1 "Green 4" 0 255 0
11 61 H 17 100 1N 0 1 "Blue 4" 0 255 0
12 1 H 18 100 1N 0 1 "Red 5" 0 255 0
12 61 H 19 100 1N 0 1 "Green 5" 0 255 0
13 1 H 20 100 1N 0 1 "Blue 5" 0 255 0
13 61 H 21 100 1N 0 1 "Red 6" 0 255 0
14 1 H 22 100 1N 0 1 "Green 6" 0 255 0
14 61 H 23 100 1N 0 1 "Blue 6" 0 255 0
15 1 H 24 100 1N 0 1 "Red 7" 0 255 0
15 61 H 25 100 1N 0 1 "Green 7" 0 255 0
16 1 H 26 100 1N 0 1 "Blue 7" 0 255 0
16 61 H 27 100 1N 0 1 "Red 8" 0 255 0
17 1 H 28 100 1N 0 1 "Green 8" 0 255 0
17 61 H 29 100 1N 0 1 "Blue 8" 0 255 0
END
;
;----------------------------------------------------------------------------
TEXT
X-beam Led Bar
build by ML
Pixel, 29 DMX
INPUT fixture DMX No.
Press a Fixture
Select or Swop button
to make the patch.
END
ATTR
Function Obsolete
END
;----------------------------------------------------------------------------
; Preset Palette Tables
PFTABLE "Colour" -1 6 9 12 15 18 21 24 27 7 10 13 16 19 22 25 28 8 11 14 17 20 23 26 29
"Open" 1 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
"Red" 2 FF FF FF FF FF FF FF FF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
"Amber" 3 FF FF FF FF FF FF FF FF 7F 7F 7F 7F 7F 7F 7F 7F 0 0 0 0 0 0 0 0
"Yellow" 4 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0 0 0 0 0 0 0 0
"Green" 5 0 0 0 0 0 0 0 0 FF FF FF FF FF FF FF FF 0 0 0 0 0 0 0 0
"Cyan" 6 0 0 0 0 0 0 0 0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
"Blue" 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 FF FF FF FF FF FF FF FF
"Purple" 9 7F 7F 7F 7F 7F 7F 7F 7F 0 0 0 0 0 0 0 0 FF FF FF FF FF FF FF FF
"Magenta" 10 FF FF FF FF FF FF FF FF 0 0 0 0 0 0 0 0 FF FF FF FF FF FF FF FF
"Lavender" 8 B5 B5 B5 B5 B5 B5 B5 B5 6E 6E 6E 6E 6E 6E 6E 6E F0 F0 F0 F0 F0 F0 F0 F0
"Blue-yellow" 11 0 FF 0 FF 0 FF 0 FF 0 FF 0 FF 0 FF 0 FF FF 0 FF 0 FF 0 FF 0
"Yellow-Blue 12 FF 0 FF 0 FF 0 FF 0 FF 0 FF 0 FF 0 FF FF 0 FF 0 FF 0 FF 0 FF
PFEND
;----------------------------------------------------------------------------
; Macros
MACRO "Stero. muzyka" 1 1
"data" 0 FF
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 ;Control
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 2 ;Dimmer/speed
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 3 ;Red Full/effekt
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 4 ;Green Full
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 5 ;Blue Full
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 6 ;Red 1
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 7 ;Green 1
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 8 ;Blue 1
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 9 ;Red 2
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 10 ;Green 2
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 11 ;Blue 2
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 12 ;Red 3
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 13 ;Green 3
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 14 ;Blue 3
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 15 ;Red 4
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 16 ;Green 4
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 17 ;Blue 4
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 18 ;Red 5
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 19 ;Green 5
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 20 ;Blue 5
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 21 ;Red 6
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 22 ;Green 6
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 23 ;Blue 6
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 24 ;Red 7
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 25 ;Green 7
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 26 ;Blue 7
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 27 ;Red 8
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 28 ;Green 8
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND
RANGE 29 ;Blue 8
0 255 "%3d.%d%%"(c-a)*100/(b-a),10*((c-a)*100%(b-a))/(b-a)
REND