I am using widgets to monitor all 4 analog inputs from the IO-204. Using javascript, I am storing the data to an array every 10 seconds and noticed sometimes after about 300 to 600 readings, the data in the array stops changing. Each reading is frozen eventhough the signals on the analog inputs are changing.
Also while the widgets are working (readings are updating) the channel numbers 1-2-3-4 flash on the 7-seg LED display. But when the readings freeze (sometimes after about 1 or 2 hours) the 7-seg LED remains dark.
Has anyone else seen similar intermittent behavior? Any ideas on how to fix?
A subsection of my code for channel 4:
DataStringA = widgetGetValue('CC7WwfDPbe9D');
And the widget is placed in the html body:
<script type="text/javascript">document.write(unescape("%3Cscript src='" + "
http://www.iobridge.com/widgets/io.js?CC7WwfDPbe9D' type='text/javascript'%3E%3C/script%3E"));</script>
Thanks,
Jeff