Code Monkey home page Code Monkey logo

crccalculator's Introduction

CRCCalculator

Xojo example projects (API1 & API2)
Cyclic Redundancy Check: CRC8, CRC16, CRC32

License: MIT

Description

This example Xojo project shows how CRC Calculations can be implemented in pure Xojo Code. Because CRC classes are not available in the Xojo Framework, one has to either use a 3rd Party Plugin - or calculate the Algorithm(s) manually.

Cyclic Redundancy Check Algorithm

This example is based on this documentation: Understanding CRC.
That article is also included as a PDF.

ScreenShots

Built Desktop application running on macOS:
ScreenShot: CRC16CalculatorDesktop

Built Desktop application running on Windows:
ScreenShot: CRC16CalculatorDesktop

Built Web application running on macOS:
ScreenShot: CRC16CalculatorWeb

Xojo

Requirements

Xojo is a rapid application development for Desktop, Web, Mobile & Raspberry Pi.

The Desktop application Xojo example project CRCCalculatorDesktop.xojo_project is using:

  • Xojo 2018r4
  • API 1

The Web application Xojo example project CRCCalculatorWeb.xojo_project is using:

  • Xojo 2024r1.1
  • API 2

How to use in your own Xojo project?

  1. Copy/paste the required CRC Calculator Classes into your project
  2. Create an instance of the Class
    • by using a predefined Algorithm: CRC16Calculator.CreateByType(CRC16Type.MODBUS)
    • or create a custom Calculator: New CRC16Calculator("CRC-16/GENIBUS", &h1021, &hffff, false, false, &hffff)
  3. Get the result: myCRCCalculatorInstance.Result("1234567890")

Xojo Web App 2 Docker

This repository contains Documentation about how to package a Xojo built Web Application in a Docker Image. The Web application Xojo example project CRCCalculatorWeb.xojo_project includes a Post Build Script which automates the task of building the Docker Image of the web application.

About

Juerg Otter is a long term user of Xojo and working for CM Informatik AG. Their Application CMI LehrerOffice is a Xojo Design Award Winner 2018. In his leisure time Juerg provides some bits and pieces for Xojo Developers.

Contact

E-Mail    Follow on Facebook    Follow on Twitter

Donation

Do you like this project? Does it help you? Has it saved you time and money?
You're welcome - it's free... If you want to say thanks I'd appreciate a message or a small donation via PayPal.

PayPal Dontation to jotools

crccalculator's People

Contributors

jo-tools avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.