Error 6 at TDMS Open when Logging to a USB Drive on the CompactRIO

Updated Nov 5, 2020

Reported In


  • cRIO-9067
  • cRIO-9068


  • LabVIEW
  • LabVIEW Real-Time Module

Operating System

  • NI Linux Real-Time

Issue Details

I am logging to an external USB drive. My CompactRIO-9067 crashes after 7,000 TDMS files acquired, and Error 6 shows up:
Whenever I run my program again, the same error occurs and no files get written. Why is this happening?


First, ensure that the error is not being caused due to any of the reasons in this KnowledgeBase Article

There is a known issue (Bug #695246) with logging to USB drives on some of our CompactRIO (cRIO) products such as the 906x. The best option here would be to log data on your host PC with network streams or to log directly to disk (a directory on the cRIO).