LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sample of how to write data to NI 9802 SD Card C-Module

I have basic knowledge of LabVIEW but now I want to go into Real-Time and FPGA. I want to learn how to write a data read from an analog input to a SD card using NI 9802.  For the purpose of learning data rate does not matter, as long as I can write something to the memory card.  I read some documents online but I have not found an example so I can understand how to do it.  I will much appreciate if there is any help.

 

My settings:

- cRIO 9073

- Slot 0: NI 9229 (reading only AIO)

- Sot  1: NI 9802 (Memory card is inserted to slot 0) - must be used in FPGA mode only.

 

 

0 Kudos
Message 1 of 4
(3,193 Views)

Hi,

 

To getstarted with, you can first attempt to mount and unmount the NI 9802 using the invoke methods "Mount SD Card" and "Unmount SD Card" in the RT vi. For this you only need to open an FPGA reference to the FPGA vi. After Mounting, you can obtain the drive letter and use it to create the file and write data.

 

Best Regards,

Gogineni

 

______________________________________________
Kudos are welcome
0 Kudos
Message 2 of 4
(3,177 Views)

Hi, adding to Gogineni's suggestion...this methods are visible on the shipping examples. Open the NI Example Finder, go to the search tab and type 9802. You will get a couple example projects that can work as a reference.

Alejandro C. | National Instruments
0 Kudos
Message 3 of 4
(3,140 Views)

Yes, I will check it after I get home 😛 working as business man but I still want to learn engineering.  Thank you very much!!!

 

Message 4 of 4
(3,136 Views)