[ANNOUNCE] comedilib 0.12.0

22 views
Skip to first unread message

Ian Abbott

unread,
Aug 11, 2020, 10:14:11 AM8/11/20
to Comedi: Linux Control and Measurement Device Interface
comedilib-0.12.0 is now available for download from the comedi.org
web-site, and also from GitHub.

comedilib-0.12.0 released 2020-08-11.

Download: http://www.comedi.org/download/comedilib-0.12.0.tar.gz
or:
https://github.com/Linux-Comedi/comedilib/releases/download/r0_12_0/comedilib-0.12.0.tar.gz

sha1sum:
bfd730ad2a84b8a4d62d9ac04972462602054555 *comedilib-0.12.0.tar.gz

sha256sum:
522aa7101cedbeb0b89f69722d0b170f4ad63287a8691782909df4e8e310f073
*comedilib-0.12.0.tar.gz

*Highlights since version 0.11.0*

[ See https://github.com/Linux-Comedi/comedilib/releases/tag/r0_12_0 for
Markdown-formatted release notes ]

Added some wrapper functions for device-global routing capabilities:

* comedi_get_routes - obtain list of all possible device-globally named
routes.
* comedi_test_route - validate and test device-global route.
* comedi_connect_route - connect device-global route.
* comedi_disconnect_route - disconnect device-global route.

Added another wrapper function for querying timing constraints:

* comedi_get_cmd_timing_constraints - get the timing constraints for a
streaming subdevice.

The above functions use facilities added to the version of Comedi in the
Linux kernel sources. The facilities were added in Linux kernel version
4.20. The device-global route support uses a new instruction type
INSN_DEVICE_CONFIG with sub-types INSN_DEVICE_CONFIG_GET_ROUTES,
INSN_DEVICE_CONFIG_TEST_ROUTE, INSN_DEVICE_CONFIG_CONNECT_ROUTE, and
INSN_DEVICE_CONFIG_DISCONNECT_ROUTE. The command timing constraints
support uses INSN_CONFIG instruction sub-type
INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS. At the time of release (up to
Linux kernel version 5.7), they are supported by the drivers for various
National Instruments boards. The timing constraints functionality is
also supported by the "comedi_test" driver. They are not currently
supported by the "out-of-tree" comedi.org Comedi drivers.

The contents of the "demo/python/" and "demo/perl/" have been added to
the released TAR file. They were probably omitted from previous
releases due to an oversight. The Python demos have been updated for
Python 3 compatibility.

A compilation error has been corrected:

Error: invalid attempt to declare external version name as default in
symbol `comedi_internal_trigger@@v0.9.0'

The "Kernel drivers" section of the manual now includes separate
sub-sections for the set of drivers included in the Linux kernel
sources, and the original Comedi drivers from comedi.org.

There have been various other minor improvements and bug fixes.


Enjoy! And apologies for the long wait since the previous release.

--
-=( Ian Abbott <abb...@mev.co.uk> || Web: www.mev.co.uk )=-
-=( MEV Ltd. is a company registered in England & Wales. )=-
-=( Registered number: 02862268. Registered address: )=-
-=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-
Reply all
Reply to author
Forward
0 new messages