Skip to content
  • Spencer E. Olson's avatar
    ba932fcf
    staging: comedi: ni_routing: Add NI signal routing info · ba932fcf
    Spencer E. Olson authored
    
    
    See README for a thorough discussion of this content.
    
    Adds tables of all register values for routing various signals to various
    terminals on National Instruments hardware.  This information is directly
    compared to and taken from register-level programming documentation and/or
    register-level programming examples as provided by National Instruments.
    
    Furthermore, this information was mostly compared (favorably) to the
    register values already used in the comedi drivers for NI hardware.
    
    Adds tables of valid routes for many devices.  This information is not
    consistent from device to device, nor entirely consistent within device
    families.  One additional major challenge is that this information does not
    seem to be obtainable in any programmatic fashion, neither through the
    proprietary NIDAQmx(-base) c-libraries, nor with register level
    programming, _nor_ through any documentation.  In fact, the only consistent
    source of this information is through the proprietary NI-MAX software,
    which currently only runs on Windows platforms.  A further challenge is
    that this information cannot be exported from NI-MAX, except by screenshot.
    
    The collection and maintenance of this information is somewhat tedious and
    requires frequent re-examination and comparison of NI-MAX and/or the
    NI-MHDDK documentation (register programming information) and NI-MHDDK
    examples.  Tools are added with this patch to facilitate generating CSV
    files from the data tables.  These CSV files can be used with a spreadsheet
    program to provide better visual comparision with screenshots gathered from
    NI-MAX.  Tools are also added to regenerate the data tables from CSV
    content--this greatly enhances updating data tables with large changes
    (such as when adding devices).
    
    Signed-off-by: default avatarSpencer E. Olson <olsonse@umich.edu>
    Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    ba932fcf
    staging: comedi: ni_routing: Add NI signal routing info
    Spencer E. Olson authored
    
    
    See README for a thorough discussion of this content.
    
    Adds tables of all register values for routing various signals to various
    terminals on National Instruments hardware.  This information is directly
    compared to and taken from register-level programming documentation and/or
    register-level programming examples as provided by National Instruments.
    
    Furthermore, this information was mostly compared (favorably) to the
    register values already used in the comedi drivers for NI hardware.
    
    Adds tables of valid routes for many devices.  This information is not
    consistent from device to device, nor entirely consistent within device
    families.  One additional major challenge is that this information does not
    seem to be obtainable in any programmatic fashion, neither through the
    proprietary NIDAQmx(-base) c-libraries, nor with register level
    programming, _nor_ through any documentation.  In fact, the only consistent
    source of this information is through the proprietary NI-MAX software,
    which currently only runs on Windows platforms.  A further challenge is
    that this information cannot be exported from NI-MAX, except by screenshot.
    
    The collection and maintenance of this information is somewhat tedious and
    requires frequent re-examination and comparison of NI-MAX and/or the
    NI-MHDDK documentation (register programming information) and NI-MHDDK
    examples.  Tools are added with this patch to facilitate generating CSV
    files from the data tables.  These CSV files can be used with a spreadsheet
    program to provide better visual comparision with screenshots gathered from
    NI-MAX.  Tools are also added to regenerate the data tables from CSV
    content--this greatly enhances updating data tables with large changes
    (such as when adding devices).
    
    Signed-off-by: default avatarSpencer E. Olson <olsonse@umich.edu>
    Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading