I have a vi that shows a graph and a button to commence printing of the graph. In order to have black lines on white background to make the graph printer friendly, I call another vi when the print button is pressed. Print Graph.vi (attached) rebuilds the graph and then calls "Print Panel with Printer.vi".
The problem is that it only works properly when the Print Graph.vi is open. When running normally or when compiled the resultant printout have the graph, but no data. It is almost as if the evoking of "Print Panel with Printer.vi" is creating a new copy of the Print Graph.vi in order to print and there is no data being passed to it. What is going on?
Steve