Skip to contentSkip to conversation

Porting comedi drivers to the analogy layer

Xenomai-help Julien Delange 2 participants 2 messages Apr 1, 2011 – Apr 11, 2011

lore
Share & tools
lore
#0 lore raw

Dear all,

I'm currently using Xenomai with the analogy drivers for one card. It works perfectly and I am able to interface real-time apps with my national instrument card. However, the card I had until now (PCI-6071E) is supported by both the analogy layer of Xenomai and comedi. Now, I would like to use another national instrument card : the PCI-6704. Unfortunately, it seems not supported by the analogy layer even if the comedi driver supports it. So, I am wondering if porting the driver from comedi to the analogy layer would require a significant development effort and if there was similar initiative (potential port that were not backported to the trunk of Xenomai).

Thanks for any comment/suggestion,

Best regards,

#1 lore raw

Hi,

Sorry for answering late.

Quoted 9 lines · Julien Delange

Dear all,

I'm currently using Xenomai with the analogy drivers for one card. It works perfectly and I am able to interface real-time apps with my national instrument card. However, the card I had until now (PCI-6071E) is supported by both the analogy layer of Xenomai and comedi. Now, I would like to use another national instrument card :
the PCI-6704. Unfortunately, it seems not supported by the analogy layer even if the comedi driver supports it.

Indeed, the code for this driver is located in ni_670x.c in the linux/staging tree.

Quoted 3 lines

So, I am wondering if
porting the driver from comedi to the analogy layer would require a significant development effort

The size of the source code seems limited (~400 lines) and it seems there is no asynchronous functionalities (no cmd only instructions); so, I think that this port should not be too difficult. It should only be literal translation of the Comedi functions calls into the analogy ones.

Quoted 3 lines

and if there was similar initiative
(potential port that were not backported to the trunk of Xenomai).

I was not informed of any port for this driver.

Quoted 8 lines

Thanks for any comment/suggestion,

Best regards,

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
Alexis.