Giter VIP home page Giter VIP logo

test-cb's Introduction

Pickering ClientBridge/C++ Test program

Here is simple program that uses Pickering ClientBridge C/C++ library.

Setup

Tested OS: Debian 10/amd64

  • Ensure that git and build environment is installed using this command:

    sudo apt-get install build-essential git
  • Download latest ClientBridge binary, for example:

    curl -O http://downloads.pickeringtest.info/downloads/drivers/Sys60/Linux/ClientBridge/Debian/ClientBridge-1.20.0.3-amd64.deb
  • install downloaded binary:

    sudo dpkg -i ClientBridge-1.20.0.3-amd64.deb
  • checkout and build this test program:

    git clone https://github.com/hpaluch-pil/test-cb.git
    cd test-cb
    make

Running

To run this program you need target LXI device or LXI Simulator.

To test card on Bus=1 Slot=15 and LXI IP Address=192.168.10.38 you can use this command:

./TestCB 192.168.10.38 1 15

Example output from above command:

OK: Connected to '192.168.10.38:1024', SESSION=1587630255
OK: OpenSpecifiedCard at Bus=1, Slot=15. CardNum=1
OK: Card on Bus=1, Slot=15 has CardId='40-160-001,1000000,1.01'

Resources

test-cb's People

Watchers

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