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

Subject[LCtalk] LCM inputs question
FromDirk Offringa
DateWed, 18 Jun 2008 11:32:12 +0200


Hi

We have 2 inputs when using the midi adapter on the LCM. I guess these are contact (two-state) inputs, as specified in the manual. The use of these is not very well documented in the LCEdit manual (or I missed something).

I want to use one of these inputs to sense if my fogger is ready or heating (not ready), so that I can tell the Lanbox to trigger smoke only when ready. I'll use a relay to retrieve this information, getting the info from the fogger's remotecontrol light. I'll use another relay to "dmxify" the fogger, simulating a push on the button using a dmx switch. (Yes, I know, I should use a dmx fogger but it happens these are WAY to powerful for my needs, I didn't find a small one with dmx!)

In LCEdit I found only the following action:

go to step XX if input YY is [within/outside] range ZZ - ZZ.

Let's say I use input 1 of 2, that state 1 equals "fogger is heating, not ready", and I programmed a dmw switch "on" (trigger smoke) state in cuestep 10.

What is the correct syntax then? Is this correct:

// Cuelist 20 (8 steps), stored 18/06/2008 11:25
 -- check
 go 001 if input 1 within 0 - 0   /*check condition*/
 go prev                          /*loop until condition is true*/
 --
 -- trig fog
001:
 show d06 for 5.1s                /*condition is true, trig fog*/
 show d07 for 0.10s               /*make sure we stop the fogger, just in case*/
 go .0                            /*reset*/

:d06
  10[255]                         /*switch on*/

:d07
  10[000]                         /*switch off*/

Isn't there a way to do a "hold until input 1 equals 1" or something like that?

Thanks!!
Dirk


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