LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

invoke node XY graph

I have an array that is going to a XY Graph indicator. But I have to perform a certain test at 4 different temperatures, so I need a loop, but I want to save each plot in a file. So I found out that i can use the invoke node and select export image. But then I dont know how to finish the wiring to make it work. I am going to attach the idea of what im trying to do. From the VI i attached there is a bundle that has two 1D array inputs, (they are not shown in the attachment) and then an ouptut cluster of 2 elements. Now since I need 4 plots, I need to save each plot everytime 1 temperature test is done...if i do not do this by the end of the test, at the 4th temp , that is the graph that i will be getting, the other 3 are gone or overlapping

Thanks for your help
Josef
0 Kudos
Message 1 of 6
(3,528 Views)
I'm not sure if I understand, but could you perhaps use auto-indexing to put the four plots into an array, and then graph the array to get all four plots in the graph?


0 Kudos
Message 2 of 6
(3,517 Views)

Josef,

I’m a little confused by your question as well. However, I think the only thing you are asking for is how to keep the images from overwriting each other. This can be done by programmatically changing the input of the Path in the invoke node every time you have a new dataset.

 

 

Charlie M. CLD
0 Kudos
Message 3 of 6
(3,490 Views)
Thanks, that is one of the answers I was looking for. By any chance do you know how to change the name of the plots programmatically. Lets say I have 4 plots, one at -40C, one at 25C, one at 70C and one at 85C. How do you change the names of the plots. I have tried with Invoke nodes but I can get it to work....thanks for your help.

0 Kudos
Message 4 of 6
(3,471 Views)
To change the name of plots, use a Property node, set which plot you want to change using the active Plot property, and then set the name using the plot Name property.
 


Message Edited by jrpe on 11-09-2007 09:55 AM
Jeff


Using Labview 7 Express
0 Kudos
Message 5 of 6
(3,467 Views)
Do you mean that you want every plot to have a different file name?  That would look like this:




Message Edited by kehander on 11-09-2007 11:10 AM
0 Kudos
Message 6 of 6
(3,452 Views)