10-07-2009 09:37 AM - edited 10-07-2009 09:38 AM
Hello, I'm using SignalExpress for a simple Datalogging task.
Every second a value is stored in the protocol.
Now I want to extend my program:
My samplerate should be 1000 Hz.
I will read 5000 Values in continously mode, so I will get an array of 5000 samples every 5 seconds.
I want to calculate the max-value of this block and compare it with an constant value.
...no problem but:
If this value is exceeded the whole block should be stored in an new ascii-file.
If this value is not exceeded only the max-value should be stored in another ascii-file.
The whole data should not be stored in the SE-protocols.
is this possible?
pho_nox
10-12-2009 10:01 AM
Hi!
Well Signal Express really is just a simple Datalogging program.
There are some arithmethic and compare functions in Signal Express too.
for example you can choose a boundery, where you want your values to be in.
then you can Write some ASCII files, and choose the output of your boundery funktion for one, and the originals for an other.
Still, i didn't find a elegant solution, but you can try writing a LabVIEW program that does the Decisions and Logfile choice, and then use it in Signal Express.