Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph --- Image

Is it possible to make a jpeg or tif from the graph plot in labview?
Is it possible to keep the plot as it is and only change the
indications on the axes?
0 Kudos
Message 1 of 2
(3,305 Views)
Hi F_D ,
it is indeed possible to save your graph and indicators using the write JPEG file.vi . To get the correct data type for this function, you will need to create a control reference(right click on the control, then create>>reference). Then you need to place an invoke node and link the indicator reference to the input of the node. Select the 'get image property' ( right click on the node>>method>>get image).Some output should appear in the node. Link the image data output of the node to the image data input of the 'write JPEG file'. This will save the indicator as a JPEG.
In order to modify the properties of the graph, you will need to use a property node (right click on the graph>>create>>property node). Then you can select the property you want to mo
dify (read or write can be selected by a right click>>change to read, change to write).
You'll find an example with this explanation.

PS: the changes need to be made before you save the plot as a jpeg file.(use the error cluster to direct the dataflow)
0 Kudos
Message 2 of 2
(3,305 Views)