Code Monkey home page Code Monkey logo

libplctag.net's Introduction

libplctag .NET

This repository contains two .NET packages for libplctag that are published to Nuget.org:

Goals

  • Package the libplctag functionality in a way that is convenient to use in .NET applications (i.e. publish on nuget.org).
  • Be cross-platform: It should support any platform that libplctag can be built for, and supports .NET Standard 2.0

libplctag

This is the package intended for use by application developers. It provides strongly-typed and convenient access to Tags.

For usage, see the examples in the example projects:

libplctag.NativeImport

libplctag.NativeImport provides low-level (raw) access to the native libplctag library. The purpose of this package is to expose the native library API (which is written in C), and handle platform and configuration issues.

Documentation for the native API can be found here. An example of its usage can be found here.

During initialization, this package extracts to disk the appropriate native runtime. By default, it will overwrite any runtime that is already on disk. If you wish to disable this behaviour and use a different runtime (e.g. one that you've compiled yourself, or a pre-release), you can disable the Force Extract feature.

// Before any calls to any libplctag methods
plctag.ForceExtractLibrary = false;

The libplctag native runtime can be compiled for many platforms, and not all supported platforms are shipped with this wrapper. If you get a TypeLoadException, chances are that you can still use this wrapper but you will need to supply the runtime yourself.

libplctag.net's People

Contributors

timyhac avatar jkoplo avatar timcantle 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.