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.
I'm using the TDM C DLL to try and log data as a TDMS file but every time I try and write the timestamp channel I get this error:
"Exception thrown at 0x000007FEFCD4B87D in TDMS_Testing.exe: Microsoft C++ exception: ni::usi::Exception at memory location 0x000000000016DCD8."
The hex values change but it happens every time I call DDC_AppendDataValuesTimestampComponents. No other channel throws this exception. It seems like the timestamp still gets written but it's quite an annoyance when this pops up for every logging event. I attached my test code too.
Yeah, it just pops up as an exception in Visual Studio and keeps functioning properly. When it's run just as an exe, nothing happens. So I guess I'll just noting this as a "feature" of VS ha ha