ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#21610 - 02/03/10 09:56 PM Bobcat value into Ocelot varaible
Don Stephens Offline
newbie


Registered: 08/17/04
Posts: 16
Loc: Hamilton, MT
Please forgive the newbie question. I am trying to load the data from a Bobcat Light into a variable on the Ocelot to be read by my
Home Automation Program.

First I mapped and renamed the modules, but I noticed that the mapping didn't stick. Module #3 is the Bobcat; Variable is a variable in the Ocelot.

The problem is that the variable never changes. I'm assuming that line #1 isn't doing anything. Any suggestions?

Thanks;

Don

 PHP:
IF Module #3 is < 256 THEN Load Data to: Variable #1 End Program

Top
#21611 - 02/04/10 04:13 PM Re: Bobcat value into Ocelot varaible [Re: Don Stephens]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6242
Loc: Montreal, QC, Canada
The way the "IF Module #3" is displayed, I can tell that the module is not defined in the system map. Go into Project -> System Map and define module #3 as type "BOBCAT-L". Also define the variable as you did earlier. To make it stick, save your project and then open the project (not the program) when you want to work on it.

Setting it as a Bobcat-L should fix it. Also, due to a problem with how C-Max interprets the Light sensing bobcat's data (it doesn't subtract 100), make the command:

IF Module #3 BOBCAT-L is < 356
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#21613 - 02/04/10 08:03 PM Re: Bobcat value into Ocelot varaible [Re: Guy Lavoie]
Don Stephens Offline
newbie


Registered: 08/17/04
Posts: 16
Loc: Hamilton, MT
Ahh... Thank you.
Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
1 registered (ken-h) and 10 anonymous users online.
Recent Posts
How to Send an X10 Command ... propertly
by Guy Lavoie
Today at 06:37 AM
To send an IR command
by John Hughes
Yesterday at 08:28 PM
C-Max & OS X compatibility
by bvnoldguy
09/03/10 08:24 PM
More information on ATEC products?
by Msradell
09/03/10 06:32 AM
Is there an archive of forum posts older then 7 years old?
by Guy Lavoie
09/02/10 04:46 PM
Shout Box

Newest Members
jsdds, Dave W, stevenotts, wesmo, SteveS
2632 Registered Users
Forum Stats
2632 Members
19 Forums
3725 Topics
22059 Posts

Max Online: 58 @ 12/05/07 03:33 PM
September
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30