LabJackChecksums.cpp File Reference
`#include "SurgSim/Devices/LabJack/linux/LabJackChecksums.h"`

## Namespaces

| SurgSim
| SurgSim::Devices
| SurgSim::Devices::LabJack
| A collection of checksum functions specifically tailored for the labjackusb driver.

## Functions

unsigned char | SurgSim::Devices::LabJack::normalChecksum8 (const std::array< unsigned char, MAXIMUM_BUFFER > &bytes, int count)
| Calculates an 8-bit 1's complement unsigned checksum specifically for normal command communication with the low-level LabJack driver. More...
uint16_t | SurgSim::Devices::LabJack::extendedChecksum16 (const std::array< unsigned char, MAXIMUM_BUFFER > &bytes, int count)
| Calculates a 16-bit 1's complement unsigned checksum specifically for extended command communication with the low-level LabJack driver. More...
unsigned char | SurgSim::Devices::LabJack::extendedChecksum8 (const std::array< unsigned char, MAXIMUM_BUFFER > &bytes)
| Calculates an 8-bit 1's complement unsigned checksum specifically for extended command communication with the low-level LabJack driver. More...
void | SurgSim::Devices::LabJack::normalChecksum (std::array< unsigned char, MAXIMUM_BUFFER > *bytes, int count)
| Performs the 8-bit 1's complement unsigned checksum required for normal command communication with the low-level LabJack driver, and stores the result in the buffer. More...
void | SurgSim::Devices::LabJack::extendedChecksum (std::array< unsigned char, MAXIMUM_BUFFER > *bytes, int count)
| Performs the 1's complement unsigned checksums required for extended command communication with the low-level LabJack driver, and stores the results in the buffer. More...