Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Downloaded data is 0 bytes

Solved!
Go to solution

I have a compactRIO application where I save binary data to the hard drive.  I later go retrieve this data via ftp or the units built in management web page.

 

In either case if the binary file is large (so far tested with files between 2gb and 3gb) the file will download as 0 bytes.  Small files (megabyte range) download just fine.

0 Kudos
Message 1 of 4
(5,794 Views)
Solution
Accepted by topic author j.collins

Hi J,

 

This actually a known issue with VxWorks targets (cRIO) that is documented as corrective action request 252919, it happens when trying to ftp files over 2GB from a cRIO.

 

The workarounds for this problem are to either save the data in several smaller files or, if your cRIO allows it, use a USB storage drive and save the data to it.

0 Kudos
Message 2 of 4
(5,768 Views)

Do you have a link to that?

0 Kudos
Message 3 of 4
(5,756 Views)

Hello J,

 

The list of corrective actions requests that were fixed are release with each version of software in the read me file, for example, here is the read me file for LabVIEW 2012 Real-Time Module with the list of bug fixes:

 

http://digital.ni.com/public.nsf/allkb/567A365574D0080D86257A2A00777D98#bugfix

 

For this particular one the fix is still pending, in future releases this problem could be address, but for now I can’t give you an exact date to expect the fix.

 

Now regarding the issue of saving data to a USB on your cRIO you just need to change the path of where your are saving the data now (C:\) to the USB drive (U:\) like this very simply example:

 

https://decibel.ni.com/content/docs/DOC-6103

0 Kudos
Message 4 of 4
(5,741 Views)