Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5681

Reading serial values and convert it to address and data

$
0
0

Hello,

 

I am receiving strings of bytes from a hardware using serial read function. Now I want to rearrange these values i.e. each 4 bytes should be arranged in 10-bit address and 20-bit data. Please find attached screen shot.

Thanks in advance.


Viewing all articles
Browse latest Browse all 5681


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>