DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

writing data of different lengths to one file

Hello.

 

I am using a combi trigger with a relay to on multiple channels to collect data within our range of interest and primarily to remove transitions to zero when the systems turn off.  I would like to write all of this data to one ASCII file.  I am having difficulties doing so.  I suspect that it is because of different sample sizes/block sizes for each of the channels.  If it is possible I would also like to write the continuous data (without any values removed) to the same file.  Is there a way to adjust sample sizes (perhaps by adding zeros to the end of them)?

 

I have tried a separate write module for each channel and can successfully save data to individual files, however we would like to have it captured together.

 

I also tried the circular buffer module but was not successful in getting it to work.

 

Thank you in advance for any help with this.

 

Amy

0 Kudos
Message 1 of 2
(6,064 Views)

Amy,

 

The ASCII option of the Write Data module requires that the inputs be time rate and block size identical.

 

Depending on how you are removing the data, you could use a Relay with the "Replace with xx" option activated. That replaces all previously removed values with the number of your choice.

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 Kudos
Message 2 of 2
(6,063 Views)