08-18-2014 10:39 AM
Hiiiiii my friends.
i have a analog system .the output voltage of system changes during changing it's angle or direction. i want to save 2 features of it(output voltage and output angle) in 2-D arrey that shows me output angle and it's related output voltage toward each other.so after finishing my test i should have data in 2 columns.column1:angles column2: related voltage to each angle.
after that i want to draw it's graph in labview(Voltage-Angle).
please help me in this way (i'm a biginner in this way so i'd be glad if you explain me in detail.....)
,thanxxxx a lot
Solved! Go to Solution.
08-18-2014 10:43 AM
For saving the data, just use the Write To Spreadsheet File.
For writing to a graph, use Index Array to get the two colums and then use Bundle to create a cluster out of the two 1D arrays. Wire this cluster up to your graph.
08-18-2014 12:17 PM
thnx ...
I attached my created vi to show you how much i understand from what you mentioned.
I have problem in saving data in any path i choose!
why my vi don't work?
thnx for your good answers...
08-18-2014 12:35 PM
Why are you using a Build Matrix? And where is the 2D Array you claimed you had? You just have a single value coming in as an input. Where are the measured Angle and Voltage measurements?
08-18-2014 12:54 PM
i sopposed that i want to save data(X)and its square(X^2). in 2-D array. beacause it is easier for me to write and correct the Vi quickly. so now my problem beacome more simple .
When i use Write 2 Spreadsheet file it needs array as input! i wired 2-D array and now i need to make 2-D array!? so i used appended array to make 2 different array as 2-D array.
where is my problems?
excuse me , can you explain more and in a simple way?
thnx for your attention.
08-18-2014 01:17 PM - edited 08-18-2014 01:17 PM
08-18-2014 01:49 PM - edited 08-18-2014 02:12 PM
08-18-2014 02:11 PM
Excuse me , I don't understand what changes you made?!
08-18-2014 11:27 PM
Hello
I'm waiting for your answers...please help me to solve my problem.
08-19-2014 12:05 PM
Update...