03-25-2014 10:05 AM
I am currently generating a 0-10V triangle wave on an NI9263 Analog Output Module, Port 0. (This will eventually be routed to an antennae.) For now, I am routing the Analog Output to an NI9215 Analog Input Module, Port 0. I would like to generate the waveform on the Analog Out Module, and then record the waveform for 2 seconds at a 100kHz sample rate with the Analog In Module. I have an NI9802 SD Memory Moduel, and I would like to store the waveform to the SD Card. The end application requires multiple appended writes to the SD Card, becasue it is intended to be autonomous.
I do not have experience with the cRIO platform, so my abilities are limited.
I'm able to generate the waveform that I want, but reading and writing to the SD Card is difficult. I cannot find very much documentation or examples on how to do this. I can only write to the SD Card with Unsigned 16 bit words, in a binary format. This limits my ability to capture a high resolution waveform. Any help/suggestions is greatly appreciated!!
I have attached a screen capture of my waveform vi. My code for writing to the SD card is worthless...hopefully someone knows how to do this correctly.
03-26-2014 08:42 AM
Hey Oddjob,
The LabVIEW example finder has an example for writing data to an SD card using the 9802. In LabVIEW, just go to Help > Find Examples and search for '9802' to find the 'NI 9802 Write' example project.
I hope this helps.
Regards,
Ryan