RTXI / rtxi

Tutorials, FAQs, and more at http://rtxi.org/docs
GNU General Public License v3.0
53 stars 15 forks source link

Issue with analogy_config #34

Closed sudorook closed 10 years ago

sudorook commented 10 years ago

I'm working on a computer with the DAQ inside and the RT kernel + RTXI installed.

When I run RTXI, I get an error saying:

analogy_driver.cpp:41:AnalogyDriver::createDevice : unable to open analogy0 (err=-19).

I tracked the issue back to the rtxi_load_analogy script. The same error (err=-19) issue pops when running:

$(sudo analogy_config analogy0 analogy_ni_pcimio ${load_val})

For me, load_val=0x5, (comma included)

I don't know how to interpret lspci output, so I haven't gotten much farther. Based on this GitHub page, the error is thrown when something goes wrong on the line that calls a4l_sys_open(devfile), where devfile I think refers to analogy0.

Do you know what's going on here? If it helps, this is my lspci output for my DAQ:

05:00.0 Signal processing controller: National Instruments PXIe-4353
    Subsystem: National Instruments Device 7427
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 10
    Region 0: Memory at f7d00000 (32-bit, non-prefetchable) [size=256K]
    Capabilities: <access denied>
yapatel commented 10 years ago

The X-series DAQ cards are not supported, yet. The new NI cards use a different register configuration and require rewriting the driver set. A new driver is currently in the works to handle these new DAQ cards.