SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

Smaller Data Logs

Solved!
Go to solution

I am using SignalExpress, full version, 3.5.0 with a cDAQ9174, 9205, and 9217.

 

The temperature data are 1 sample/s.  The voltage channels are 1000/sec.  I use the DC function on V data and that seems to be 10 samples/s.  I also monitor the AC RMS voltage after a high pass filter.

 

The test runs for a day or two and I would like the log to keep data every ten seconds or so.

 

From what I've found, I should be able to use the Statistics function, set it to Mean, set the time for the averaging to ten seconds, then check Restart measurement on each iteration, then log the Statistics data.

 

However, I cannot find the parameter for the length of the iteration, and the Restart checkbox is not availabe on the DC data.


Thanks for your help!

0 Kudos
Message 1 of 4
(6,343 Views)
Solution
Accepted by topic author Arvo

Hi Arvo,

 

The DAQmx Acquire steps returns an array of sampled data to be processed--to set the length of the iteration I would change the Number of Samples input to DAQmx Acquire.  For example, if you are acquiring at 1000 Hz, acquiring 10k samples will result in DAQmx Acquire returning 10 seconds of data to be processed.  Just log the DC and RMS values at the end of this processing and the result should be one point every 10 seconds.

 


Best Regards,

John

John Passiak
Message 2 of 4
(6,317 Views)

Thanks!  This works.  Now the V channels and the T channels are recording once per second.  We can use this to slow both of them down for longer data collection.

 

Is there a way for the Data Display to post data faster than the log?

0 Kudos
Message 3 of 4
(6,312 Views)

Hi Arvo,

 

If you want the Data Display to update at a different rate than the log, I would use the Recording Options to set the acquisition to acquire every 10 seconds:

 

 

 recording_options.png

 

 

I had to add a software trigger Stop Condition to get this to work but it seems to be what you need.  You can choose which signals to log from the Signal Selection tab.  The display will now update based off of (Number of Samples / Sample Rate) and the log file will be generated independently based off of the system clock.

 

 

Best Regards,

 

John

 

Message Edited by John P on 12-30-2009 09:14 AM
John Passiak
0 Kudos
Message 4 of 4
(6,288 Views)