Hello everybody, I'm looking for a cheap PCI DAQ board to do some tests with Comedi. I found that National Instruments PCI-6010 is within my budget (383euros). Anybody knows if there'll be any chance of making it work with Comedi. Otherwise do you know any multifunction board (analog and digital inputs and outputs) that could be working? Thank you in advance Alessandro Marzocchi
Allessandro Supported hardware you find at http://comedi.org/hardware.html . Because PCI-6010 is not on the list I don's think it's a good idea buy this card to test comedi.
<alessandro.marzoc...@gmail.com> wrote: > Hello everybody, > I'm looking for a cheap PCI DAQ board to do some tests with Comedi. > I found that National Instruments PCI-6010 is within my budget > (383euros). Anybody knows if there'll be any chance of making it work > with Comedi. Otherwise do you know any multifunction board (analog and > digital inputs and outputs) that could be working? Thank you in > advance > Alessandro Marzocchi
> Allessandro > Supported hardware you find at http://comedi.org/hardware.html . > Because PCI-6010 is not on the list I don's think it's a good idea buy > this card to test comedi.
> On Tue, Dec 6, 2011 at 2:02 PM, Alessandro Marzocchi > <alessandro.marzoc...@gmail.com> wrote: > > Hello everybody, > > I'm looking for a cheap PCI DAQ board to do some tests with Comedi. > > I found that National Instruments PCI-6010 is within my budget > > (383euros). Anybody knows if there'll be any chance of making it work > > with Comedi. Otherwise do you know any multifunction board (analog and > > digital inputs and outputs) that could be working? Thank you in > > advance > > Alessandro Marzocchi
> -- > You received this message because you are subscribed to the Google Groups > "Comedi: Linux Control and Measurement Device Interface" group. > To post to this group, send email to comedi_list@googlegroups.com. > To unsubscribe from this group, send email to > comedi_list+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/comedi_list?hl=en.
> I use NI PCI 6220 and 6221. Most of the functionality works OK
> Regards
> Alo
> El 6 de diciembre de 2011 16:29, Dieter Wirz <didi.w...@gmail.com> escribió:
> > Allessandro
> > Supported hardware you find athttp://comedi.org/hardware.html.
> > Because PCI-6010 is not on the list I don's think it's a good idea buy
> > this card to test comedi.
> > On Tue, Dec 6, 2011 at 2:02 PM, Alessandro Marzocchi
> > <alessandro.marzoc...@gmail.com> wrote:
> > > Hello everybody,
> > > I'm looking for a cheap PCI DAQ board to do some tests with Comedi.
> > > I found that National Instruments PCI-6010 is within my budget
> > > (383euros). Anybody knows if there'll be any chance of making it work
> > > with Comedi. Otherwise do you know any multifunction board (analog and
> > > digital inputs and outputs) that could be working? Thank you in
> > > advance
> > > Alessandro Marzocchi
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Comedi: Linux Control and Measurement Device Interface" group.
> > To post to this group, send email to comedi_list@googlegroups.com.
> > To unsubscribe from this group, send email to
> > comedi_list+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/comedi_list?hl=en.
> maybe you are doing the simultaneous analog output and and input > with 6221? > If yes, maybe you could help me how to do it?
I could not figure out how to do this. My solution was to have two DAC cards and run the analog output and input on simultaneously executing threads. NI cards do have the capability of outputting a continuous AO waveform from and on board buffer. Unfortunately the comedi interface is not done. This would be a *good thing* to implement if someone cared enough and knew how. That person is not me however :-(
I do succesive AO and AI, I don't understand what do you mean by simultaneous. I read AI and DI and then write AO and DO after some calculations on the same RT period (25 usec)
El 27 de diciembre de 2011 17:27, don taber <dta...@topaflyers.com>escribió:
> > maybe you are doing the simultaneous analog output and and input > > with 6221? > > If yes, maybe you could help me how to do it?
> I could not figure out how to do this. My solution was to have > two DAC cards and run the analog output and input on simultaneously > executing threads. NI cards do have the capability of outputting > a continuous AO waveform from and on board buffer. Unfortunately > the comedi interface is not done. This would be a *good thing* to > implement if someone cared enough and knew how. That person is not > me however :-(
> Don Taber
> -- > You received this message because you are subscribed to the Google Groups > "Comedi: Linux Control and Measurement Device Interface" group. > To post to this group, send email to comedi_list@googlegroups.com. > To unsubscribe from this group, send email to > comedi_list+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/comedi_list?hl=en.
On 6 фев, 17:00, Antonio López <alo...@fotonicalaser.com> wrote:
> I do succesive AO and AI, I don't understand what do you mean by
> simultaneous. I read AI and DI and then write AO and DO after some
> calculations on the same RT period (25 usec)
Well...
What I need is to do some experiment control in realtime, that is
1. to input data on 4-5 channels
2. to output data on one channel
Both conversions should occur "in pseudo-sync".
(Analog output_Analog input on channels1_2_3_4_5) ...(Analog
output_Analog intput on channels1_2_3_4_5)...
This should be a very common task to do, but at the moment I could not
find any corresponding C/C++ sample code.
I am only an electrophysiologist and not an IT guy :)
> El 27 de diciembre de 2011 17:27, don taber <dta...@topaflyers.com>escribió:
> > > maybe you are doing the simultaneous analog output and and input
> > > with 6221?
> > > If yes, maybe you could help me how to do it?
> > I could not figure out how to do this. My solution was to have
> > two DAC cards and run the analog output and input on simultaneously
> > executing threads. NI cards do have the capability of outputting
> > a continuous AO waveform from and on board buffer. Unfortunately
> > the comedi interface is not done. This would be a *good thing* to
> > implement if someone cared enough and knew how. That person is not
> > me however :-(
> > Don Taber
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Comedi: Linux Control and Measurement Device Interface" group.
> > To post to this group, send email to comedi_list@googlegroups.com.
> > To unsubscribe from this group, send email to
> > comedi_list+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/comedi_list?hl=en.
On Sun, Feb 12, 2012 at 12:06:30AM -0800, Vadim Alexeenko wrote: > What I need is to do some experiment control in realtime, that is
> 1. to input data on 4-5 channels > 2. to output data on one channel
> Both conversions should occur "in pseudo-sync". > (Analog output_Analog input on channels1_2_3_4_5) ...(Analog > output_Analog intput on channels1_2_3_4_5)...
> This should be a very common task to do, but at the moment I could not > find any corresponding C/C++ sample code. > I am only an electrophysiologist and not an IT guy :)
That's close to what I do on our NI PCI 6052E. For any NI-STC-based card, you can set up the AO timing so it triggers off of the AI start signal. With the same clock frequency, the two should be fairly well synchronized. I wrote up a blog post summarizing the change that introduced this capability to Comedi, which you might find informative [1]. I don't have any examples for you in C/C++, but I have examples [2] in my pycomedi [3] Python wrapper, which should run pretty close to the C equivalent. If you need help translating the example to C, let me know.
All of the above is about synchronized I/O. If you want real time control (i.e. you're changing your output signal based on the inputs), that's a whole other can of worms, of which I know very little. The basic approach will be the same, but you'll need to ensure that the output channel(s) don't run out of data in their output buffer.