Sign Up

Details

Hello Brian,

First of all, thank you very much for the invaluable TDMS toolkit. I actively use the toolkit in many of my projects, and it truly adds value to them.

Today, after the 2.2.0.11 update, I noticed an issue. The issue is the slowness of the 'TDMS Write' operation. I observed that within the process consuming the data, the data coming from the producer is not consumed on time. Upon examining the source code of the toolkit, I noticed a very small mistake.

In 'Write Tremendous TDMS.vi,' the current reference of 'TDMS Tremendous' is not being passed to the output terminal. As a result, the 'Last mS check' value inside 'Get Current TDMS Reference.vi' is not updated, and it constantly has to check the file size. This situation slows down the write operation.

You can access the image of mistaken vi via the one drive link below.
https://1drv.ms/i/c/5a06d6f57b67f022/Eeq_SYJ5EiFKsK0waRnDAhwBK_Ek8v3Aeynk3x525B9w9Q?e=gOAvzL

I wanted to report this issue. Thank you again.

Comments

Brian Hoover Sorry about that. When I added the data to the Parent class I knew the right way was to use a DVR since branching the class reference is a thing that can happen. So I updated it to use a DVR, but I did also add the wire for passing the class reference through too. Thanks for reporting this.
 •  Reply2 weeks
Steven Dusing Also just noticed this as well. Thanks for fixing the other issues Brian! We also really appreciate the toolkit. We look forward to this fix in future releases :)
 •  Reply2 weeks
Steven Dusing Oh wait, I see you've already fixed it, but that's also the version I have installed... I do see that you have corrected the wiring issue mentioned above, but unfortunately I am still seeing the performance issue where the "Last ms Check" value is never updated. I can replicate this very easily using the "Size TDMS Example.vi". I have not been able to diagnose the root cause yet, but wanted to report that the issue remains even after v.2.2.1.12
 •  Reply2 weeks
himmetgencer Dear Brian, thanks for the quick update. However, as Steven mentioned, the issue still continue. When I reviewed the code, I noticed that the 'last ms' value is being set to the parent class's DVR named 'Private DVR Data'. However, this DVR is never created. There is a method called 'Open Tremendous Tdms', but it is never called anywhere. Due to this, the 'Write Last Ms Check' method throws the error 'The reference is invalid'. You can see the related error in the link. https://1drv.ms/i/c/5a06d6f57b67f022/Ee0b4QqyMQFLvh4GwJZM28kBFCPfJxf-M00HvayO3RU5Mw?e=0488HX
 •  Reply2 weeks
Steven Dusing looks like 2.2.1.13 resolves the issue?
 •  Reply1 week
Brian Hoover Yes thanks you you support and interest in this toolkit. Version 2.2.1.13 should fix this.
 •  Reply1 week
himmetgencer Thanks Brian
 •  Reply1 week

Please sign in to leave a comment.