-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown data type -1 #8
Comments
I'm not really sure what could be causing the problem, haven't seen that before. Might want to grab the code and debug it while opening your file, will probably help troubleshoot. |
@rafa0809 if you post a file with the issue I will take a look. |
Ran into this issue as well. Have two example files for you @tommyja |
Line 66 of the Reader.cs file gave -1 which is the source of this issue. |
Thx! I'll try to take a look as soon as I can. Sorry for the delayed response. |
I am also having this issue. Is there any insight into what is happening? Stepping through: From the stack: This means that |
Interesting clue: 4713, according to the tdms whitepaper refers to the version number of the tdms file format, which wouldn't seem to have much to do with the rawDataIndexLength. I have observed this result with two separate .tdms files. Perhaps something is being read out of order for some cases of tdms files. |
Oh solved. 4713 refers to TDMS2.0. As discussed in another issue, this project only supports TDMS1.0. Is that correct? I may be able to use 1.0 in my project. |
@ghost @tom-mcs @betsalel-williamson The unrecognized data type -1 (= 0xFFFFFFFF) is DAQmx raw data, which TDMSReader does not currently support. I am closing this issue as a duplicate of #18, which has more information on the subject. |
Hello,
When I try to open tdms files, the reader throws an exception "Unknown data type -1".
That occurs in the Open() operation:
This exceptions only occurs sometimes, but I would like to know why. Maybe a problem in the files or maybe a problem with the reader with newest versions of the files.
Thanks in advance!
The text was updated successfully, but these errors were encountered: