LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read from Spreadsheet file

Good Morning

 

I need some help in Read from Spreadsheet file.

 

I writing to the "Write to Excel File",i need to read from that file and plot it in the chart along with the values written further(in the Write to excel file)

Thanks

0 Kudos
Message 1 of 16
(5,041 Views)
Hello... Do you want to write in excel file and read immediately or you want to write first & then read...?
0 Kudos
Message 2 of 16
(5,038 Views)

Thanks Rupali

 

I need to write 1st and then read

0 Kudos
Message 3 of 16
(5,036 Views)

I did the same vi but in different way.. I read excel file took  the values in array.. I did all this using property node.. Just have a look.. I did this in LabVIEW 7.1.

 

I hope this will help you.. 🙂

Message 4 of 16
(5,032 Views)

We seem to have some confusion in terms here. Are you actually dealing with Excel files, or tab-delimited text files? Read From Spreadsheet File operates on tab-delimited text files. It does not read Excel files. Yet you say you used "Write to Excel File". Is there a reason why you have to use Excel files? If not, dealing with tab-delimited text files is a lot easier, and a lot more portable. Also, why do you need to re-read the values? You already have them in the code, since you wrote them out. Smiley Surprised


As for the plotting part: Are you trying to use a waveform chart, waveform graph, or XY graph? These are all different. Search the examples for graphs. There's a number of examples that show you how to create plots using each of these.

Message 5 of 16
(5,004 Views)
Thanks Rupali & Smercurio
0 Kudos
Message 6 of 16
(4,994 Views)

I reading back the values because,by mistake if i have closed the chart then i need the chart to run(once i have opened again) with all the plot as it was .

 

Thanks

0 Kudos
Message 7 of 16
(4,989 Views)

Hello.. 🙂

 

So you got any help from that code...? Is your problem solved now....? Let me know.. 🙂

Message 8 of 16
(4,971 Views)

Thanks Rupali

 

I am not familiar with Activex,so i am just thinking of doing in any other way

 

Thanks

0 Kudos
Message 9 of 16
(4,954 Views)

Hi Veeru,

 

There is no other way other than to use ActiveX to read/write Excel files, if you do not have Report Generation toolkit. Smiley Wink

- Partha ( CLD until Oct 2027 🙂 )
Message 10 of 16
(4,952 Views)