Comedi_cmd hangs computer

Dear All,

I am using a measurement computing card, pci-das6034 with comedi-0.7.68 and comedilib-0.7.21 under a mandrake version of linux.

I am able to run some of the examples in the demo folder and tried comedi_data_read() to acquire analog signal with no problem.

However, i am not able to run the "cmd" example in the demo folder as my computer hangs everytime this program is run.  I have tried to narrow down the problem by commenting out some part of the cmd.c bit by bit.  The comedi_cmd_test() command runs well and prints out the appropriate parameters.  However, once i added the part with comedi_cmd() in, the program will hang.  

Does anyone have any idea what is wrong?  Or how can i troubleshoot it?

Thank you

wee

Received on 2004-10-13Z13:12:19