05-07-2012 04:11 AM
Hello,
I am using the read excel table vi to read the values from an excel file.I see the data in the output.
I wanted to take the first two columns and multiply each value with 20m and then plot it in a XY graph.
I am attaching the files below.
Thanks in advance
Solved! Go to Solution.
05-07-2012 04:23 AM
Hi Simon,
If you are able to read the table then it is easy. Use index array function to get intended column and then use multiply function.
05-07-2012 04:32 AM
Hi Gaurav,
I used the index array function but the subarray will have the same data type as the input array and at the output i am not able to use the multiply function.
Is it possible for you to show me??
Thanks
05-07-2012 06:54 AM
Hello,
i acheived the multiplication in a different way but i have another problem.I am only considering two columns in the above excel sheet.After multiplying each value with 0.02 i get another array for the two columns with values say a,b,c,d and a1,b1,c1,d1 and so on.
The plot i require is of (a,a1) (a+b,a1+b1) (a+b+c,a1+b1+c1) and so on.
Any ideas that might help me.I am attaching the VI that solves the problem till multiplication.
Thanks in advance.
05-11-2012 12:13 AM
I have attached one vi. Let me know if it is helpful for you.
05-13-2012 12:23 PM
Hi Gaurav
This is what i did to get the output.May not be the conventional method but this is doing just fine for me.Thanks for looking into it.
Simon
PS
the text file should be in LVM format.coudnt upload it like that