04-01-2010 01:31 AM
data=load('D:\d.txt');
for n=1:240;
t=1024*n; i=t-1024+1;
a=data(i:t,1);
elev=-data(i:t,2);
p=data(i:t,3);
r=-data(i:t,4);
please ane one help how to code in labview for above matlab procedue.. urgent please
thanks & regards
srinath
Solved! Go to Solution.
04-01-2010 01:44 AM
04-01-2010 01:47 AM
04-01-2010 10:42 PM
respected sir
here i am sending text file also.. here the first column shows the data of the ''a''
the second column shows the data of the ''elev''
the thied column shows the data of the ''p''
the first column shows the data of the ''r''
for n =1:240; shows that loop count is 1 to 240
t=1024*n; i=t-1024+1; shows the conditions
a=data(i:t,1); shows during hte first loop it has to read first column 1024 values and during the 2nd loop count t has to read first column 1025 to next 2048 values and cont.. up to 140 times
elev=-data(i:t,2); shows during first loop it has to read 2nd column 1024 values and during the 2nd loop count 2ndhas to read 2nd column 1025 to next 2048 values and cont.. up to 140 times
p=data(i:t,3); shows during first loop it has to read 3rd column 1024 values and during the 2nd loop count 2ndhas to read 3rd column 1025 to next 2048 values and cont.. up to 140 times
r=-data(i:t,4);shows during first loop it has to read4th column 1024 values and during the 2nd loop count 2ndhas to read 4th column 1025 to next 2048 values and cont.. up to 140 times
end
i think ex:
thanks and regards
srinath
04-01-2010 10:56 PM
04-01-2010 11:02 PM
04-01-2010 11:53 PM
04-02-2010 12:31 AM
respected sir
i think u have done in labview 8.5. but i have 8.0.version. my friend having the latest version . i will try in that version and i will give the reply by soon..
that coding is is very important to me .. if it is successes i am very thankful to u.
thanks for ur valuable advices.. i wiil be keep in touch with u..
thanks & regards
srinath
04-02-2010 06:44 AM
respected sir
your program is working absolutely as per my requirement. i am very thankful to you sir.
i am very new to labview coding. i am doing my pg project by using labview. initially i did my project in matlab. but suddenly my guide asked me to change software to labview. so i got problems . can u help me in this coding if i get the doubts in project. can i know ur mail id please.
thanks & regards
adapa srinath
mail:adapasrinath@yahoo.com
04-02-2010 06:46 AM
respected sir
your program is working absolutely as per my requirement. i am very thankful to you sir.
i am very new to labview coding. i am doing my pg project by using labview. initially i did my project in matlab. but suddenly my guide asked me to change software to labview. so i got problems . can u help me in this coding if i get the doubts in project. can i know ur mail id please.
thanks & regards
adapa srinath
mail:adapasrinath@yahoo.com