06-03-2013 12:37 PM
Hi, I want my analog data to be written to an SD card using a single channel, as I am new to Labview I am first using a single analog input channel of NI9215 using FPGA mode. As I am interseted in using the DMA FIFO(Target to Host) and the analog data which I am using is taken from a sound source.
I have gone through various discussions some say DMA only takes U32 format data so to use DMA whether I have to convert the data to U32 format or what? some say that I have to convert the FXP point data to binary values while writing it to SD card and now I am confused about how to write the data to SD card.
Once the data is written to the SD card I want to read that data in a way that I want to play as a recorded sound(audio) Which FILE I/O method shall I use to record my data and retrieve that data as required? I am attaching my VI for review. Kindly help me as I have spent much time on it and could not find the solution to it.
Best Regards,
Ather
06-04-2013 08:06 AM
Sorry, The VI is attached now. I have saved the file using Write to Measurement file(test1.lvm), Now I want this file to be read from the RT or FPGA so that I can connect this value to the output channel of NI 9269, and listen the whole audio.
Kindly guide through it,
Thanks in Advance
06-04-2013 06:40 PM
Hi Axher,
Here is some useful information that I collected that you can use to design your architecture.
Overview of DMA FIFO
http://www.ni.com/white-paper/4534/en
Capture analog input and play back the sound continuously through your PC speakers
https://decibel.ni.com/content/docs/DOC-23382
Have you taken a look at the examples that come with LabVIEW. There are a few specific to the 9802 module that will be a good reference on how to use it for your application. I would recommend looking at them. Under Help<<Find Examples.
06-05-2013 02:43 PM
Thanks,
I have gone through the examples as well as the topics which you have listed here, but I am unable to read the data and send to the analog channel and playback that audio.
Kindly guide me through it.
Regards,
Ather
06-06-2013 12:42 PM
Hi Ather,
Well to keep things simple try to focus on reading the data to your module first and make sure you can get that to work. Look at NI 9802 Read U8 Variable example in the LabVIEW provided examples. You should just be able to run it. If you have any specific problems about this please let me know.