Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ pub enum TdmsError {
"The calculated size for a data chunk is grater than 2^64 bytes. This isn't allowed and probably indicates a corrupt file."
)]
ChunkSizeOverflow,
#[error("DAQmx Channels are not supported yet")]
DaqmxChannelsNotSupported,
#[cfg(feature = "chrono")]
#[error("Failed to convert LVTime to chrono::DateTime")]
ChronoDateTimeConversionFailed(#[source] labview_interop::types::timestamp::LVTimeError),
Expand Down
4 changes: 2 additions & 2 deletions src/meta_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ impl TdmsMetaData for RawDataIndex {
let raw_data = match raw_index {
0x0000_0000 => RawDataIndex::MatchPrevious,
0xFFFF_FFFF => RawDataIndex::None,
0x69120000..=0x6912FFFF => todo!(), // daqmx 1
0x69130000..=0x6913FFFF => todo!(), //daqmx 2
0x69120000..=0x6912FFFF => return Err(TdmsError::DaqmxChannelsNotSupported), // daqmx 1
0x69130000..=0x6913FFFF => return Err(TdmsError::DaqmxChannelsNotSupported), //daqmx 2
_ => {
let data_type: DataType = reader.read_meta()?;
let _array_dims: u32 = reader.read_value()?; //always 1.
Expand Down
Loading