04-03-2019 11:10 AM - edited 04-03-2019 11:31 AM
Hi my name is David, im currently working on a project which involves controlling a wheelchair with EOG(eyes) signals, I am using a myDAQ for the signal acquisition and LABVIEW for the Signal processing. the main goal is to acquire the EOG signals, perform some sort of filtering to remove noise, characterize the signals and assign them to a control signal such as left or right if they go above or below a threshold value and calibration. with the help of the examples in LABVIEW i have come up with a VI that can acquire the EOG signals and store them however I am a bit confused on how to calculate their averages of the selected data in the signal Processing section of my VI.
F.Y.I i am not experience with LABVIEW at all and I am currently stressing out because the deadline is approaching and i have not completed the task, hope someone can help.
thanks in advance, David
04-04-2019 01:58 AM
Average can be calculated by adding all values, and then dividing by the number of values...
Or use one of the build in functions. Trick is to search for 'mean', the nerd term for average. With Quick Drop you should be able to find several mean functions, one that takes an array, one that works PtByPt.
04-04-2019 02:56 AM
Just in case you did not know: You open Quick Drop with the shortcut <Ctrl>+<Space>.
04-04-2019 06:40 AM
thank you so much wiebe@CARYA i will look into that. the goal is to add N amounts of waveforms and reproduce the average waveform of them all, so i can set a threshold from here.