init_setup() failed for 6713

Hi All,

I am having problems calibrating the 6713, and get the following error message

comedilib-0.7.21]# /usr/bin/comedi_calibrate --file /dev/comedi0 --driver-name 
ni_pcimio --device-name PCI-6713
init_setup() failed for PCI-6713

There are 2 cards on my system, 6024E and 6713.
I configured the 6713 in /dev/comedi0 and 6024E in /dev/comedi1.
./info works correctly for both cards when assignined the respective file 
names.

The problem is that the 6713 is not getting calibrated. I am not able to 
figure out why I get the init_setup() failed for PCI-6713.

I have been working on this for quite some time, but not able to figure out a 
solution. On the CRO I can visibly see that for a given value, the 6024Es DAC0 
gives 4V, but the 6713 output stays at 130mv.

its around line 186 of comedi_calibrate.c 
retval = this_board->init_setup( &setup, devicename );
           if( retval < 0 ){
                   fprintf(stderr, "init_setup() failed for %s\n", devicename 
);
                   return 1;
           }

Any clue will be of great help...

Thanks,
Smita.

Received on 2003-10-04Z14:37:02