Print All Graphs
hrodstein
Function PrintAllGraphs()
Variable index = 0
do
String graphName = WinName(index, 1)
if (strlen(graphName) == 0)
break
endif
// PrintGraphs can not be called directly from a user-defined function so we must use Execute.
// You may need to tweak the PrintGraphs command for your purposes.
String cmd
sprintf cmd, "PrintGraphs %s", graphName
Execute cmd
index += 1
while(1)
End
Variable index = 0
do
String graphName = WinName(index, 1)
if (strlen(graphName) == 0)
break
endif
// PrintGraphs can not be called directly from a user-defined function so we must use Execute.
// You may need to tweak the PrintGraphs command for your purposes.
String cmd
sprintf cmd, "PrintGraphs %s", graphName
Execute cmd
index += 1
while(1)
End
Forum
Support
Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More