DASYLab

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing more than 16 analog input channels into a single file

In DasyLAb 10.0, how can I WRITE more than 16 analog input channels (using WRITE DATA block) in one single file? I do not want to use 2 WRITE blocks, as I want all my data samples in one single file.

0 Kudos
Message 1 of 12
(7,260 Views)

Yes you can.  You need to use the merge blocks so that you merge 16 channels into one.  You will need to use two of them.

The write module will then expand them in the file. 

 

The problem is that you will have the same units and naming convention.

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 2 of 12
(7,258 Views)

Do you mean, the merge block as in the Demultiplexer block? Even though the naming conventions would be the same, would it still write both datas in the file? Lets say I use a 2:1 demux block followed by a WRITE block. Would the output of the WRITE block still give me both of my inputs that I had prior to demuxing them? I don't care about the units and naming convention being the same as long as I get 2 seperate output columns in the same file.

0 Kudos
Message 3 of 12
(7,256 Views)

Yes, they will.

 

Let say that if you call the input joe and Input 0 has 2 channles, the file will have Joe01 joe02 columns

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 4 of 12
(7,251 Views)

Another few questions:

 

In the merge block, what is the difference between Blockwise mode and Sample mode?

 

Also, now that I am using the Merge blocks (2 inputs to 1 output) to combine my analog inputs; how would I have to modify my WRITE block so that I can ultimately obtain both my inputs to be written in the same file in seperate columns. Could you please explain the settings I need to make on the WRITE block.

 

Thanks!

0 Kudos
Message 5 of 12
(7,249 Views)

What kind of file format are you using?

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 6 of 12
(7,247 Views)

ASCII format

0 Kudos
Message 7 of 12
(7,245 Views)

Hello,

 

The file format is ASCII. Please let me know what modifications do I need to make to the WRITE block for it to synchronize with the MERGE block.

0 Kudos
Message 8 of 12
(7,233 Views)

under the ASCII file options, you will need to select "Mixed single values" under the "Type of input data" section.

 

Now you will need to select how many channels for each input you will use.

Tom Rizzo
InSyS Corp.
www.insyscorp.com
Your DASYLab integrator
0 Kudos
Message 9 of 12
(7,231 Views)

Got that.... Thanks!

 

So, now what I'm trying to figure out is if I can give both those channels different names and assign them different units. The way they appear in the file is ChannelName_0 and ChannelName_1 whereas I would like them to be displayed as 2 different names altogether (the names that I used in my Analog Input block). Is there a way to do it? Similarly, for the units?

0 Kudos
Message 10 of 12
(7,222 Views)