- From: Stienen, A.H.A. (CTW) <"Stienen,>
- Date: Wed, 05 Apr 2006 16:21:28 +0200
Hi Camino, You're asking this questin on the wrong mailing list. This is a RTAI/XRTAILAB issue and should be dealt with on the RTAI mailing list. I'll anwser you there. Kind regards, Arno Stienen. janne wrote: > Hello people, > > I want to use the COMEDI_DIO_READ block in Simulink to read the encoder > values from a NI 6602. > Everything up and running ( RTAI blocks in simulink, generating the > test-model and running it in RTAI). > Also I've used the encoder-card in "normal" rtai programs, which is > configured during "run-time" of those > applications. When using a model created in Simulink, I assume I have > to do this same configuration > when running > > comedi_config /dev/comediX <driver> > .. ? > > If I run the model without any specific configuration, I get an error > saying that Comedi lock subdevice fails > (error -38). > > Question is, how to configure the card for encoding by calling > comedi_config? > > Also, one important thing. When the model opens the device, the name is > garbage, as in: > /dev/comedi0 opened <#$%#$%#$>, is this okay? > > > regards, > Camino -- ____ / |_| <<< IR. ARNO H.A. STIENEN >>> |_ O | Biomechanical Engineering | http://www.bw.ctw.utwente.nl |_|__/ a.h.a.stienen_at_utwente.nl | +31-(0)53-489-4778 UTwente "There are alternatives: Firefox, Thunderbird & OpenOffice!"
Received on 2006-04-05Z13:21:28