PDA

View Full Version : NetRemote.SetImageURL Errors?



jwilson56
April 11th, 2009, 03:51 PM
Ron or Rob

I am grabbing an image from my camera with this Girder LUA script

local url = "http://192.168.2.80/cgi-bin/nph-zms?mode=single&monitor=2&scale=100&user=guest&pass=guest2"
url = url.."&abcdef="..tostring(math.random())
NetRemote.SetImageURL("camera2", url)

It seems to grab the image fine and it appears to be ok on the Netmote side but I get an error in the log:

Time Date Source Details Payloads
19:50:11:687 4/11/2009 NetRemote Error: Connection Closed sending image variable camera2

Is there a syntax error that is causing this?

Rob H
April 11th, 2009, 06:00 PM
Interesting, I'll try to take a look at this from the NetRemote side soon - I've noticed it before with the CustomWeather code I think.

Ron, you may want to take a look at the Girder side to see if it may be something odd in connect:SendBinaryImage