Please login or register.

Login with username, password and session length

Author Topic: Flag Info Needed  (Read 4287 times)

James S.

  • Full Member
  • ***
  • Helpful Post Rating: 10
  • Posts: 27
Flag Info Needed
« on: March 22, 2005, 05:48:22 PM »

What are they? How are they used and how do
I set them up? I just got the smart macro
plug in and read all the directions I could
find on them. Apparently the developers
think you know as much as they do and don't
bother explaining there application to us
non-programers.
Logged

burt

  • Jr. Member
  • **
  • Helpful Post Rating: 0
  • Posts: 18
Re: Flag Info Needed
« Reply #1 on: March 26, 2005, 12:46:40 AM »

The only thing I know about flags is that
they only work in the hardware. Guess I
played hookie on the day they taught the
class on flags.
Logged

donald mcmow

  • Hero Member
  • *****
  • Helpful Post Rating: 0
  • Posts: 306
Re: Flag Info Needed
« Reply #2 on: March 26, 2005, 02:44:18 AM »

You can use them where you need a variable
check - If you want to skip a timer event,
you can check a flag in your main macro, if
the flag is not set then continue running
your macro. If the flag is set then run a
different macro clearing the flag. A third
macro can be used to set the flag. It is
the same as If-Then-Else programming. If
you have a motion detector (which will
always send a trigger signal) the flag can
be set and checked to only execute the
macro once rather than everytime motion is
detected. The flags can be defined as
anything you want to keep track of and
check.
Logged

James S.

  • Full Member
  • ***
  • Helpful Post Rating: 10
  • Posts: 27
Re: Flag Info Needed
« Reply #3 on: March 27, 2005, 12:32:45 AM »

Donald McMow: Thanks for the information on
flags!
Logged
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.