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.