From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-18-2012 06:58 AM
here is image wt i want to do and also attached with file..
Solved! Go to Solution.
01-18-2012 07:47 AM
It is rather unclear to me what you want to achieve but here my 2 cent...
You have a 2D array and want to average it by the columns from index 0-15, 16-30, 31-45, 46-59.
Now what I would do is first, split the 2D array by rows so you have a 4 2D arrays. Then loop around the columns and use the "MEAN.vi" from LabVIEW to average the samples. Then merge the results.
01-18-2012 08:34 AM
Yes sir,
that is the same process which i want to apply,,
01-18-2012 09:13 AM
sir please give image form or starting of programme,,
01-18-2012 09:26 AM
Try this.
01-19-2012 01:04 AM
Thanks for image programme,
But this is not the exact solution which i want,
1- column is start from machine numbere 2- 32,
2-column 2 is minutes of work.
3 column 3 ih hours of work.
Now when there is machine num 2 in column (1), and 0 hour in column (3 ) the take the average of column (1) for every 0-15, 16-30,31-45,46-59, according to column (2).
this procee will repeat for 0-23 hours according to column (3).
01-19-2012 04:05 AM
The image can be dragged and dropped on to a block diagram. If this is not working, save the .png file on to your harddisk and then drag and drop it on to your block diagram.
Try this.
01-19-2012 08:28 AM
Dear sir ,
Thank you very much the programme is fine working, it gives the value whatever i deisre,
But there is little proble in the column 1 it gives machine number 2 constant, but it changes,
and it is not necessary that first value of minute will start from 0, if start from any value so , take according to range 0-15, 16-30, 31-45, 46-59,
here i have attache my file and programme.
01-19-2012 11:49 PM
The vi gives you averages for a specific machine, you have to specify this on the front panel.
01-20-2012 12:13 AM
yes sir,
it i s not necessary every time machine number two gives the value, it varies form machine number 2- 32,
so whatever average it is taking is perfect , but for every data machine 2 is not competeble, ,
please sugges me so it will take average according to machine number