LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write to measurement file - Create or replace with confirmation

Solved!
Go to solution

You need to provide a sample file so I can understand exactly what you mean.

0 Kudos
Message 21 of 28
(1,060 Views)

yeah... please find the attached file

 

 

 

0 Kudos
Message 22 of 28
(1,056 Views)

So you are reading two other files and trying to append one to the other and write to a new file? Can you post your code that does that?

0 Kudos
Message 23 of 28
(1,048 Views)

please see my code and while reading that datas showing some errors but if i stopped and start the vi once again we can read the append datas

 

 

 

0 Kudos
Message 24 of 28
(1,046 Views)

I looked at your code and in order to append data as you want to a measurement file, you must add the new data as new channels. Measurement files are based on channels. Writing the same number of signals over and over will simply append the data to the end of the existing data. I already mentioned that you can merge your NEW data signals with the OLD data signals to get the desired effect.

 

Example, your 2D array has 4 rows...that creates 4 channels of data in the measurement file. If you take your 2D array of 4 rows and append data to make it 8 rows and then write to the measurement file, you will have 8 channels in the measurement file. If you already wrote 4 rows and then write 4 rows again, the new data will be appended to the existing 4 rows. This is one of the drawbacks of the Express VI. Otherwise, I would suggest using the TDMS file primitives.

0 Kudos
Message 25 of 28
(1,012 Views)

Hi actually i am new to this LabVIEW can you show any example VI

 

 

Thanks in advance

Thank you for your time consideration and forthcoming response

 

0 Kudos
Message 26 of 28
(1,010 Views)

Hi i tried and changed simply changing the convert from dynamic data 2D row as a channel to 2D array of column as channel

 

 

 

 

0 Kudos
Message 27 of 28
(997 Views)

Your data looked to be correct for "row as channel", but if you transposed it and it works for you, great.

0 Kudos
Message 28 of 28
(992 Views)