Page 1 of 1

Zhone z-plex 10 scripts

PostPosted: Tue Jun 05, 2007 10:56 am
by mcargile
When using the zhone 10B configuration script Matt created, we ran into the problem that we did not have a machine SLOW enough not to over run the output of the zhone. Our machine would break out of the waitfor() and goto the print() the command before the zhone was ready to receive the input. To fix this we put a single second sleep before EVERY print statement. This might be a bit too long as the script took 7.366666666666 minutes to run, but I did not have time as of yet to fix this.

It might be a good idea to run a few test to determine a good wait time and use that.

Mike

PostPosted: Wed Jun 06, 2007 8:22 pm
by mflorell
I still use a slow machine to do this so I guess I've never had that problem.

Could you post your code to the issue tracker?

PostPosted: Thu Jun 07, 2007 8:20 am
by mcargile
Its currently sitting on a clients computer. As soon as I can log back in and get it I will post it. I want to make it use usleep() rather than sleep() as a one second wait seems a bit too long, but we do not have any zhones to test it out with.