Choose Language Hide Translation Bar
Highlighted
galactus3000
Level IV

missing graphs in a script

I have a script which imports excel tables, performs various table filtering etc and then generates graphs and journals them along with the data table.

The script seems to *not* generate the graphs 60% of the time.  I thought it might be a wait(0) type situation, yet insertion of wait(0)'s before and every window operation hasn't help much (if at all).

Please help.

This script needs to generate graphs 100% of the time.

The journal files are 210KB long when the graphs are generated and only 166KB long when they are not. (see below)

filessizewithandwithoutgraphs.PNG

Do I need to insert more wait(0)'s?

 

2 REPLIES 2
Highlighted
galactus3000
Level IV

Re: missing graphs in a script

Quick update ... I inserted a few more wait(0); before and after windows I/O steps and things seem better ...
A nice feature for future revs might be a built-in wait option (opt-out not opt-in perhaps) for those commands which frequently require wait(0) in order for script to operate sequentially and thus remove the black magic
Highlighted
txnelson
Super User

Re: missing graphs in a script

It is hard to comment on your discussion without seeing your script.

Jim
Article Labels

    There are no labels assigned to this post.