02-13-2009 06:39 AM - edited 02-13-2009 06:46 AM
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
02-13-2009 07:33 AM
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
02-13-2009 07:57 AM
Could you give me an Example ??
Thanks
02-13-2009 08:04 AM
Hi Alex,
maybe like this.
Egon
02-13-2009 08:22 AM
Could you see a sine look like waveform, with the CRIO-X15.zip ??
Alex
02-13-2009 08:41 AM
02-13-2009 08:46 AM
Hi Alex,
has the constant the same Fixedpoint settigs as provided by the modul?
Egon
02-13-2009 08:55 AM
It has 24 Bit Word Lengths and 4 Bit Integer word Lengths.
I am out of Ideas ...
02-13-2009 09:18 AM
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
02-13-2009 09:40 AM
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 !!!!