LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My VI doesn't write data in my channels

Solved!
Go to solution

Hello,

 

I'm creating a VI which save data in a TDMS file, the problem here is that it only save the data from the first channel (M1) and its respectives repetitions (Yes, I already put "Set next write possition" after this So I'm very sure that it's not overwriting).

 

This is my VI

 

Data.PNG

 

Last time, I've tried using "TDMS Write" for each channel (example for M2, M3, M4...) and then I connected it by the same group and It worked:

 

wORKS.PNG

 

Obviously this is very tedious. So I would like to know if there is any way for simplify this? I mean, It's possible to write my data in with only a "TDMS write" function? (this is What I tried to do in the first part) Do I have to write one funtion for each channel? What am I doing bad?

 

 

0 Kudos
Message 1 of 3
(1,314 Views)
Solution
Accepted by topic author JoshX10

It would be better if you posted a VI, just guessing here try interleaved.

 

Snap9.png

 

 

Message 2 of 3
(1,294 Views)

When you are logging multiple signals, I think you need to feed the TDMS function with a 2D array. 

 

You might need to flip (Transpose) the array to get row and columns right.

0 Kudos
Message 3 of 3
(1,261 Views)