LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic chart display after logging the data's in excel using write to measurement file or write to data file

Hi - Is there any possibility to automatically display the chart for the logged datas using write to measurement file or write to data file? Please let me know as soon as possible.

 

Thanks and Regards,

Dinesh

0 Kudos
Message 1 of 5
(2,924 Views)

What do you mean by "automatically display the chart"?

 

If you want to put data in a chart, write your program to do that.

 

0 Kudos
Message 2 of 5
(2,913 Views)

Thanks for your reply , I want to display the chart in excel sheet automatically after logging the data's using write to spreadsheet file , it means, when I Open the logged excel sheet , ti should come with logged data's along with chart display in it.

 

I don't know how to program the same. Can you please guide me on this. Please do the needful.

 

Regards

Dinesh

0 Kudos
Message 3 of 5
(2,909 Views)

This is a different question.  You didn't mention Excel in your first message.  (Actually, I now see you had the word "Excel" in the subject line.)

 

You do know that Write to Measurement file doesn't create an Excel file?  It creates a text file that Excel is able to import.

 

What you need to do is work with Excel more directly.  Use ActiveX calls to create a real .xls Excel Spreadsheet File.  Place the data into the worksheet, and then use other ActiveX methods and properties to create the chart and link it to your newly placed data.  Look in the example finder for VI's that demonstrate how to use ActiveX calls with Excel.

0 Kudos
Message 4 of 5
(2,905 Views)

@dineshniot wrote:

Hi - Is there any possibility to automatically display the chart for the logged datas using write to measurement file or write to data file? Please let me know as soon as possible.

 

Thanks and Regards,

Dinesh


As an aside, "data" is already a plural.  The singular is "datum."

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(2,892 Views)