From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-28-2017 03:44 AM
I have added a timestamp to my TDMS file in the following way
So basically, I'm inserting the time as a timestamp in Data->Time
When I try to read it, I get an error, and it is unable to read it. However, it can read the part below in Data->Inserted Array which are numbers. Any help?
Solved! Go to Solution.
11-28-2017 03:54 AM
I cannot debug a picture. Reproduce the problem in a small VI, and attach it.
11-28-2017 05:13 AM
Here is the test file of the TDMS file
This VI works for the number, but when I change Sea Water Temp to Time, it ceases to work at all. I can not get data any way at all.
11-28-2017 05:19 AM - edited 11-28-2017 05:27 AM
The problem is that you do not understand how to use the TDMS functions. If you want to read out the Time channel from the TDMS file, specify "Time" for the Channel name, and NOT "Sea water temp"!
edit: sorry, you wrote you changed the name to "Time". So the problem was the data type, see below:
Besides, if you want to read the Time stamps, you need to specify Time stamp data type, also for the indicator, not Waveform data type!
edit: and do not forget to Close the TDMS reference...
Edit2: I can just read the file without any problem:
11-28-2017 05:25 AM
This was just a sample, I did try with time. It still gave me an error. Here's the version for time 🙂
When I do it without changing the data type, I get an error. When I do it with the data type, it tells me the polymorphic terminal can not accept the datatype
Though yeah, I don't really understand TDMS functions as much as I should.
11-28-2017 05:27 AM
Just saw the edit. Thanks.
Got it, my error was in not changing the time stamp constant to error. THANK YOU SO MUCH 😄