PrintGraph()


echoi

Recommended Posts

To capture a graph to image file from script you'd have to use the page.capture() function. That function allows you to specify the coordinates of the graph so you can trim the capture to just the graph. This function is described in section 7.14 of the user's guide. Note that it requires DAQFactory Standard or higher I believe.

Link to comment
Share on other sites

  • 4 months later...

Sure, right click on the graph and select "Export", then select the "MetaFile" option, along with "File" for the destination.

You can programmatically trigger this dialog by using the following line of script:

component.myGraph.printGraph()

where myGraph is the name you gave the graph.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.