ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

DAQmx: Improve IOC #5386

Open DominicOram opened 4 years ago

DominicOram commented 4 years ago

As a developer I would like the DAQmx IOC to be maintainable. It currently has a number of major issues:

Note this could be starting the driver from scratch implementing only the things we require or could be a gradual rewrite.

Acceptance Criteria

FreddieAkeroyd commented 4 years ago

Would we try and keep compatibility with DAQmxBase in case we ever went to Linux?

DominicOram commented 4 years ago

TBD, the other thing to take into account is if we only implement the features we want and throw the rest of the codebase away then the EPICS community has effectively lost support for the rest

KathrynBaker commented 4 years ago

NI-DAQmx Base hasn't been updated since 2015, there are versions there for both Linux and Windows using NI-DAQmx Base. Only NI-DAQmx is being actively updated from what is visible on the website and was updated in 2019.

There are some NI instructions at http://www.ni.com/tutorial/5409/en/ which might help if we do rewrite it.

NI-DAQmx Base was originally being used in relation to Linux, https://www.ni.com/en-gb/support/documentation/supplemental/18/daqmx-for-desktop-linux-tools.html might have more useful information.

There is a python wrapper for the C API for DAQmx, which might also be helpful if it provides a suitable encapsulation of the two functions: https://nidaqmx-python.readthedocs.io/en/latest/

If we want to maintain Linux compatibility it might be worth reaching out to our NI account manager to ask about non-production options that might be available, although there may be caveats in relation to that.