Skip to content

can't read tdms 2.0 file with System.Exception:“Unknown type: 4294967295” #37

Description

@ErDong886

@mikeobrien Mr, I am a rookie to c# and I'm working on developing a electromechanical system with NIdaq device. But it seems that c# doesn't have a lib to read my tdms file. The code is shown below. The program is under .net 6.0, and my operating system is win10.
`using System;
using System.Diagnostics;
using FSharp.Data.Tdms;
using File = FSharp.Data.Tdms.File;

class Program
{
static void Main(string[] args)
{
File.Read("C:/Users/YLChen/Desktop/StepTest_20250221_142152.tdms", true).TryGetRawData("Cycle_4", "Dev1/ai0", out double[] data);
foreach (double sample in data)
{
Console.WriteLine(sample);
}
}
}`

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions