04-10-2016 02:29 AM - edited 04-10-2016 02:40 AM
Hi,
I am designing a system consisting an FPGA based board (NEXYS4 DDR) which read a high speed ADC via paralel interface. Now I've programmed the FPGA to take 1000 samples and send it to a LabVIEW GUI when is asked by GUI via UART. Each data sample contents 2 bytes so in the final will be 2000 bytes on UART.
At this moment I don't have a separation syntax between samples (at each 2 bytes), do I need one? So when I hit the acquisition the LabVIEW it will display me the samples without separation between them.
How is the best way to to? To do a separation in FPGA firmware at each sample transmision, or to work with data in LabVIEW and make a syntax with a stacked sequence which will allow me to read 2 bytes and increment an index which will allow me to go to the next 2 bytes.
I hope I was clear where I have my doubts.
At this message you will found an print screen which show you how data looks when I receive from FPGA. In this print screen the indicator are set to show hex display and codes display and 028E is the sample value.
Thank you in advance,
Vlad
Solved! Go to Solution.
04-10-2016 07:16 PM - edited 04-10-2016 07:16 PM
Sounds like you are doing things correctly. Just use Unflatten From String to convert to an array of U16. I recommend using the Unflatten From String so that you can choose the endianness if needed.
04-12-2016 04:55 AM
Thank you, it worked!
Best Regards,
Vlad