Technical discussion about Matlab and issues related to Digital Signal Processing.
|
Hi. I have developed a device driver (as an s function block) to commuincate with a PCI board and in the RTWT(real time windows target) enviroment. My driver works fine under windows 98. However, when I try to build my model in windows 2000 it is producing Illegal instruction detected error and segmentation error. I am able to create my mex file successfully (mex myfile.c). I think there might be some incompatibilty issues using inp() and outp() functions in windows 2000. I would really appreciate if any one could help me with this problem. Regards Dro Ghazarian |
|
|
|
win2000 does not allow direct user access to the parallel port by the inp and outp functions. there are several tricks to get around this. i recommend taking a look at http://www.lvr.com/parport.htm . there are some freeware/shareware programs that allow you to the same thing in 2000 as 98. navin ================================================== Hi. I have developed a device driver (as an s function block) to commuincate with a PCI board and in the RTWT(real time windows target) enviroment. My driver works fine under windows 98. However, when I try to build my model in windows 2000 it is producing Illegal instruction detected error and segmentation error. I am able to create my mex file successfully (mex myfile.c). I think there might be some incompatibilty issues using inp() and outp() functions in windows 2000. I would really appreciate if any one could help me with this problem. Regards Dro Ghazarian --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003 |