LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

crio usb first access slow

Hi Bassett,

yes - I ignored the system startup time in my timing measurements. In fact, I first encountered the behavior in another programm which did some measurements and calculations and then first saved some data after the system was already running for several minutes. In this program I first came over the fact that the first save takes very much longer than all the following ones - so it's definitely not the startup time of the system!

Regards,

Stefan
0 Kudos
Message 11 of 13
(1,490 Views)
Does it behave the same with every usb drive?  Can you post your small sample of code that writes to the port?
0 Kudos
Message 12 of 13
(1,481 Views)
That's easy - I'm just using the "write to binary file.vi" from the vi lib with my data (doesn't matter which data this is) and the file name as the only inputs. The first time this function creates a new file, it takes very long (about 1 minute even for a very small file) on my 300 GB partition. All following file creations are as fast as expected. On a smaller memory stick (512 MB), all file creations, including the first one are  the same fast.

Regards,

Stefan
0 Kudos
Message 13 of 13
(1,477 Views)