All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] DAQ SYSTEM COMPATIBILITY
@ 2008-06-22 12:42 Antoine Nourry
  2008-06-22 22:31 ` Alexis Berlemont
  0 siblings, 1 reply; 8+ messages in thread
From: Antoine Nourry @ 2008-06-22 12:42 UTC (permalink / raw)
  To: xenomai

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



^ permalink raw reply	[flat|nested] 8+ messages in thread
* [Xenomai-help] Daq System Compatibility
@ 2008-06-26  9:22 nourry
  2008-06-26 21:42 ` Alexis Berlemont
  0 siblings, 1 reply; 8+ messages in thread
From: nourry @ 2008-06-26  9:22 UTC (permalink / raw)
  To: xenomai

Hi,

> That seems to be an example showing how to use the driver. That will not help
> us to write the driver. The hardware access are abstracted / encapsulated by
> DAQmx functions.


Alex, do you think this sample looks more like a driver ?
It comes from NI Development Kit and i saw on NI forum that someone was
developing a driver from that sources for a PCI card in order to make it work
under Xenomai. He had some problems but he seems to manage to initialize the
card and program interrupts.

//

//  common.cpp

//

//  $DateTime: 2006/07/27 23:51:45 $

//

#include "common.h"


void analogTriggerReset (tMSeries* board)

{

    board->Analog_Trigger_Etc.setAnalog_Trigger_Reset(1);

   
board->Analog_Trigger_Etc.setAnalog_Trigger_Mode(tMSeries::tAnalog_Trigger_Etc::kAnalog_Trigger_ModeLow_Window);

    board->Analog_Trigger_Etc.flush();



   
board->Analog_Trigger_Control.setAnalog_Trigger_Select(tMSeries::tAnalog_Trigger_Control::kAnalog_Trigger_SelectGround);

    board->Analog_Trigger_Control.flush();



    board->Gen_PWM[0].writeRegister(0);

    board->Gen_PWM[1].writeRegister(0);



   
board->Analog_Trigger_Etc.setAnalog_Trigger_Enable(tMSeries::tAnalog_Trigger_Etc::kAnalog_Trigger_EnableDisabled);

    board->Analog_Trigger_Etc.flush();



    return;

}


Thank you,
Antoine


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [Xenomai-help] Daq System Compatibility
@ 2008-06-30  9:09 nourry
  0 siblings, 0 replies; 8+ messages in thread
From: nourry @ 2008-06-30  9:09 UTC (permalink / raw)
  To: xenomai

Hi,
here is the URL :

http://forums.ni.com/ni/board/message?board.id=90&message.id=815&query.id=104393#M815


> Would you mind sending the URL of the post on that forum?

> Thanks in advance.

> Alexis

Bye.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-06-30  9:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-22 12:42 [Xenomai-help] DAQ SYSTEM COMPATIBILITY Antoine Nourry
2008-06-22 22:31 ` Alexis Berlemont
2008-06-23  8:11   ` Anders Blomdell
2008-06-23 10:23   ` [Xenomai-help] Daq System Compatibility Antoine Nourry
2008-06-23 22:52     ` Alexis Berlemont
  -- strict thread matches above, loose matches on Subject: below --
2008-06-26  9:22 nourry
2008-06-26 21:42 ` Alexis Berlemont
2008-06-30  9:09 nourry

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.