You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @kimbyungnam, copying DAQmx channels like this isn't supported yet. It looks like what's happening is the 0xFFFFFFFF value assigned as the data type for DAQmx data is overflowing the Int32 type used to write the raw data index information. Changing that to be a UInt32 instead should fix this error but the result won't be correct, as npTDMS will read the scaled data rather than the raw data, so when the file is read back the scaling will be applied twice. So you probably want to create a channel with the raw data instead.
This should probably be changed to at least give a more helpful error message.
Are there any guidelines for writing data with scale information?
In Writting TDMS files tutorial, an error occurs in the last code snippet when the original file contains scale information.
Example Code
Error Log
The code below, however, works without any errors.
I am attaching the channel properties of my TDMS file.
The text was updated successfully, but these errors were encountered: