Code Monkey home page Code Monkey logo

serial-ports-in-vba-extra-simple-2022's Introduction

Serial Ports in VBA for 2022

Minimal version for basic send and receive data use only

This is the further simplified set of VBA Serial Port functions for use with one pre-defined Com Port only.

Intended for use with serial devices which have a well-defined set of short commands and responses.

Functions can be used directly in Excel Worksheet Cells.

Assumes that COM Port has previously been configured correctly via command-line or other method

No functionality provided for

  • Debugging

  • Multiple COM Ports

  • Waiting data check before read 1

  • Device hardware (signalling) functions

  • COM Port settings to be modified on starting

4 functions only - start, stop, send, read com port

Footnotes

  1. Read and Write in same Excel document may require read delay.
    Uncomment kernel_sleep_milliseconds in function read_com_port
    Suggested values = 50 to 500 depending on baud rate, message length. โ†ฉ

serial-ports-in-vba-extra-simple-2022's People

Contributors

serialcomms 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.