Re: DAQCard-1200 status

Frank Mori Hess wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Tuesday 19 November 2002 11:36 am, Fredik Lingvall wrote:
>  
>
>>(Is there a PDF-hardware manual available somewhere?)
>>    
>>
>
>Yes, you can get a register level programming manual from NI's website.
>
>  
>
>>What I get here is timeout errors, that is i=timeout. The timeout
>>is set to 1000. Why is the timeout 1000? Is it derived from something
>>like bus clock etc. I noticed that the same timeout is used in the
>>    
>>
>
>It is just supposed to loop long enough for a conversion to complete (about 
>10 microseconds).  If things are working correctly, it should never timeout.
>
>- -- 
>Frank
>
>  
>
AD-conversion:

I checked the loop counter and when the AD conversion works correctly it
loops about 4 to 5 times  -  so a timout = 1000 should be more than enough.
When timeouts starts to be generated I usually don't get any correct 
readings
(a timeout seems to block the ADC). I have checked the overrun and overflow
flags but they are OK.

DA-conversion:

The range on the outputs seems to be OK but the actual voltage on the
DAC0 and DAC1 are totally random (within the range). That is, the output
voltage, whan I call  comedi_data_write, has a random value in the
interval [0,10v] and [-5v,5v] respectively. I have checked the code in 
the driver
(ni_labpc.c) and compared with the instructions in the register programming
manual and I can't find anything wrong in the code. Adding delays don't 
help.
I will try to find a Win2k machine to see if it is a hardware problem, 
otherwise
I have no idea how to fix the problem.

Fredrik

Received on 2002-11-20Z13:11:42