nidas  v1.2-1520
Public Attributes | List of all members
nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk Struct Reference

Data packet back from probe (all unsigned little-endian):

starting byte size contents

0 32 2-byte cabin channel (* 16) 32 4 4 byte unused 36 2 2 byte unused 38 2 S Noise Bandwidth 40 2 S Baseline Threshold 42 2 P Noise Bandwidth 44 2 P Baseline Threshold 46 4 Oversize Reject 50 4*nchan 4-byte histogram/bin-data (* nchan) 170 6 Timer response header 176 * PbP Data (12 bytes pere PBP particle) More...

#include <BCPD_Serial.h>

Public Attributes

DMT_UShort cabinChan [16]
 
DMT_ULong unused1
 
DMT_UShort unused2
 
DMT_UShort SnoiseBandwidth
 
DMT_UShort SbaselineThreshold
 
DMT_UShort PnoiseBandwidth
 
DMT_UShort PbaselineThreshold
 
DMT_ULong oversizeReject
 
DMT_ULong OPCchan [MAX_CHANNELS]
 
DMT_UShort chksum
 

Detailed Description

Data packet back from probe (all unsigned little-endian):

starting byte size contents

0 32 2-byte cabin channel (* 16) 32 4 4 byte unused 36 2 2 byte unused 38 2 S Noise Bandwidth 40 2 S Baseline Threshold 42 2 P Noise Bandwidth 44 2 P Baseline Threshold 46 4 Oversize Reject 50 4*nchan 4-byte histogram/bin-data (* nchan) 170 6 Timer response header 176 * PbP Data (12 bytes pere PBP particle)

The struct below is set up similar to the above, but because of alignment issues (e.g., the 2-byte unused2 above starts at byte 36 but in the struct below the unused2 will probably be aligned 40 bytes into the struct), we CANNOT do a single wholesale copy to move the packet data into the struct.

Also, the struct is sized to hold the maximum number of channels, while the actual data packet may contain fewer than the maximum.

Member Data Documentation

DMT_UShort nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::cabinChan[16]
DMT_UShort nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::chksum
DMT_ULong nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::OPCchan[MAX_CHANNELS]
DMT_ULong nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::oversizeReject
DMT_UShort nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::PbaselineThreshold
DMT_UShort nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::PnoiseBandwidth
DMT_UShort nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::SbaselineThreshold
DMT_UShort nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::SnoiseBandwidth
DMT_ULong nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::unused1
DMT_UShort nidas::dynld::raf::BCPD_Serial::DMTBCPD_blk::unused2

The documentation for this struct was generated from the following file: