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.
05-25-2006 03:50 PM
05-25-2006 09:17 PM - edited 05-25-2006 09:17 PM
Hi MrHond,
I haven't worked with an EMG signal, but this looks like an array-handling question anyway.
If nobody else replies, maybe you could follow-up with a bit of clarification...
Is each data-point a 32-bit value?. Are the 8 "left-most" bits unused? I'm confused by "512" and wonder if it's meant to represent the middle 16 bits(?)
Cheers.
Message Edited by Dynamik on 05-25-2006 09:17 PM
05-26-2006 09:35 AM
05-26-2006 01:37 PM - edited 05-26-2006 01:37 PM
Hi MrHond,
While this smells like a simple/regular problem, my mind is mushy today and it's not quite clear - the phrase "split the 512 in half and add that part (with the 2nd 256 part)" is still confusing to me! Until somebody who recognizes the math steps-in, perhaps you'll have the patience to clarify a bit further
If the EMG data, Sine-wave data, Result data are divided into 256-sample segments, where the segments are represented as E(i), S(i) and R(i) (representing the i'th segment of each) then does the following describe your goal?
R(0) = E(0) (discarded)
R(1) = E(1) * S(1)
R(2) = R(1) + E(2) * S(2) (?)
R(3) = R(2) + E(3) * S(3) (???)
R(4) = ?
...
> btw, nice quote:
Thanks!
Message Edited by Dynamik on 05-26-2006 01:39 PM
Message Edited by Dynamik on 05-26-2006 01:42 PM
05-26-2006 10:59 PM - edited 05-26-2006 10:59 PM
Message Edited by Russ Evans on 05-26-2006 11:00 PM