08-22-2007 04:33 AM
08-23-2007 07:28 AM
08-23-2007 12:16 PM
08-23-2007 12:35 PM
08-29-2007 01:04 PM
08-30-2007 12:45 AM
09-26-2007 01:14 AM - edited 09-26-2007 01:14 AM
Hi Doug,
in fact, the issue is not solved yet - I still have the problem that the first USB drive write access needs about 30 - 45 seconds, all following write accesses are faster and comply with the speed figures that were posted by NI. It seems like the controller needs this long time to mount the file system.
The strange thing is that it's not really the first write access but the first creation of a new file which takes this long time.
This is an example sequence in which I found out about the creation issue:
- create a file "dummy.txt" --> takes 45 Seconds
- create a file "dummy2.txt" afterwards --> takes "zero" time
- reboot
- overwrite "dummy.txt" --> takes "zero" time
- delete "dummy.txt"
- reboot
- create a file "dummy.txt" --> takes 45 Seconds
Currently, I'm first deleting an then recreating a dummy file at controller startup and wait for this to finish. Anyway, I would really like to understand what is causing this long access time upon first write.
Regards,
Stefan
PS: My controller seems to already have the new boot ROM; Update Utility reports:
*****
Processing cRIO-901x at 172.123.456.789
The controller already has a boot ROM version >= 2.2. Skipping update.
Message Edited by StGl on 09-26-2007 08:19 AM
Message Edited by StGl on 09-26-2007 08:24 AM
Message Edited by StGl on 09-26-2007 08:25 AM
09-26-2007 11:07 AM
Hi Stefan,
You may want to post your test code your using to benchmark the Open/Create file. I tried this with a USB stick of my own and didn't see the same behavior. Does this also occur with other USB storage devices or just this one? Different USB devices ( and CompactFlash devices) can have different timing ( e.g. read/write times, open/close files).
Regards,
Bassett
09-27-2007 02:25 AM - edited 09-27-2007 02:25 AM
Message Edited by StGl on 09-27-2007 09:26 AM
09-27-2007 10:36 AM
Just to be clear I have to ask if your taking into account the amount of time it takes for the RT controller to boot and launch the startup exe. It will take ~20 seconds for the cRIO controller to boot and launch a startup exe ( blinking the light ). A better measurement would be to benchmark the open/create file IO VI to see if its different.
I attached the VI I used below.
Bassett