LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

READING DATA FROM A SPREADSHEET

Solved!
Go to solution

Hi everyone. I need trying to figure how to go about this situation. I created a VI which saves data in  a spreadsheet. The data has  25 rows and 3 columns.  Then I had read the data from the spreadsheet and display  graphically. The first column is  " Voltage", the second column is " Amps", and the third column is " Power".

I want to be able to display two graphs: One is" Voltage Vs Current" and the other is   "Voltage vs Power"

If any one can provided me with some guidance, I will really appreciate it.

Thanks

Vincent

0 Kudos
Message 1 of 10
(3,152 Views)

Hi Vincent,

 

read in the spreadsheet data as 2D array.

Then index the columns und bundle them to XY plots for a XY graph as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 10
(3,143 Views)

ReadSS_UpdateGraph.png

 

Try this

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 10
(3,122 Views)

Thanks GerdW,

                      I am going to give it a try and provide you with a feedback.

0 Kudos
Message 4 of 10
(3,121 Views)

Hi Palanivel,

 

what are those FOR loops good for? You don't need them…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 10
(3,116 Views)

Hi Gerd You are rite... Thanks for reminding.

 

ReadSS_UpdateGraph Updated.png

 

 

 

 

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Message 6 of 10
(3,110 Views)

Hi Palanivel,

                   Thanks for the help. The only thing I could not find was the figures attached to the For Loops. Are they supposed to X-Y Graph symbols of something else?

Thanks.

Vince

0 Kudos
Message 7 of 10
(3,095 Views)

Hi Vince,

 

you want to plot "x vs. y" data, so you should use XY graphs!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 10
(3,083 Views)
Solution
Accepted by topic author SSHADOR
Huray!!, it worked. thanks to everyone who helped. Vince.
0 Kudos
Message 9 of 10
(3,067 Views)
Solution
Accepted by topic author SSHADOR

Thanks are given with kudos, and marking solutions.

0 Kudos
Message 10 of 10
(3,041 Views)