ni.com checkout is currently experiencing issues.

Support teams are actively working on the resolution.

PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

I/O error (6) when writing too large chunks to Datalog format

I have an application on an NI-PXI-8108, that writes large chunks of data to a datalog file. When it reaches a certain size, I get a generic file I/O error.

 

The error appears at about 32MB per write action. So there might be a limit or optimization I can change to improve this?

 

I would prefer not to change the format, so smaller chunks is not an option.

 

Any ideas or help is very much appreciated.

0 Kudos
Message 1 of 5
(3,877 Views)

I've got a simple test VI that proves this issue:

 

memory_test.png

 

We're using a PXI-8108 btw, I'm not sure if this matters though.

 

Any ideas?

0 Kudos
Message 2 of 5
(3,864 Views)

Hi Dennis,

 

I'd like to add that this limit occurs on LabVIEW RT (PharLap ETS). Because on Windows the limits appears to be higher, but I don't know by how much.

 

I hope someone knows a solution.

 

Thank you,

Adriaan

0 Kudos
Message 3 of 5
(3,845 Views)

Hello,

Thanks for your contacting with National Instrument in this forum.

I found some info about your issue if you still have that.

First it is sometimes need to turn off your antivirus.

Second you can use the links below for more info about the file I/O.

http://digital.ni.com/public.nsf/allkb/CBE7CCDF8FAC904F86256AF80059D176?OpenDocument

http://digital.ni.com/public.nsf/allkb/2C99F5D635AE184C86256CD1005BBF65?OpenDocument

I hope it would be helpful and if you have any question don't hesitate to ask me.

Regards,

Hossein

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

Thank you for your reply, but it doesn't help much. I had searched the internet trying to find a sollution, and already encountered the links you provide.

 

It's a LabVIEW Realtime system, so it doesn't have an antivirus.

 

When the dataset is smaller we don't see this error, so everything seems ok, untill we pass 32MB.

0 Kudos
Message 5 of 5
(3,833 Views)