SA Instruments 1030 Operation Manual page 146

Mr-compatible small animal monitoring and gating system
Table of Contents

Advertisement

Signal Breakout Module
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,
BitOut = HighByte and 32,
IntVal=((HighByte and 31)*128)+LowByte
16-6
Stale flag is bit 6 of high byte
Bit output is bit 5 of high byte
digital count decoded
Revision C, August 2013

Advertisement

Table of Contents
loading

Table of Contents