LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

MCB2300 SD Card Error

Solved!
Go to solution

These are good news: MCB2300 support files.


However, Jaggs got IO errors, so I don't know if those identified are the "main problems".

 

1.Of course, the second Open/Replace should be wired to the output of Close File in order to be sure the file opened for writing is closed and then reopened for reading (http://forums.ni.com/ni/board/message?board.id=420&message.id=1455#M1455).

 

But this is not the case - the generated code does the right thing in this case (open-write-close, open-read-close). Sometimes is no, and fortunately, you don't need an "ultimate solution" here.

 

2.M:\ is the default drive/path and is concatenated automatically. It would be to easy.

0 Kudos
Message 21 of 24
(4,912 Views)

Hello All,

 

I was still not able to write through the LabVIEW embedded to the SD card.  I always get error 6 or 7.  However, I was able to run the Keil SD card example in uvision and then read/write through the hyper terminal.

 

Thanks.

 

 

0 Kudos
Message 22 of 24
(4,891 Views)
Solution
Accepted by topic author Jaggs
finally got it solved by using finit(); and small delay functions.  Please see the attached picture.  Thanks NiCB for suggesting it.
0 Kudos
Message 23 of 24
(4,876 Views)
This issue has been investigated by NI and the problem could not be reproduced. The VI attached below has been found to work without the need for modification.  If anyone has instructions on how to reproduce this problem, please post them.  If you happen to run into this issue, the above workaround should be a solution.
0 Kudos
Message 24 of 24
(4,730 Views)