05-22-2009 08:31 AM
Hi
I'm working on a real-time mapping (3D) system and my readings are coming from a NI USB 6008 device. It can detect peak values (see picture) but I want a stabilization of these peak values so I need to stretch them a little bit so I can manipulate them better. In other words, is it possible that I can have the same amount of amplitude but for a longer period (ms)? Can you give me some advise.
Thank you very much.
Kind regards
Wim
05-22-2009 09:11 AM
Wim,
I am not clear on what you want. If you want the output of the USB-6008 to stay the same, then you need a peak hold circuit between the signal source and the analog input to the USB-6008. If you want to change the data in your array, you need to specify how long to hold the value.
Looking at the peak at 62 in your image the data around it looks like:
60 0,52
61 0,51
62 1,6
63 0,52
64 0,52
65 0,51
66 0,51
Do you want something like this?
60 0,52
61 0,51
62 1,6
63 1,6
64 1,6
65 1,6
66 0,51
To do this, replace 3 elements after the peak with the peak value.
If this is not what you want, please try to explain more clearly, perhaps with a marked up image or numerical example like mine above.
Lynn
05-22-2009 09:32 AM
Hi Johnsold
This is exactly what I mean. Every sample that is above this 0.50 -0.55 should have some rectangular peaks if you know what I mean.
Thanks for the reply.
Kind regards
Wim
05-22-2009 10:16 AM
Wim,
Please post what you have tried so far. Save some data like that shown in your image as default in the VI before you post it.
It is hard to work from an image of the data!
Lynn
05-22-2009 10:30 AM
05-26-2009 03:22 PM