Home | News | Products | Support | Download | Sales | library | Guests | Contact | WebCam | Links
CDS Logo LanBox-Talk mail archive
 

By date: Prev | Next | Index By thread: Prev | Next | Index

SubjectRe: [LCtalk] CueSceneWrite
FromFokko van Duin
DateWed, 08 Oct 2003 20:20:00 +0200


At 16:03 +0200 08-10-2003, Andreas Karlen wrote:
i created a cuelist with 6 steps; all steps are stepdatatype 1. CommonGetDirectory answers with cuelist 1 with 6 steps.

but i can't write any scenes with CueSceneWrite!
the only answer i get is "?"

As this is highly advanced stuff, please contact me direct for further questions ;-)


General tip: If you ever wonder how a LanBox command is working, do the following in LCedit+:
1. Turn off "Auto Update"
2. Turn on "Debug" mode
3. Open the "StreamWatcher" window


Now issue e.g. the store command to store cuelist 3 in the script editor (assuming one scene is loaded), and you will see something like below in the streamwatcher:


{*AA0003010103255C000000#}> {*AC00030100006B0002FF0003FD0004FD000900000A00000B00000C00000D00000E00000F00001000001400001500001600001700001800001900001A00001B00001C00001D00001E00001F00002000002100002200002300002400002500002600002700002800002900002A00002B00002C00002D00002E00002F00003200003300003400003500003600003700003800003900003A00003B00003C00003D00003E00003F00004000004100004200004300004400004500004600004700004800004900004A00004B00004C00004D00004E00004F00005000005100005200005300005400005500005600005700005800005900005A00005B00005C00005D00005E00005F00006000006100006200006300006400006500006600006700006800006900006A00006B00#}> {*AC000301000000006C00006D0001F50001F60001F70001F80001F90001FAFF01FB0001FC00#}>

Between {} is send, other data is received in LCedit
The {*AA 0003 01 0103255C000000#} CuelistWrite (cuelist 3, 1 step, 7 bytes data)
The {*AC 0003 01 00 006B 0002 FF.. CuesceneWrite cuelist 3, step 1, no flags, 107 channels,
{*AC 0003 01 00 0000 006C 00.. CuesceneWrite cuelist 3, step 1, no flags, continuation


Notes:
1. Channel numbers are 16 bit as LCedit+ is always in 16 bit mode for LCX and LCM.
2. LCedit+ always breaks up large writes to prevent buffer overflow. In this case it could have been a single command, but this shows how to use continuation.


I hope this helps,

--
Fokko van Duin,                     Creators of the LanBox-LC
CDS advanced technology bv,         DMX lighting controller.
http://www.cds.nl/                  http://www.lanbox.com/

We are member of MIDI Manufacturers Association, MMA

By date: Prev | Next | Index By thread: Prev | Next | Index