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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Analysis Program Help

Hello everyone, I need a little help with a data analysis program that I am trying to build.  I included some screen captures to show where I'm at.  I imported data sets from Microsoft word documents into my VI and I wanted to plot the raw data, the standard deviation, and the mean of all the data sets as a function of time. I also wanted to include a normalize data button (highest value of the data sets being 1 with the lesser values being fractions of 1) and the ability to determine the value at a specified time (inputted by the user).   I really don't know how to wire what I have to make my program work and where to go from here or if I'm missing somethings.  Any and all help/input would be much appreciated.

                                                                     Thank You,

                                                                              Aaron

 

 

 

 

Capture2.PNGCapture1.PNG

0 Kudos
Message 1 of 13
(2,592 Views)

It is usually better to attach the vi instead of a picture. It looks you are using the point by point Standard Deviation, look in the Statistics palette for the one that takes a 1d array. Just wire it in your for loop, connect the outputs to the other side of the for loop, make sure you select indexing, and then you will have an array of SD for each row in your data set.

 

mcduff

Message 2 of 13
(2,570 Views)

Thanks for the reply, I wasnt aware that you could attach a VI.  If I can attach it quick would there be any chance you could show me what you mean? I just started using labview a couple weeks ago so everything is a little foreign to me still.  I've tried a couple different wirings/actions and cant get anything to work the way I want it to.

0 Kudos
Message 3 of 13
(2,564 Views)

Something like this:

 

 

snip.png

 

2016 VI attached

Message 4 of 13
(2,562 Views)

It says I'm running an older version of labview so I was unable to open your attached file.  I went ahead and tried out what you suggested but I keep getting a broken wire running into my PBP SD. I tried uploading my Vi but I dont see the option to upload a file. Heres another picture.....20190317_190454.jpg

 

0 Kudos
Message 5 of 13
(2,555 Views)

What version are you using? 2010 version attached.

 

mcduff

Download All
Message 6 of 13
(2,551 Views)

I'm running labview 2015, thanks again for the VI's and I figured out what I was doing wrong in terms of why I was getting broken wires.  I'm 100% positive that my waveform graphs are incorrect though, the data sets I'm plotting vary greatly but my waveform charts for my raw data/SD/Mean are essentially displaying a graph of y=x.  Any suggestions on how to troubleshoot this?  Also, any suggestions on how to normalize the y -axis for all the data sets? I figured a True/False Boolean couple with a case structure would do the trick but I haven't a clue on how to code it lol.

0 Kudos
Message 7 of 13
(2,533 Views)

Attach your vi with some default data.

 

mcduff

0 Kudos
Message 8 of 13
(2,529 Views)

Here's a picture of my response:

Upload a FileUpload a File

Bob Schor


0 Kudos
Message 9 of 13
(2,509 Views)

I just realized the browse button on the bottom left is how you upload files lol.  I just uploaded my VI with the 4 word files that contain my data sets.

0 Kudos
Message 10 of 13
(2,506 Views)