09-02-2009 03:53 PM
09-02-2009 04:42 PM
If you can read and write files from Hyperterminal using Keil example then you should be able to make the same from LabVIEW generated projects (there is not a hardware issue).
Let's try something, even if that issue had been already fixed: use UPPERCASE.TXT filename.
I don't have a MCB board, so inviting application engineers is a good idea. Could you update all project, including generated files (remove MCB2300\Application\2.0\Project\Obj before making the archive)
09-02-2009 05:10 PM
09-02-2009 05:34 PM
Here it is my generated files.
Open project sd card\tst sd card\MCB2300\Application\2.0\Project\LabVIEW.uv2 and try flash-download-debug.
09-04-2009 09:44 AM
Hello NIcB,
I have changed the name to all caps but it did not work. I directly flashed the project send by you and it did not work. Please find the attached project which I recompiled. Please let me know if you can flash the project file which I compiled.
09-04-2009 09:51 AM
09-04-2009 12:33 PM
I understand you are seeing the same errors (2-IOerr) in RTAgent window while debugging the project posted by me (so, there is no DAVID.TXT file in your SD). However, I checked the files and versions from your archive and seemed to be OK.
Again, I don't have a MCB board so I cannot help with real tests (be sure, the problem would be fixed already if I've had one).
I am very thrilled:
- Meghan said she tested files on MCB2300,
- you don't have hardware problems (because Keil demo run successfully),
- and your system is properly configured, generating the same code as mine.
Who's lying here?
Also, all is working well on Stellaris, and the only differences are drivers (MCI_LPC23xx.c) and library (FS_ARM_L.lib - yes, you can build the SD file demo from Keil because the missing file is in your computer : ).
09-04-2009 01:50 PM
This is the link from where I downloaded LabVIEW embedded 2009:
http://joule.ni.com/nidu/cds/view/p/id/1049/lang/en
Can you please check if this is the correct version..
09-04-2009 02:05 PM
09-08-2009 01:42 PM
Hello Jaggs,
I could succesfully run the snippet example that was posted earlier in this thread. One of the main problems I saw in your example was that you need to wire the path output of the first close to the input of the second open/create/replace function. This will ensure that you are creating and succesfully closing the file before trying to read it.
One thing you could try is to make the file path M:\DAVID.TXT.
Also I have posted a zip file of my directory minus the Obj folder