All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Simulink and RTDM device driver
@ 2010-03-20 15:24 egemen kaleli
  2010-03-20 19:45 ` thomas.debes
  0 siblings, 1 reply; 2+ messages in thread
From: egemen kaleli @ 2010-03-20 15:24 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

Hello;
 
I developed a real-time driver with rtdm for a PCI I/O board.My next aim is to incorporate this driver into Simulink S-functions.For example, I will create a DAC,an ADC,a TIMER Simulink device driver block and these driver blocks will use my rtdm driver. How can I achieve this?Thanks for help in advance.
 
Egemen KALELİ,Gebze Institute of Technology
TURKEY
 


      

[-- Attachment #2: Type: text/html, Size: 617 bytes --]

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

* Re: [Xenomai-help] Simulink and RTDM device driver
  2010-03-20 15:24 [Xenomai-help] Simulink and RTDM device driver egemen kaleli
@ 2010-03-20 19:45 ` thomas.debes
  0 siblings, 0 replies; 2+ messages in thread
From: thomas.debes @ 2010-03-20 19:45 UTC (permalink / raw)
  To: menege1, xenomai

[-- Attachment #1: Type: text/plain, Size: 1281 bytes --]

Hi,

 

just add the calls to your driver in the corresponding mdl* callbacks in your s-function. Take care of the calling context rt/nrt. Depending on your target (e.g. simulation, generic realtime, embedded) it might be better to provide a tlc file instead of a s-function mex-file.

 

Thomas 

 

 

Von: xenomai-help-bounces@domain.hid [mailto:xenomai-help-bounces@domain.hid] Im Auftrag von egemen kaleli
Gesendet: Samstag, 20. März 2010 16:25
An: xenomai@xenomai.org
Betreff: [Xenomai-help] Simulink and RTDM device driver

 

Hello;

 

I developed a real-time driver with rtdm for a PCI I/O board.My next aim is to incorporate this driver into Simulink S-functions.For example, I will create a DAC,an ADC,a TIMER Simulink device driver block and these driver blocks will use my rtdm driver. How can I achieve this?Thanks for help in advance.

 

Egemen KALELİ,Gebze Institute of Technology

TURKEY

--------------------------------------------------------
manroland AG
Vorsitzender des Aufsichtsrates: Hanno C. Fiedler
Vorstand: Gerd Finkbeiner (Vorsitzender), Dr. Ingo Koch, Dr. Markus Rall, Paul Steidle   
Sitz der Gesellschaft: Offenbach am Main, Registergericht: Amtsgericht Offenbach HRB-Nr. 42592
USt-Ident-Nr. DE 250200933

[-- Attachment #2: Type: text/html, Size: 4934 bytes --]

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

end of thread, other threads:[~2010-03-20 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-20 15:24 [Xenomai-help] Simulink and RTDM device driver egemen kaleli
2010-03-20 19:45 ` thomas.debes

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.