Help Modyifing a Fixture File for Moving Head

Welcome to the Avolites Personality Builder Forum.

Moderator: Moderators

cantyco
Posts: 2
Joined: 07 Mar 2014, 20:31

Help Modyifing a Fixture File for Moving Head

Postby cantyco » 07 Mar 2014, 20:41

Hi All,

I have been trying to modify a fixture file, as there wasn't any macros on the fixture, and is a real pain having to set the fixture channels to particular numbers to turn the lamp off and lamp on, everytime.

I tried to create three macros using the personality builder,
one to set Lamp off : Channel 8 needs setting to 239, and channel 16 too 255
Lamp on: Channel 8 needs setting to 247, and channel 16 too 255
Reset: Channel 8 needs setting to 255, and channel 16 too 255

I thought I had managed it but the macro's doesn't do anything when selected on the desk, granted i'm only watching the dmx output screen and not tried it with the lights plugged in, but assume this should show.

Anybody willing to see what I have done wrong?

The code from the created r20 fixture file is

Code: Select all

; 'iSolution IM250S Mode 1', 16 DMX Channels, filename: IS_IM250.R20
;  Copyright © Avolites Ltd. 2014
;
;   Date       By                Description
;   19-09-06   Pers Creator      Created - Exported from Diamond 4 file.
;
;----------------------------------------------------------------------------
; The device name, upto 11 characters, no spaces are allowed
DEVICE  IS_IM250SM1                         mode=Mode 1, 16bit  16 DMX Channels
NAME "iSolution" "IM250S Mode 1"
;
;----------------------------------------------------------------------------
; 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    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 Mode 1, 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"               0     0     0
0     0   L   14   100   1N   E   1   "Pan Low"           0     0     0
3     1   s    2   100   1N   F   1   "Tilt"              0     0     0
0     0   L   15   100   1N   F   1   "Tilt Low"          0     0     0
8     1   L    3   100   1N   0   1   "P/T Spd"         255     0     0
1     1   H    4   100   1N   H   1   "Dimmer"          255     0     0
2    61   L    5   100   1N   O   1   "Shutter"          12     0     0
4    61   I    6   100   1N   N   1   "Colour 1"          6     0     0
12    1   L    7   100   1N   G   1   "Reserved"          0     0     0
12   61   L    8   100   1N   O   1   "Reserved"          0     0     0
6     1   I    9   100   1N   I   1   "Gobo 1"            8     0     0
7     1   L   10   100   1N   K   1   "Gobo1 Rt"          4     0     0
9     1   I   11   100   1N   P   1   "Prism"            42     0     0
9    61   L   12   100   1N   0   1   "Prism Rt"          4     0     0
5    61   L   13   100   1N   L   1   "Focus"           127     0     0
19    1   I   16   100   1N   P   1   "Control"           0     0     0
END
;
;----------------------------------------------------------------------------
TEXT
iSolution
IM250S Mode 1
Mode 1, 16bit

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

ATTR
Function Obsolete
END

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

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

MACRO "Lamp On"       1  16   8
"data"                0  FF  F7
"delay"               1  64
"data"                0   0   0
"delay"               1  64
MEND

MACRO "Lamp Off"      2  16   8
"data"                0  FF  EF
"delay"               1  64
"data"                0   0   0
"delay"               1  64
MEND

MACRO "Reset"         3  16   8
"data"                0  FF  FF
"delay"               1  64
"data"                0   0   0
"delay"               1  64
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 2  ;Tilt
0   255  "%3d.%02d%%"(c-a)*100/(b-a),100*((c-a)*100%(b-a))/(b-a)
REND

RANGE 5  ;Shutter
0   7    "Closed"
8   15   "Open"
16  131  "Strobe %3d%%"(c-a)*100/(b-a)
132 239  "Shake %3d%%"(c-a)*100/(b-a)
240 247  "Music"
248 255  "Open"
REND

RANGE 6  ;Colour 1
0   12   "Open"
13  25   "Green"
26  38   "Magenta"
39  50   "Light Blue"
51  63   "Yellow"
64  76   "Red"
77  88   "Blue"
89  101  "UV"
102 114  "Light Green"
115 127  "Pink"
128 247  "Scr CW %3d%%"(c-a)*100/(b-a)
248 255  "Music"
REND

RANGE 8  ;Reserved
0   0    "Safe"
239 239  "Lamp Off"
247 247  "Lamp On"
255 255  "Reset"
REND

RANGE 9  ;Gobo 1
0   15   "Open"
16  31   "Gobo 1"
32  47   "Gobo 2"
48  63   "Gobo 3"
64  79   "Gobo 4"
80  95   "Gobo 5"
96  111  "Gobo 6"
112 127  "Gobo 7"
128 247  "Scr CW %3d%%"(c-a)*100/(b-a)
248 255  "Music"
REND

RANGE 10  ;Gobo1 Rt
0   9    "No Spin"
10  120  "Sp CW %3d%%"100-((c-a)*100/(b-a))
121 134  "No Spin"
135 245  "Sp CCW %3d%%"(c-a)*100/(b-a)
246 255  "No Spin"
REND

RANGE 11  ;Prism
0   85   "Open"
86  170  "Prism 1"
171 255  "Prism 2"
REND

RANGE 12  ;Prism Rt
0   9    "Open"
10  120  "Sp CW %3d%%"100-((c-a)*100/(b-a))
121 134  "No Spin"
135 245  "Sp CCW %3d%%"(c-a)*100/(b-a)
246 255  "No Spin"
REND

RANGE 16  ;Control
0   0    "Safe"
1   254  "%3d%%"(c-a)*100/(b-a)
255 255  "Reset"
REND

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

Re: Help Modyifing a Fixture File for Moving Head

Postby niclights » 07 Mar 2014, 21:24

In Personality Builder the syntax for a macro step is <attribute ID>:<function ID>:<function value> (where applicable).
Function values are only required where the function has a range or, to put it another way, when the display type is anything other than 'text only'.
Multiple attributes can be set in the same step separated by a comma.

If you select an attribute, select macros, click on the 'created functions' tab at the top then double-clicking on any of the functions will automatically create a 2-step macro which sets the chosen attribute/function in step one followed by the first function in the chosen attribute in step two.

So, in your example we can select the control attribute, select macros, click on 'created functions' and then double-click on 'reset' three times.

This will give us a starting point with three separate 2-step macros. Each will set control (ch 16) to reset (255) before setting back to safe (0).

In the macro this will be represented as:

Step 1 - Control:3
Step 2 - Control:1

Currently they will all be called 'reset' because they took the function name we double-clicked on. At this point it would be a good idea to rename the first two to 'Lamp Off' and 'Lamp On' respectively.

Now we just need to manually add the channel 8 values. The attribute ID for this particular channel is 'Reserved1'. Since this is defined as a simple raw DMX 0-255 range in one function it is relatively straight-forward to just use raw values directly in the macro.

This is how it should look:

Lamp Off
Step 1 - Control:3,Reserved1:1:239
Step 2 - Control:1,Reserved1:1:0

Lamp On
Step 1 - Control:3,Reserved1:1:247
Step 2 - Control:1,Reserved1:1:0

Reset
Step 1 - Control:3,Reserved1:1:255
Step 2 - Control:1,Reserved1:1:0

Adjust the delay in Step 1 in milliseconds as required and you're done. Normally there will be no delay in step 2 (0 ms).
cantyco
Posts: 2
Joined: 07 Mar 2014, 20:31

Re: Help Modyifing a Fixture File for Moving Head

Postby cantyco » 17 Mar 2014, 22:46

Hi,

Thanks for the instructions.

Finally had time to follow them, and the fixture is now working correctly.

Cheers
Tim
cggslighting
Posts: 2
Joined: 11 Mar 2016, 18:20

Re: Help Modyifing a Fixture File for Moving Head

Postby cggslighting » 14 Nov 2017, 13:34

Hi,
I know this was some time ago. but can anyone offer me any advice on getting a lamp off macro to work in personality builder.
I am using Titan one, and a set of 2 Isolution IM250s movers, and i would like to get the lamp on/off macro working.
Thank You,
Harry
User avatar
niclights
The eManual
Posts: 4208
Joined: 24 Sep 2004, 01:06
Location: UK

Re: Help Modyifing a Fixture File for Moving Head

Postby niclights » 14 Nov 2017, 15:57

I don't think I can add much more to the information already here but I have now updated the personality in the library with the macros as defined in the documentation which seems to match the details above (including lamp off).

All being well the revised version should be available in the Titan library installers from tomorrow morning. Please try this. If it doesn't work let me know.
cggslighting
Posts: 2
Joined: 11 Mar 2016, 18:20

Re: Help Modyifing a Fixture File for Moving Head

Postby cggslighting » 16 Nov 2017, 09:38

Hi,
am I right in thinking that this should now be accessible from the ML menu, after updating the personality's, my steps have been, select Group IM250s, ML menu, Macros, but there are none there. Am i doing the right thing, sorry to be a pain, am fairly new to the software.
I have rebooted and checked in the file system that is is the most recent personality.
User avatar
Gregory
Site Admin
Posts: 1103
Joined: 14 Dec 2007, 15:25
Location: London, United Kingdom
Contact:

Re: Help Modyifing a Fixture File for Moving Head

Postby Gregory » 16 Nov 2017, 09:45

The show file retains the version of the personality from when it was patched. In Titan you can use the Update Personality function under Patch > Edit Fixtures to update the show file; on classic desks I believe you need to delete those fixtures and repatch.

Who is online

Users browsing this forum: No registered users and 1 guest