Skip to contentSkip to conversation

DAQ SYSTEM COMPATIBILITY

Xenomai-help Antoine Nourry 3 participants 5 messages Jun 22, 2008 – Jun 23, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,
i need to buy an USB DAQ system and use it with Xenomai. I have an eye on the National Instruments USB 6218 which is provided with linux drivers. How can we now if an hardware will be usable with Xenomai ? Do we need the driver sources in order to be able to rewrite it for real time purposes ?

Thanks,
Antoine

#1 lore raw

Hi,

Quoted 6 lines

i need to buy an USB DAQ system and use it with Xenomai. I have an eye on the National Instruments USB 6218 which is provided with linux drivers. How can we now if an hardware will be usable with Xenomai ?
Do we need
the driver sources in order to be able to rewrite it for real time purposes ?

A nice way would be to recover the Linux driver and make it work with Comedi (which is a kind of framework for acquisition drivers, an RTDM port is available).

Do you have the driver sources ? Just to see how it works...

To fully comply with real-time constraints, maybe usb20rt might be necessary...

Best regards.

Alexis.

#2 lore raw
Quoted 9 lines · Alexis Berlemont

Hi,

Quoted 6 lines

i need to buy an USB DAQ system and use it with Xenomai. I have an eye on the National Instruments USB 6218 which is provided with linux drivers. How can we now if an hardware will be usable with Xenomai ?
Do we need
the driver sources in order to be able to rewrite it for real time purposes ?

Quoted 8 lines

A nice way would be to recover the Linux driver and make it work with Comedi (which is a kind of framework for acquisition drivers, an RTDM port is available).

Do you have the driver sources ? Just to see how it works...

To fully comply with real-time constraints, maybe usb20rt might be necessary...

Another thing to keep in mind when using USB, is that USB microframes/frames are only sent each 125 us/1 ms which gives a limit to how fast a control loop can possibly be closed over USB (8kHz/1kHz, which is way below what can achieved with USB if only data acquisition is needed).

Best regards

Anders Blomdell

Signature · 5 lines
Anders Blomdell                  Email: [email protected]
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden
#3 lore raw

Re: [Xenomai-help] Daq System Compatibility

In reply to Alexis Berlemont
Quoted 11 lines · Alexis Berlemont

Hi,

Quoted 5 lines

i need to buy an USB DAQ system and use it with Xenomai. I have an eye
on the National Instruments USB 6218 which is provided with linux drivers.
How can we know if an hardware will be usable with Xenomai ? Do we need the driver sources in order to be able to rewrite it for real time purposes ?

A nice way would be to recover the Linux driver and make it work with Comedi (which is a kind of framework for acquisition drivers, an RTDM port is available).

Quoted 11 lines

Do you have the driver sources ? Just to see how it works...

To fully comply with real-time constraints, maybe usb20rt might be necessary...

Best regards.

Alexis.

First of all, thank you for your answer.

I would appreciate to make it this way. The problem is that i don't know if NI give its sources (i'm downloading an ISO from their site...), and i can't afford to buy a system i won't be able to use. Generally speaking, what do we need to make a DAQ system work on a real-time linux solution ?

Do we absolutely need the native driver sources or can we find the necessary answers for making a new real-time driver in documentation and hardware specifications ?

Anyway, it seems to be a harsh task to write a new driver according to many comments.

#4 lore raw

Re: [Xenomai-help] Daq System Compatibility

Hi,

Quoted 3 lines

Do we absolutely need the native driver sources or can we find the necessary answers for making a new real-time driver in documentation and hardware specifications ?

It depends on the size of the documentation and the accuracy of its details ;) I had a quick look at NI web site, I only found a global datasheet.

Quoted 2 lines

Anyway, it seems to be a harsh task to write a new driver according to many comments.

Comedi is supposed to make this task easier.

Best regards.

Alexis.