LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS read error 4 Labview 8.5

Hi,

i have a problem to write/read TDMS files. I would like easily to save a signal (spectrum for instance) and to read it after that without errors.

 

PLease find attached my two Vi 

  

 

help me , thanks in advance

 

OS, windows XP

Labview 8.5, PXI-5600 for DC and PXI 5620 for digitizer 

Seb_MDI
France
Download All
0 Kudos
Message 1 of 5
(1,982 Views)

The VI that stores data looks ok, but I would make the loop tunnels into shift registers. Your problem can be fixed by wiring up the "group name" input on the TDMS Read function. Since you don't explicitly set a group name when writing, LabVIEW will probably use the French word for "Untitled". In order to see what exactly the group name is, you can look at the file with the TDMS File Viewer (on the TDM Streaming palette). Then, just wire a string constant to "group name" and enter the name to it.

 

Hope that helps,

Herbert

Message 2 of 5
(1,971 Views)
thanks for your help, i will try it
Seb_MDI
France
0 Kudos
Message 3 of 5
(1,962 Views)

i just wire a string constant to "group name" and now, for this, it is ok.

 

I have a new problem, the saved array and the read array have not the same lenght (and scales too), i don't understand why!

 

then, I would like to do an triggered acquisition, when the level of spectrum is more of a constant. any idea please?

 

thanks a lot 

Seb_MDI
France
0 Kudos
Message 4 of 5
(1,959 Views)
new attached documents
Seb_MDI
France
Download All
0 Kudos
Message 5 of 5
(1,958 Views)