Hello. I'm working with a NI PCI 6251 ADC board. I configured it to sample channels 6 and 7, configured as differential analog inputs, at 50 kHz with a conversion time of 2000 ns. I'm using a Xenomai kernel and the Analogy drivers, a port of comedi drivers over the Xenomai real time device driver abstraction layer.
The systems works well (I do not fully understand the properties fo the noise spectrum of the sample data, see my other email to the mailing list, but this is quite mynor) except that now and then I receive a clearly "wrong" sample from the board. I think I receive a wrong sample because I'm testing the system acquiring a simple sine wave generated from a function generator, and sometimes I obtain a sample that is clearly not where expected and I I hardly believe that the discrepancy is due to physical noise. I'm unable to identify a pattern of when those "wrong" samples appear in my output, so I do not believe the issue is due to wrong FIFO synchronization. Has someone ever observed a similar behavior? Does someone has a suggestion on how I can try to investigate it? Thanks. Cheers, -- Daniele _______________________________________________ Xenomai-help mailing list Xenomai-help@gna.org https://mail.gna.org/listinfo/xenomai-help