08-12-2014 11:09 AM
I have a DSP device sending I2S data into my PXI, I am using a producer consumer architecture and I cant get the data to be read properly. I beleive this is down to the multiple data lines it is dependant on LR line & Data line, I am using the decode.VI but that only takes in U32 data not multiple channels. How do I go about getting this data do be correctly read by in order to be processed by this VI?
Any examples or asistance would be appretiated.
Thanks
08-13-2014 06:48 AM
Hi nashm999,
I understand you have a problem getting data read by a decode.VI due to the VI taking U32 data and not multiple channels.
I would like to know more details on which decode.vi are you using? What toolkit is it from? Which Version of Labview are you running?
If you could provide me with this, I will be able to assist you further.
Kind Regards,
Mark
08-13-2014 08:08 AM
I have attached the Decode.vi I am using, I am running on labview 2013 base development System. I am having difficulties getting the input data into the type required by this VI
Thanks
08-14-2014 04:43 AM
Hi ,
I have looked through your code, I need to know a bit more things.
Where is your Digital Data Input coming from? What are the I2S parameters?
Please let me know , so that I can help you.
I have found this white paper online that could help in the meantime.
http://www.ni.com/white-paper/9540/en/
Kind Regards ,
Mark Ghannam
08-14-2014 09:01 AM
The VI's in the white paper example are what I am using, I am sending the I2S data from my master device into a 50MHz IO (PXIe-6537).
I think I may have found a solution to the problem I was having with the data types. I am now reading the data into the producer as a cluster and in the consumer converting the data to Binary U32 bit data which goes into the decode VI's without any arguments.
Besides that white paper document there is not many examples to do with I2S
thanks anyway