NI PCI-6713 signed vs unsigned bug

Hi,

We are testing our NI PCI-6713 board and it seems that the data is send as 
signed instead of unsigned numbers to the card.

for example:
outp -s 1 -c 0 2047  ==> gives +10V
outp -s 1 -c 0 2048  ==>  gives  -10V
outp -s 1 -c 0 0        ==> gives 0 V

We tried to trace it where this conversion could have failed (we don't 
experience it with our other NI boards, same kernel module), but got a bit 
lost in the ioctl calls.

Could you provide any hint where it might have failed ? Personally i think an 
(unsigned int) cast is missing somewhere.

thanks a lot,
Peter

Received on 2002-07-05Z12:01:40