EasyManua.ls Logo

SA Instruments 1030 - Page 146

Default Icon
194 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Signal Breakout Module
Revision C, August 2013
16-6
To decode the digital waveform data do the following:
Read in byte by byte
If byte has bit 7 clear, save as low byte
If byte has bit 7 set and there was a previous stored low byte
Then the 2-byte packet is complete and can be decoded.
StaleFlag + HighByte and 64, Stale flag is bit 6 of high byte
BitOut = HighByte and 32, Bit output is bit 5 of high byte
IntVal=((HighByte and 31)*128)+LowByte digital count decoded

Table of Contents