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.

SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Datalogging with file export

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

 

Message Edited by pho_nox on 10-07-2009 09:38 AM
0 Kudos
Message 1 of 2
(5,431 Views)

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.

 

 

0 Kudos
Message 2 of 2
(5,412 Views)