10-06-2008 12:19 PM
Hello!
I want to save more data to TDm file. I want to save user name, coment, date, bench name, sensor name, channnel name, validity of calibration, and ect. so how can I do that, becose in write TDM i can find only 3 free text. I don't know how can i do? with cluster or.....Please help me with examle.
Thank you.
Greetings
Misi
10-06-2008 03:01 PM
Hi Misi,
I think if you "double click" on the "Set Properties Storage VI" it will ask you to configure this instance of the vi. If you choose to configure the vi you will get a dialog with an "Insert" button for creating your own properties for the tdm channel, group or file as the case may be.
Hope this helps.
--Russ
10-07-2008 09:56 AM
Hi!
So you say that ican use set set properties? I see that and the File setting is most desirable, but I don't know how can i save to TDM?
Mihike
10-07-2008 10:03 AM
Sorry my typing error, but i'm very tired.
So reparation:
"
Hi!
So you say that i can use "set properties"? I see that and the File setting is most desirable, but I don't know how can i save to TDM?"
Mihike
10-07-2008 11:14 AM - edited 10-07-2008 11:15 AM
Hi Mihike,
On the attached image you will see the dialog panel for setting up the properties for a TDM file. You get this dialog by "double clicking" on the Set Storage Properties.vi's icon. You will notice the "Insert" button. Use this to create your own properties for a TDM object. You will notice in the example image I created three custom properties labeled Mihike_1, Mihike_2, and Mihike_3.
hope this helps
Cheers,
--Russ
10-08-2008 02:54 AM
Hi Russ!
I understand what wold like to say for me! But if i "double clicking" on the Set Storage Properties.vi's icon, than show up other set properties window. That you can see on attached picture. So idont know how can do it?
Why don't show up smae,what you send me?
I have Labview 8.0 maybe that is the problem?!
Thanks, you want to help me.
Greetings,
Misi
10-08-2008 12:30 PM
Hi Mihike,
Yes with LabVIEW 8.0 you found some of the early limitations with TDM. The ability to create custom attributes I believe was introduced in LabVIEW 8.2. The easy answer is to upgrade your version of LabVIEW. I assume this might not be pratical for you to do so I have a couple of other thoughts for you....
Years ago I took a good look at TDM and found as you have it too limiting for my purpose. While TDM has been improved since I made the decision back then to use a different data format namely HDF5. A search of the NI website and of course this forum will give you more info about HDF5. The one caveat with HDF5 is that there is a bit of a learning curve.
Another option for you might be using the TDM Header library. I have not used this library but I looked at the library briefly and it has set custom attribute vi. If your lucky maybe this will work for you. You can find the library at
http://zone.ni.com/devzone/cda/epd/p/id/3399
I hope this helps.
Cheers,
--Russ