configuration of NI DAQcard-dio24

Hi i'm trying to use NI DAQcard-dio24 with Xrtailab and RTAI. I'm following these steps in order to configure this board:

1 loading RTAI modules , kcomedilib, rtai_comedi and modprobing ni_daq_dio24 
2 inserting Daqcard
3 configuring with : comedi_config /dev/comedi0 daqcard-dio24

Everything seems ok (cat proc/comedi says that the board is configured).

Is this the right procedure?

If I configure, for example, 8 channels as input, using comedi_dio_read blocks from simulink model the result is that all input channels are at high level (1).  

Does anybody use this card? How channels are mapped by 8255 driver? 

TIA 
Alberto Sechi

Received on 2005-11-09Z14:16:52