09-11-2012 12:04 AM - edited 09-11-2012 12:06 AM
Hi, I have a couple timed loops I run in my app. When I execute one of the timed loops from the statemachine it works and times out and returns normally everytime time I call it, but when I call another timed loop from another cased state the timed loop returns -808 error. If I restart the app again and call the previously failed timed loop first it works fine, then the other one throws the -808 error. Why does this happen? Both are wired with a 1000ms timeout. Is this a bug?
Thanks in advance...
09-11-2012 12:32 AM
This happens when you have the same name for both the timed loops. Just double click and change the name then it will be alright.
09-11-2012 06:51 AM
Thanks so much 😃
09-11-2012 08:03 AM
Ok, this did not work by just changing the label name. I have one Timed Loop called StatusDataMessageHandler and another called HeatDataMessageHandler. If I call the StatusDataMessageHandler and it times out then call the HeatDataMessageHandler. The HeatDataMessageHandler reports the -808. If call them in reverse order it's the StatusDataMessageHandler that reports this. It's seem like a naming issue like you said. Were you referring to the just changing the label name, if so, that didn't work 😃
Thanks.
09-11-2012 08:13 AM - edited 09-11-2012 08:14 AM
It's not the label. If you double-click on the "ear" of the loop, you will get a dialog box. In that window is a "Structure Name". That's what needs changed.
09-11-2012 08:57 AM
Are you referring to the configure Timed Loop dialog box when clicking on the left side in the timing controls. That dialog has the Source Name entry that defaults to 1kHz in it, is this the structure name you were referring to that changes per different Timed loops? I assume yes, since there is no other dialog box that shows up when clicking anywhere else that says structure name specifically.
Sorry for the all the questions, I'm sure there are others who get bit by this problem since it so easy just to cut and paste things around without changing the name.
Thanks.
09-11-2012 09:02 AM - edited 09-11-2012 09:03 AM
No, there's a Structure Name to the right.

09-11-2012 09:05 AM
In the attached image you can see the Structure name (L53950988) that has to be unique for each timed loop.
09-11-2012 09:05 AM - edited 09-11-2012 09:07 AM
Thank you.....