Component: CRC (Calculation)
From Flowcode Help
Jump to navigationJump to search
| Author | Matrix Ltd | 
| Version | 1.0 | 
| Category | Calculation | 
Contents
CRC component
Proforms CRC error checking using sum or division methods.
Version information
Library Version, Component Version, Date, Author, Info 1, 1.0, 30-09-24, MW, Component created
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
CRC16
CRC16_Array
|   | CRC16_Array | 
| Enter databytes and data count. The checksum will be retuened as an unsigned integer | |
|  - BYTE | Data | 
|  - BYTE | DataLength | 
| Max data lenght (2 - 20) | |
|  - UINT | Return | 
CRC8
CRC8_Array
|   | CRC8_Array | 
| Enter databytes and data count. The checksum will be retuened as a byte | |
|  - BYTE | Data | 
|  - BYTE | DataLength | 
| Max data length (2 - 20) | |
|  - BYTE | Return | 
ClearChecksumValue
|   | ClearChecksumValue | 
|  - VOID | Return | 
compareChecksum
|   | compareChecksum | 
| Compare generated checksum uisng CRC8 or CRC16 macros. 0 = match, 1 = don't match | |
|  - UINT | Checksum | 
|  - BOOL | Return | 
Property reference
|   | Properties | 
|   | CRC Type | 
|   | CRC Size | 
|   | Poly | 
|   | Initial Value | 
|   | Final XOR Value | 
Component Source Code
Please click here to download the component source project: FC_Comp_Source_CRC.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_CRC.fcfx
