Raptor-Dev-Checksum: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
 
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
{{DISPLAYTITLE:Raptor-Dev Checksum Library}}
 
{{Navigation}} [[Raptor-Platform | Raptor Platform]] > [[Raptor-Dev]] > [[Raptor-Dev-Libraries | Raptor-Dev Library]] > '''Raptor-Dev Checksum Library'''
[[Raptor:Essential Libraries|Return to the Essential Libraries page]]
 
[[File:Raptor_checksum.PNG|right|frame|Raptor™ Checksum]]
[[File:Raptor_checksum.PNG|right|frame|Raptor™ Checksum]]
<p>The blocks in this subsystem are used to calculate checksums of memory segments.</p>
<p>The blocks in this subsystem are used to calculate checksums of memory segments.</p>

Latest revision as of 12:25, 1 September 2016

New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Library > Raptor-Dev Checksum Library

Raptor™ Checksum

The blocks in this subsystem are used to calculate checksums of memory segments.

Blocks

Block Description Appearance
Calc Checksum Block

This block is used to calculate the checksum of memory segments in the controller. These checksums can be used to validate that the the data stored in a memory segment has not changed. The block uses the CRC16-CCITT method to calculate the checksum. Due to the computationally intense nature of this algorithm the checksum is calculated incrementally over multiple executions of this block. This means that the Calculate Checksum block must be in a regularly triggered subsystem. The value of the checksum can be read using the Read Checksum block.

Calc block
Calc block
Read Checksum Block

This block is used to read the checksum of memory segments in the controller calculated by the Calculate Checksum block.

Read Checksum block
Read Checksum block