LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read Sampling Time + Voltage Data from Excel and Display in a Graph

I have the recorded data in an Excel file in flowing format.

The first column is sampling time, the rest four columns are analog data from 4 channels.

9/16/2005 13:45:17

0

-0.001

-0.001

-0.001

Does anyone know how to read and display these data in one graph, with the X-axis showing sampling time and Y-axis showing analog data? Or do you know how to read the first column as Data + Time data?

 

Thank you very much for your kind help.

 

Message Edited by Xiaogang on 09-16-2005 01:06 AM

0 Kudos
Message 1 of 8
(4,690 Views)
Here is a way to convert your string to a time stamp. You can further convert it to U32 or a Dble if required.
Chilly Charly    (aka CC)
Message 2 of 8
(4,678 Views)
Hi, chilly charly,
Thanks a lot for your reply. I am a LabVIEW beginner, but it is really very nice to have a place to ask questions and get your help on LabVIEW.
 
I will change my program with hints from you.
I also attached my progrma to share with you all.
In the program, i insert one more column in Excel sheet to record the absolute time in the unit of seconds (to avoid overflow, all data are minused by a constant), so that I can plot X-Y graph and calculate the elapesd testing time.
 
0 Kudos
Message 3 of 8
(4,673 Views)
0 Kudos
Message 4 of 8
(4,672 Views)
Recorded Data File.
SelectCh.vi attached above is a subVI for the main program.
0 Kudos
Message 5 of 8
(4,671 Views)
You don't have to use XY Graph and dynamic data. Try this one.
---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 Kudos
Message 6 of 8
(4,661 Views)
hi, Daniel,
Thanks a lot for your help.
It is very nice to see your name in Chinese ---"篮球之鬼".
 
BTW, happy moon-cake day! *^_^*
 
 
0 Kudos
Message 7 of 8
(4,652 Views)
3q. Happy mid-autumn festivalSmiley Very Happy
---------------------------
Lady And Basketball Vividly In my Exciting World !!!
Daniel.Tang E-mail: tangye@friendess.com
0 Kudos
Message 8 of 8
(4,649 Views)