- From: <MATTKOCH_at_prodigy.net>
- Date: Wed, 19 Jun 2002 15:55:55 -0500
Hi there:
I am a brandnew Comedi user. I just installed it last night and
got it to communicate with my National Instruments AT-MI-16XE-10
card, after setting up the resources with isapnp. It seems to
work nicely with ./inp and ./outp, too, although I noticed some
difficulty with ./outp. I believe that might have to do with the
following.
I noticed that ./info gives apparently slightly incorrect
results. The above card is also known as 6030E, for which
National instruments specifies the following information, which
deviates from the ./info output:
Analog Output:
1) FIFO size 2048 samples (vs. unknown from ./info)
2) Resolution 16 bit or 65536 (vs. 12 bit or 4095 from ./info)
3) Range [-10,10] & [0,10] (vs. [-10,10] from ./info)
I found the location in ni_atmio.c where I could change item 1)
and item 2), but I am not sure about item 3). Would the fix to
the first two items really be as simple as changing the "aobits"
from 12 to 16 and the "ao_fifo_depth" from 0 to 2048 in the
"ni_boards" array? Where would I fix the third item?
static ni_board ni_boards[]={
...
{ device_id: 50,
name: "at-mio-16xe-10",
n_adchan: 16,
adbits: 16,
ai_fifo_depth: 512,
alwaysdither: 1, /* unknown */
gainlkup: ai_gain_14,
ai_speed: 10000,
n_aochan: 2,
aobits: 12,
ao_fifo_depth: 0, /* unknown */
ao_unipolar: 0, /* unknown */
caldac: {dac8800,dac8043,ad8522},
has_8255: 0,
},
}
Any and all advice would be much appreciated. By the way, I am
really happy someone has assumed the task of making DAQ available
under Linux, and at least at first sight, Comedi appears to be
doing a nice job.
Thanks and Regards,
Matt Koch
Received on 2002-06-19Z19:55:55