LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot to excel copy graph

Is it possible to add a graph in excel, with all the plots (4 in total)......... I mean to copy the graph and not the trace data, so i can insert it in user defined destenastion (RC)....
 
I can communicate with excel already..... (reading out and writing in data) 
0 Kudos
Message 1 of 4
(3,878 Views)
Hi Marten,
 
You can use the following function:
 
int GetCtrlDisplayBitmap (int Panel_Handle, int Control_ID, int Include_Label, int *Bitmap_ID);
 
To get a screenshot image of the current appearance of a control on your user interface. With ActiveX you sould be able to insert this as a picture object in to Excel? This is then a static image in Excel.
 
If you like to get a native Excel Graph the you should first copy the trace data to excel and then create a Excel Graph (again using ActiveX) that displays the data as a Graph.
 
Hope this helps
 
Thanks
Kasrten
0 Kudos
Message 2 of 4
(3,844 Views)

It may be a static image.... But how can i do this in labview.... because the sample code is visual basic/C++? and labview is so far i know only blocks so i can't use that code??

Or can you use code's in labview???

Message Edited by marten on 03-06-2007 04:37 AM

 

May also (favorit) the same style as the copy as simplified image ...... Because the style of it fits with that of my template........

Message Edited by marten on 03-06-2007 04:43 AM

0 Kudos
Message 3 of 4
(3,842 Views)

Hi Marten,

You posted this on the LabWindows CVI Forum board which is a ANSI C ADE / Compiler, please post LabVIEW Questions on the LabVIEW Forum here.

As for you question, in LabVIEW you can use a invoke node linked to a Graph with the Methode 'Get Image' to get the static image of a Graph.

Hope this Helps

Thanks

Karsten

0 Kudos
Message 4 of 4
(3,832 Views)