LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to 9802 with CRio 9074

Solved!
Go to solution

Hi Everyone,

 

I am trying to write to SD cards on a 9802 module using a CRio 9074. I notice the files are always BIN files which I cannot make sense of. Do I have options to save the files being written to other formats or do I have to write another FPGA VI to read the written files? If this is the case then I cannot just retrieve the SD cards and read them on any computer port - I have to read them from the 9802 itself?

 

Thanks!

 

0 Kudos
Message 1 of 6
(3,419 Views)

Hi Dhasa,

you can read the bin files on every pc, but you have to write a program which can read the file. Your data in the files depends on the type you write to the file (U8, U16 or U32). Every number you write to the file will be added to the existing data.

 

Mike

Message 2 of 6
(3,410 Views)

Hi Mike,

 Do you have an example of a program that can read bin files on a PC? Is it essentially a FPGA or Host vi running on the computer? 

Thanks!

0 Kudos
Message 3 of 6
(3,396 Views)
I just spotted the "read from binary file" function. I guess this is what you meant, Mike.  I am going to give this a shot and then get back to the message board. Thanks a lot.
0 Kudos
Message 4 of 6
(3,392 Views)
Solution
Accepted by topic author Dhasa

Hello,

 

I think the following discussion forum post and "Bassett Hounds" response will go along way to explain how to write to SD cards in LabVIEW FPGA. Hope this helps.

 

Regards,

Message Edited by AAE_7885 on 02-27-2009 04:13 PM
National Instruments
RIO Embedded Hardware PSE

CompactRIO Developers Guide
0 Kudos
Message 5 of 6
(3,377 Views)

Hi Dhasa,

yes that's the function i meant. You don't need FPGA functions to read the data.

 

Mike

0 Kudos
Message 6 of 6
(3,362 Views)