PDA

View Full Version : 519 and 520 broke Ocelot Serial?



Todd Reed
June 3rd, 2007, 12:37 AM
It appears that these last two versions broke the Ocelot Serial plugin?

Hoox, any problems on your end? I can't "GetVariables" anymore. But, other parts seem to work...! ???

Todd

hoox
June 3rd, 2007, 04:02 PM
No problems with GetVariables and 520 here.

Does it return wrong values or nothing at all?

Which plugin version are you using?

Todd Reed
June 3rd, 2007, 04:53 PM
Well, a few weeks ago I updated to build 519 to try to solve another issue. When I upgraded I checked the box "copy G4 settings..." which copied the old v1.0.5 Ocelot plugin...! (Be careful with this one...!!!)

So, I copied back the v1.0.12 version of the Ocelot plugin and restarted G5. Then nothing, except the message "can't connect to Ocelot on com1..." so I went to Transport manager, which had set com1, with the incorrect settings to the Ocelot. So, I released that, and went to the device manager and reset the com1 port to the ADI Ocelot on com1.

So, it seems that all is well and working, just upgrade woes...! I will post back if I have any further issues...

Thanks!

Todd Reed
June 8th, 2007, 04:32 PM
I have something that is stalling G5, but I can't tell what...

Everything seems fine, but after a couple of days, Serial plugins and Webserver stops working. No errors, just stalled, then I restart G5 and all is fine!

???

hoox
June 9th, 2007, 12:10 PM
How do you get the Ocelot values in your lhtml file?

Maybe something in it does not work happily with this combination.

Could you post a snippet please?

Todd Reed
June 9th, 2007, 11:29 PM
Hoox,

This seems to work fine, and the stalling is not related to the opening or refreshing of my LHTML file...



<%
Ocelot:GetVariables(function() end)
webserver:print("<H2>".." Current Air Temperature is = "..ADI.Var[8].."</H2>")
webserver:print("<H2>".." Current Spa Temperature is = "..ADI.Var[7].."</H2>")
%>


What I do is open the file, and if it is not working, I check and G5 is stalled, not totally, just the serial and webserver stuff.

???

Todd Reed
June 10th, 2007, 11:42 PM
Hoox, I loaded v1.0.14 so we'll see.

Funny thing, when I went to restart G5 after I copied the file, I tested and it was stalled again, so I messed with it, and tried saving the GML, and it started working...??

hoox
June 11th, 2007, 04:04 AM
Sorry, I have no idea what it could be.

I keep trying to reproduce with the attached 'site'.

It refreshs the variables every second, so the problem should come soon! (I'm not good with JScript and the like)

If you want to try with, you'll see, at the least, if the variable 62 (a work variable) stops changing regularly...

Todd Reed
June 20th, 2007, 11:58 PM
Still problems after several days...

"ADI Ocelot: 1 Que Full..."
"ADI Ocelot: 1 Que Full..."
"ADI Ocelot: 1 Que Full..."
"ADI Ocelot: 1 Que Full..."

So, exit G5, and restart G5 to fix.

I will try to load v521 this weekend...!

hoox
June 21st, 2007, 07:15 AM
When this happens, it does not receive X10, IR or IO events anymore?

What's the gap between each "ADI Ocelot: 1 Que Full..."?

Todd Reed
June 23rd, 2007, 08:25 AM
Correct, does not respond

And if you mean time gap in seconds, there is no gap. My script reads a 5 day weather forcast with lots of data, and I use SetVar to send values to ADI, so I get 7-8 of these lines, "ADI Ocelot 1: Que Full..." at the same time...

Not one every 2-3 seconds.

hoox
June 24th, 2007, 03:22 AM
Well, I would try without this script...

Otherwise you could see if it's any better with the Ocelot component (also works fine for me :()

Note that this would probably need to modify your scripts, but hopefully the file logging may give more clues about this issue.