Coder Social home page Coder Social logo

labjack's People

Contributors

canismarko avatar keenanlang avatar kmpeters avatar kurtgoetze avatar markrivers avatar prjemian avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

spc-group

labjack's Issues

modbus exception 2 for LJTick-DAC at startup

The LJTick-DAC register is write-only, so using a non-zero value for the pollMsec argument to drvModbusAsynConfigure results in the modbus exception 2:

# 2 additional analog outputs, setup to access LJTick-DAC occupying FIO0/FIO1
drvModbusAsynConfigure("LJT7_1_AO_2", "LJT7_1", 0, 16, 30000, 2, 8, 1, "LJT7_module")
2022/04/05 09:00:54.445 drvModbusAsyn::doModbusIO port LJT7_1_AO_2 Modbus exception=2

Changing pollMsec to zero eliminates the error.

Driver should support streaming mode

There is interest on the part of APS in being able to use the LabJack with the Vibration Monitoring System (VMS) because the Measurement Computing E-1608 has more than 12 month leadtime.

This would require adding streaming support to the EPICS LabJack driver. I have read the documentation about that, and the vendor highly recommends using their high-level LJM library for streaming mode. Streaming mode is rather complex, using non-standard Modbus features, and would probably require changes to the EPICS Modbus support.

The LJM library is free, and is available for Linux (Centos 6.7 and later), Windows, and Mac. On Linux it supports Intel 32-bit, 64-bit, ARMv6, ARMv7l (armhf), and aarch64.

It seems that changing the EPICS LabJack module to use LJM rather than raw Modbus makes sense if we want to use the more advanced features.

The measComp drvMultiFunction.cpp driver could be used as the model and starting point, since the LabJack devices are very similar: analog in, analog out, digital I/O, waveform digitizer, and waveform generator.

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.