キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Write 3d array to tdms file

Hi, im trying to create a new tdms file to write data, I dont know how to do it, its a 2d array and after the for loops its 3d. I tried to change it to last value or concatening but only writes 1 row, I think im loosing part of the data.

ADaniel01_0-1677243657049.png

Thanks.

0 件の賞賛
メッセージ1/4
1,472件の閲覧回数

Hi Daniel,

 


@A.Daniel01 wrote:

Hi, im trying to create a new tdms file to write data, I dont know how to do it, its a 2d array and after the for loops its 3d. I tried to change it to last value or concatening but only writes 1 row, I think im loosing part of the data.


You may write separate signals/groups inside the FOR loop, setting all scalar values as properties for the "Part" data block.

Or you could concatenate the "Part" data at the loop border to a larger 2D array…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 件の賞賛
メッセージ2/4
1,465件の閲覧回数

Hi GerdW,

 

I tried to concatenate, but when I do this, the TDSM file have a lot of channels created, and I dont really know if its good, I never used before TDSM files. And I dont know what do you mean by writing separate signals/groups in the for loop.

 

What I'm doing know, only to can test this is concatenating, indexing the array in 3 1D arrays (In theory, the "Part" data are 3 values (X, Y, Z) and then building it again in a 2D array. But I dont think this is ok.

 

ADaniel01_0-1677495635836.png

 

 

Thanks.

0 件の賞賛
メッセージ3/4
1,410件の閲覧回数

Hi Daniel,

 


@A.Daniel01 wrote:

What I'm doing know, only to can test this is concatenating, indexing the array in 3 1D arrays (In theory, the "Part" data are 3 values (X, Y, Z) and then building it again in a 2D array.


As long as you only attach images of small parts of the block diagram of your VI we cannot assist with code fixing…

 


@A.Daniel01 wrote:

But I dont think this is ok.


Well, you are the one who can debug that code. We cannot debug/edit/run images with LabVIEW…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 件の賞賛
メッセージ4/4
1,400件の閲覧回数