02-24-2023 07:03 AM
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.
Thanks.
02-24-2023 07:15 AM
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…
02-27-2023 05:00 AM
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.
Thanks.
02-27-2023 05:53 AM
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…