Hi all
I'm using a Simplelan to remotely display information from a 28X1 based logging system and to control the functioning of the logging system. The latter works by reading variables from the SimpleLan that are updated using a web form - so far so good.
The issue I have is that I want to use a checkbox or similar as a momentary switch to reset the max/min temperatures in the logger. However, after I submit a form from the SimpleLan the check box input variable continues to read the "checked" value even if I overwrite it from the picaxe and even though it's default in the form is not checked.
e.g.
in this case AT0R20 continues to read "Y" until the form is re-submitted. I assume this is bug/limitation of the SimpleLan or of my limited understanding of html but is there a way round this anyone has found other than maintaining a state variable in my code which seems as though it should be unnecessary and also means that a user has to explicitly submit a blank form before actioning the reset again.
Thanks in anticipation
Peter
I'm using a Simplelan to remotely display information from a 28X1 based logging system and to control the functioning of the logging system. The latter works by reading variables from the SimpleLan that are updated using a web form - so far so good.
The issue I have is that I want to use a checkbox or similar as a momentary switch to reset the max/min temperatures in the logger. However, after I submit a form from the SimpleLan the check box input variable continues to read the "checked" value even if I overwrite it from the picaxe and even though it's default in the form is not checked.
e.g.
Code:
hserout 0, ("!AT0R20")
hserin 0,[1000,timout],0,1
ptr=0
if @ptr="Y" then
hserout 0,("!AT0W20:","N")
' reset the max mins etc.
endif
Thanks in anticipation
Peter