Recommended Posts

Posted

I have a sequence "Sites" that calls a function Site_Poll

the sequence Site determines if a site has to be polled - could be anywhere from 1 to say 20 sites concurrently

if Site n is to be polled it calls sequence  Siten_Poll and it in turn calls sequence Site_Poll and and passes the site n parameters 

Site_Poll then determines if the function Site_Relay has to be called

thus Site1_Poll could call Site1_Relay and say Site5_Poll could call Site5_Relay (Siten_Relay calls Site_Relay and passes site n parameters)

I have used the same logic to call Site_Poll and Site_Relay however I cannot get it to work Site_Relay to work

error message is  C1000 Channel or function not found:  Line 1: Site_Poll Line 104: Site1_Poll Line 1 - Uncaught error in sequence Site1_Poll

Sequence named Site1_Poll only has 1 line of code

Site_Poll(1)

is it because Site_relay is effectively nested under Site_Poll?

do I have to pass additional parameters that relate to Site_Relay when I call Site_Poll in the 1st place?

Rodney

 

Posted

You are reading the call stack backwards.  Site1_Poll() doesn't have an error.  Site_Poll does.  At line 104.  Site_Poll was called from site1_poll at line 1.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.