mettekou/FSharp.Data.Tdms

System.IO.EndOfStreamException

Closed this issue · 7 comments

Hello,
I'am trying to read a Tdms file but I encountered following error:
System.IO.EndOfStreamException Attempted to read past the end of the stream

Is there a limitation or something else?
Thank you
W

@WalterCare Could you provide me with this TDMS file and the code you use to read it?

Hello,
is it possible send it by a private message? Or maybe if you can share with me your email I can send it by wetransfer
Size is 120MB
Ty

Code is very very simple

            OpenFileDialog diag = new OpenFileDialog();
            diag.InitialDirectory = @"D:\MyDirectory";
            if (diag.ShowDialog() == DialogResult.OK)
            {
                File f = File.Read(diag.FileName,true);
            }``

Hello, is it possible send it by a private message? Or maybe if you can share with me your email I can send it by wetransfer Size is 120MB Ty

@WalterCare I would prefer to have the TDMS file here for later reference. One final question: are you using the latest version of FSharp.Data.Tdms (1.0.0-alpha.118, not 0.5.6)? Please note that NuGet does not automatically select it, since it is a pre-release version. You can find instructions on how to install it here.

Hello, is it possible send it by a private message? Or maybe if you can share with me your email I can send it by wetransfer Size is 120MB Ty

@WalterCare I would prefer to have the TDMS file here for later reference. One final question: are you using the latest version of FSharp.Data.Tdms (1.0.0-alpha.118, not 0.5.6)? Please note that NuGet does not automatically select it, since it is a pre-release version. You can find instructions on how to install it here.

@WalterCare Has your issue been resolved by using the latest version of the NuGet package, as I suggested?

Hello, is it possible send it by a private message? Or maybe if you can share with me your email I can send it by wetransfer Size is 120MB Ty

@WalterCare I would prefer to have the TDMS file here for later reference. One final question: are you using the latest version of FSharp.Data.Tdms (1.0.0-alpha.118, not 0.5.6)? Please note that NuGet does not automatically select it, since it is a pre-release version. You can find instructions on how to install it here.

@WalterCare Has your issue been resolved by using the latest version of the NuGet package, as I suggested?

@WalterCare I assume your issue has been resolved and will therefore close it. Feel free to reply, should this not be the case and I will reopen your issue.

Hello,
after installed 1.0.0-alpha.118 version I'm able to open the file.
Thank you for your support