Novice lib File Programmer..HELP!

Howdy All,

I am a very novice library file programmer and have gotten myself into a world of trouble. The blank show file I am working on needed a Clay Paky Alpha Profile 700 added to it and I needed to write it first. I completed the writing via the software listed on the Flying Pig Site. After I created the new profile I added it to the end of the show's library text file, increase the count to the next number and saved.

I keep getting an error when loading the new show file onto my console (Hog 1000).

"function duplicated in library file: _lib.lib"
"failed to read in fixture: _lib.lib"

Please help. I need to get everything working before a show at the beginning of next week. I attached the whole show file zipped for easy handling.

Thanks!!
  • From what I see, you have included the "kind =" parameter on a bunch of stuff which is already defined in FUNCTION.TXT, such as "Shape 1a", etc., and as such, likely results in the "duplicate function" error. Not sure why the generator would include, that, but I suggest that you look into FUNCTION.TXT, and find those parameters such as the above that are already there that have a "kind =" entry, and drop the "kind =" accordingly, and hopefully you rill be good. The Hog-2 manual is pretty clear that "kind =" is only to be used for one-off stuff that isn't already in FUNCTION.TXT.

    If I get bored, I may try to load this up in Hog2-PC and see how it fares myself, but not sure how much free time I'm going to find these days . . .

    - Tim
  • Thank you for the reply. I tried cleaning up the "kind =" issues and found that I had also duplicated the "color" so I removed that as well.

    I am still getting the same error message. I decided to make a clean no fixture show disk and import only the new fixture I created. Same issues.

    I am attaching the new show in hopes that someone finds a case of OE.

    Thanks again for every ones help.

    Scott
  • Hello, try the one below. You also had 2 Macros channels. I removed one but I am not sure if it was the correct one or not but the fixture loads now. I also cleaned up some other things such as making your Intensity channel a 16 bit channel instead of 2 x 8 bit channels. I did the same for Focus I believe.
    There were also some labels causing problems. If the first 7 digits or so of a label are the same, the console sees them the same as it only sees the first 7 or 8 characters of a label


    fixture = 700 P
    manufacturer = 1
    product = 54
    name = AProfile 700
    yoke = yes

    output = dmx

    parameter = Cyan
    default = 255
    highlight = 255
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Magenta
    default = 255
    highlight = 255
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Yellow
    default = 255
    highlight = 255
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Cto
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Color
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 128, 255, ROTAT
    range = 0, 7, WHITE
    range = 8, 22, RED
    range = 23, 36, CTO
    range = 37, 51, GREEN
    range = 52, 66, LT GRN
    range = 67, 81, LAV
    range = 82, 96, AQUA
    range = 97, 111, ORANG
    range = 112, 127, BLUE

    parameter = Strobe
    default = 105
    highlight = 105
    crossfade = 0
    type = ltp8bit
    range = 0, 3, CLOSED
    range = 4, 103, STROBE
    range = 104, 107, OPEN
    range = 108, 207, PULSE
    range = 213, 225, RAN SLOW
    range = 226, 238, RAN MED
    range = 239, 251, RAN FAST

    parameter = Intensity
    default = 0
    highlight = 65535
    crossfade = 0
    type = htp16bit
    range = 0, 65535, %

    parameter = Iris
    default = 129
    highlight = 255
    crossfade = 0
    type = ltp8bit
    range = 128, 131, MAX
    range = 0, 127, IRIS
    range = 132, 171, PULSE
    range = 172, 211, PUL/OP
    range = 212, 251, PUL/OPFA

    parameter = Gobo
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 16, OPEN
    range = 17, 32, GOBO 1
    range = 33, 48, GOBO 2
    range = 49, 64, GOBO 3
    range = 65, 81, GOBO 4
    range = 82, 97, GOBO 5
    range = 98, 113, GOBO 6
    range = 114, 129, GOBO 7
    range = 130, 147, G1 SHAK
    range = 148, 165, G2 SHAK
    range = 166, 183, G3 SHAK
    range = 184, 201, G4 SHAK
    range = 202, 219, G5 SHAK
    range = 220, 237, G6 SHAK
    range = 238, 255, G7 SHAK

    parameter = Gobo<>
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 20,HOME
    range = 21, 41, 90d
    range = 42, 62, 180d
    range = 63, 83, 270d
    range = 84, 104, 360d
    range = 105, 126, 450d
    range = 127, 127, 540d
    range = 128, 190, ROT>
    range = 191, 192, STOP
    range = 193, 255, ROT<

    parameter = Gobo F
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Fx/prism
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 127, OPEN, noauto
    range = 128, 255, INSERTED, noauto

    parameter = Frost
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255 ,%

    parameter = Shape1a
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Shape1b
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Shape2a
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Shape2b
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Shape3a
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Shape3b
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Shape4a
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Shape4b
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Shape rot
    default = 127
    highlight = 127
    crossfade = 0
    type = ltp8bit
    range = 0, 124, >>, noauto
    range = 127, IDLE, noauto
    range = 129, 255, <

    parameter = Focus
    default = 32768
    highlight = 32768
    crossfade = 0
    type = ltp16bit
    range = 0, 65535, %

    parameter = Zoom
    default = 128
    highlight = 255
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = AutoFocus
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 6,OFF
    range = 7,3 METER1
    range = 10,4 METER2
    range = 13,5 METER3
    range = 15,6 METER4
    range = 18,7 METER5
    range = 20,8 METER6
    range = 23,9 METER7
    range = 26,10 METER8
    range = 27, 255,11-100

    parameter = FocusAdjust
    default = 128
    highlight = 128
    crossfade = 0
    type = ltp8bit
    range = 0, 255, %

    parameter = Macro
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 7, OFF, noauto
    range = 8, 255

    parameter = Pan
    default = 32768
    highlight = 32768
    crossfade = 0
    type = ltp16bit
    range = 0, 65535, %

    parameter = Tilt
    default = 32768
    highlight = 32768
    crossfade = 0
    type = ltp16bit
    range = 0, 65535, %

    parameter = RESET
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, N/A, noauto
    range = 50, RESET FX
    range = 100, RESET PT
    range = 200, GLOBAL

    parameter = Control
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 60, LAMP OFF
    range = 130, LAMP 1/2
    range = 220, LAMP FUL

    parameter = P/Tspeed
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255, %

    parameter = Coltime
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = Beamtime
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%

    parameter = GoboTime
    default = 0
    highlight = 0
    crossfade = 0
    type = ltp8bit
    range = 0, 255,%
  • Mitch and Tim thank you so very much for all your help. I really enjoy learning new things and you both helped me fix my mistakes and learn the correct way.

    Scott W.
Related