06-25-2009 03:12 AM
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
06-25-2009 05:00 AM
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
06-25-2009 07:27 AM
06-25-2009 07:54 AM
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
06-25-2009 07:55 AM