LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using read from spreadsheet file and polar plotting

Hi to all labview users,

i am a beginner in labview and i am trying to do a polar plot.
i read the polar plotting example in labview and it was straightforward.

I used "write to spreadsheet file" to gather data.
and they are in the following format

13  10
4  20
8 30
....etc

now. i tried using "read from spreadfile" to get the data into a array, then using "array to cluster" to convert the array into cluster, so i could connect it to the polar plot block
however, it kept saying i couldnt connect that way, because polar plot uses 1-d array with cluster of 2 element and my source is a cluster of 9 elements....

but doesnt the "read from spreadfile" block give me a 1-d array? and where does that 9 come from? i only have 3 rows and 2 columns in my data file....

any guidance would be greatly appreciated.

thx alot
*********************************************************************
Happy guy
~ currently final year undergraduate in Electrical Engr. Graduating soon! Yes!
~ currently looking for jobs : any position related to engineering, labview, programming, tech support would be great.
~ humber learner of LabVIEW lvl: beginner-intermediate
0 Kudos
Message 1 of 2
(2,561 Views)
Helllo,

I've made an example to try to help you  with that question.

Notes:
 - the file must have values separeted by tab
 - reading the values from file as you mentioned using "read from spreadfile" you'll get a 2D array and not 1D;

Software developer
www.mcm-electronics.com





PORTUGAL
Download All
Message 2 of 2
(2,555 Views)