LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

9802 Save to SD Card

Hi all, i tried to save acquired Data from a NI 9234 to a SD card. To extend the range, the value from the module is multiplied by 100000000. To ensure that all Data are valid (unsigned int) I add 900000000.  

 

 

 

The "Daten anguggn.vi" is to check the result.

Unfortunately, it doesn’t look like expected. It suppose to be a Sinus (Just rename the zip to .BIN).

 

Can somebody help me ??

Thanks 

 

 

 

Message Edited by -_ALEX_- on 02-13-2009 01:42 PM
Message Edited by -_ALEX_- on 02-13-2009 01:46 PM
Download All
0 Kudos
Message 1 of 10
(3,800 Views)

Hi Alex,

you should check in which format the SD card function writes your data to the file (Little endian, Big Endian). Use the "Read from binary File" to select the format. Which waveform do you expect?

 

Egon

0 Kudos
Message 2 of 10
(3,776 Views)
Hi Egon, The Data are binary data in big-endian format to the open file specified by FileRefIn.With the "Read from binary File" nothing changed.The waveform should look like a sine.

 

Could you give me an Example ??

 

Thanks

0 Kudos
Message 3 of 10
(3,772 Views)

Hi Alex,

maybe like this.

 

Egon

0 Kudos
Message 4 of 10
(3,768 Views)

Could you see a sine look like waveform, with the CRIO-X15.zip ??

 

Alex

0 Kudos
Message 5 of 10
(3,763 Views)
In the FPGA I wired a constant to the Data Input for the NI9802, and as expected the value appeared on the "Daten anguggn.vi"Do you have any Ideas why it wont work with the Data coming from NI9234 ?? Thanks 
0 Kudos
Message 6 of 10
(3,744 Views)

Hi Alex,

has the constant the same Fixedpoint settigs as provided by the modul?

 

Egon

0 Kudos
Message 7 of 10
(3,739 Views)
Yes, 

It has 24 Bit Word Lengths and 4 Bit Integer word Lengths.

I am out of Ideas ...

 

0 Kudos
Message 8 of 10
(3,735 Views)

Hi Alex,

you should change the fixedpoint format of your number coming from the Mod3 output. I think you have a range overflow after multiply it with your "10 ..." constant.

 

Egon

0 Kudos
Message 9 of 10
(3,726 Views)

Hi Egon,

 

this could be the reason. I am not sure where to change the format. I would try it, but compieling last for 40 min ...

 

Thanks again !!!!

0 Kudos
Message 10 of 10
(3,717 Views)