Trouble With Beginseq


KenMandile

Recommended Posts

I am trying to get a remote runtime copy of a program to run, but it crashes unless I wait 10 to 15 seconds before starting the sequence.  If I start my program, wait, and then start my sequence, everything is fine.

I assume that it has something to do with loading the data from the server at startup.

To get around this issue, I created a separate autoload sequence:
 

while(1)
   Delay(30)
   beginseq(Startup_Team_2)
endwhile  
 
 
The problem that I have is that the beginseq doesn't work.  I've tried to start other sequences using beginseq and they also do not work.  It works fine on the server, but not on the client.
 
Is there something else I need to do to use beginseq?
Link to comment
Share on other sites

I'm guessing that you have the default connection set incorrectly, that DAQFactory is looking for Startup_Team_2 in the wrong place.  For example, if you created a remote connection to your server and made that the default connection, when you do beginseq(Startup_Team_2), its going to look for that sequence on the server, not the local document.  You instead need to put:

 

beginseq(Local.Startup_Team_2)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.