epics-modules / labjack Goto Github PK
View Code? Open in Web Editor NEWEPICS support for LabJack I/O modules
EPICS support for LabJack I/O modules
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.