Steve,
LabVIEW may not be populating your graph when you call the subVI. It's
possible that you will have to open the front panel, print the graph,
then close the front panel. This is particularly the case if you are
using an older version of LabVIEW (pre-5.0).
Knowledge Base (KB) 18FB2692 explains
Well I spoke too soon. It works when the print graph vi is open.
When I put the whole package back together the vi is not opened. In
this case the graph prints without data. It is almost as if the
"print panel to printer.vi" is evoking a different copy of the print
graph.vi where no data is gett
That seemed to be it. It works fine. THANKS!
Right click on the graph and select Advanced>Synchronous Display. This
will ensure that the data on the front panel is updated before the
diagram completes.
That is what I had done, but I do not get data in the graph. It is as
if it takes a while for the data to be graphed before it is available?
Try sticking some data into the input array and see it it appears in
the graph when YOU print!
S
Okay, I think I understand. If you're calling the print panel before
the subVI has it's data, then the panel will be blank. You should be
able to put the select printer function inside the subVI. You just
have to make sure that the data is updated before the print function
is called. It would then
Ah, this is why no one has understood me!
Yes, I have the graph on a nice looking front panel then I offer a
control to print the graph. This calls ANOTHER graph vi, that has a
vary similar front panel but with white background and black graph and
data to be a little more printer friendly. It wo
Why is there no way to pass data to the graph? That sounds like your
major problem and not the printing. Do you have a connection on the
subVI's connector pane? Is the subVI not visible when you want to do
the printing?
I am trying to use the NI library function "Print panel to printer.vi"
sited at
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E9F956A4E034080020E74861&p_node=DZ52084&p_source=external.
The vi that I want to print is a graph that I must pass parameters to
that contain the