tdms
tdms copied to clipboard
undefined method 'path' for nil (NoMethodError)
Trying to parse a .tdms file and getting the following on initial .parse attempt:
cntral(dev)> Tdms::File.parse( Rails.root.join( "test1.tdms" ) )
(cntral):11:in '<main>': undefined method 'path' for nil (NoMethodError)
chan.path = prev_chan.path
^^^^^
How can such a file be produced?
When the test fixtures are generated with NI LabVIEW, they do not have this issue, so I don't know how to duplicate it.
@mnaberez I'm not sure. I've attached the file here. It's from a gas detection sensor mounted on a truck. We're not generating the file. We're just trying to parse and ingest it. Thanks for your help.