01-21-2010 03:48 PM
01-22-2010 01:19 PM
Hi,
Since you are not addressing any National Instruments hardware, this seems to be DASYlab programming question. Contacting DASYlab support will probably get you the best assistance. Have a nice weekend!
01-22-2010 01:30 PM
John,
I am a litle confused. Is the a possibility to see your worksheet?
Are you trying to collect an absolute MIN MAX or one per block?
Is the noise spikes bigger than the min max youi are looking to detect but faster? (You could use filtering for that)
If you could upload the worksheet, we could look into it.
Tom
InSyS Corp.
01-22-2010 02:56 PM
Hi Tom,
One of my customers wants me to find one max and on min per block of signal. I am acquiring data at 2000Hz and have a block size of 2048. Since there were some fairly random bursts of noise, I would sometimes get a ridiculously hi max or a ridiculously low min. The customer does not want me to filter anything. So, we came to the agreement to put the data of each block in ascending order and and remove the first 1.5% of the points and remove the last 1.5 % and then perform the max minus min operation. This of course comes out to be the same problem as finding the 1.5 percentile value and the 98.5 percentile value. Would you know of any way to do this. Thank you very much for your time. I would send you my Dasylab worksheet but it just consists of one input module and then two statistics modules to find the max and the min. I need to replace the max and min however with something that will do what I asked above.
01-25-2010 12:13 PM
John,
We looked around and we don't think it is possible to do it in DASYLab as it is now. What you request is not something that is usually done with this kind of applications.
The only possibility at this point is to create your own DASYLab module that would provide this kind of filtering.
Sorry for the bad news
Tom Rizzo
InSyS Corp.
Your DASYLab integrator
01-25-2010 12:30 PM
I guess I will be stuck using Excel to do some post treatment of the data. Thanks for your time Tom
01-25-2010 12:44 PM
John,
To create a module to perform that action is not impossible, you just need the developer toolkit and a good knoledge of C.
If you call Measuramnet Computing, they can help you with which product you need.
07-01-2010 08:05 AM
Hello John,
You can solve this application flexible and very compact with Addon Module "VBScript", sale via PREMEGA GmbH -> link under http://www.premega.de/de-02/software_dasylab_vbscript_de.php
Some screen shots for mainpoints from application:
Global System Variable ${BLOCK_SIZE} inform the VB Script module over the used BlockSize, if Generator used same.
VB Script allow you to save the values into double area -> dim dValue (32768). The samples go into VB Script module step by step. With last incoming you can calculate over the first dValue (0...a) and last dValue (x...y) your min, max, whatever you needs.
Best regards,
MHa