Hi, This might be obvious but from the screenshot of your code, it is not clear that you are actually pointing to the Graph Builder object when you use the Save Picture command (i.e. your last line of code should be "obj << Save Picture (Path, Format);" where obj should be defined as the entire code define under "Graph Builder").
You seem to have some commas (,) where I would expect to see semicolons (;). The graph builder should be terminated with a semicolon, then another one after the wait function. Hmmm ... or maybe it looks like you have put the wait and save picture inside the graph builder function.