- From: bml <bml22_at_cornell.edu>
- Date: Thu, 08 Aug 2002 20:42:46 -0400
Dominik- I've succesfully hacked the driver to respond to the external REQ0 pin on the pcidio32hs card. All you have to do is change the command setup to allow for external timers (scan_begin_src = TRIG_EXT; scan_begin_arg = 0;) and change ni_pdidio_cmdtest() to allow for TRIG_EXT. I did have a bit of trouble getting this to work with DMA enabled on the first go, so you may want to consider disabling DMA until you are confident that your code is working correctly. --brent Dominik Kuhlen wrote: > On Wednesday 07 August 2002 19:02, you wrote: > > On Wed, Aug 07, 2002 at 03:33:43PM +0000, Dominik Kuhlen wrote: > > > Hello > > > > > > I'd like to use pattern I/O transfer with the NI6533. > > > i.e. : Using the REQ1 as clock (internally generated) > > > and reading 16-Bit (A0-B7) digital values. > > > The ni_pcidio.c sourcecode tells me that this should > > > work, but it doesn't. The read() call works but no clock > > > is generated. > > > > I assume you mean that you don't see the clock on an > > external pin. You will need to hack the driver to do > > this, since it was never added. > Yes, that is the situation. I read the DAQ-DIO tech. ref. manual > but I can't figure out what's missing, because the ni_pcidio_cmd > function does exactly what the manual says in chapter 4. > Is there some kind of "hidden" bit that enables REQ1 pin as clock ? > I thought this is done by writing 4 to ReqReg. > Or do I lack the right documentation? > > I tried the example that I found in the DIO 6533 Register-Level > programmer Manual about burst handshaking transfer, and this works > (i.e. I can see a clocksignal on the pclk pin) > > Do you (does anybody) know how to solve this, or do I have to > contact NI for further information. > > Thank you > Dominik > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
Received on 2002-08-08Z23:42:46