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] Commands
FromFokko van Duin
DateFri, 23 Jan 2004 09:57:36 +0100


At 22:01 -0500 22-01-2004, Ian Cattell wrote:
The basic command is (you may remove the spaces in the string):

    put "56 01 0001 01#" into s -- 56=go, 01=eng A, 0001=list# 1, 01=step# 1
    SendCmd s, ""  -- asynchronous (no check, but much faster ;-)

I tried this command. Hypercard just sits there for a couple of seconds (actually freezing) then beeps and returns to normal. Is there something that I'm missing?

Yes it's the 300 ticks (5s) timeout, as the string was not correct, I forgot the *


put "*56 01 0001 01#" into s -- 56=go, 01=eng A, 0001=list# 1, 01=step# 1


Does it have anything to do with the SendCmd script in the stack?

The script is correct, it checks that previous command was handled, and then sends out the new command. When param 2 is S it waits for answer from the box before returning.



-- 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