08-08-2008 04:21 AM
08-08-2008 10:56 AM
Hi bull balls,
The file is not read-only in the Windows directory, but the "Register Data" action in DIAdem always opens a read-only connection to the file. Data registration uses the existing data file in-place as DIAdem-managed virtual memory, avoiding the time consuming alternative of asking the operating system to copy the file to a temp directory in order to create Windows-managed virtual memory. This also has the benefit of enabling you to transcend the 2-GByte-per-application limit imposed by 32 operating systems for super large data files.
The good news is that the TDMS file is able to append a new property assignment to the end of the TDMS file without rewriting the existing file, either for a newly created property or to change the value of an existing property, and the TDMS VIs in LabVIEW can do this very easily. The bad news is that DIAdem can only accomplish the same thing by rewriting the entire file. Do you have LabVIEW to work with on your computer, or only DIAdem?
Even if you don't have LabVIEW on your computer, I can write a LabVIEW VI for you and send it to you and you can call it efficiently from DIAdem. But for that I would need to know what version of DIAdem you have. The VI would scan through all the current properties in the Data Portal for all the File and Group properties, compare their current states to the possibly edited state in the Data Portal, then programmatically adjust those properties states in the TDMS file. It appears that when you register a data file the channel properties can not be edited in the Data Portal, while the File and Group properties can be.
Let me know what DIAdem version you have,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
08-08-2008 02:15 PM
08-11-2008 12:12 AM
08-11-2008 01:47 PM