Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!tut.cis.ohio-state.edu!quanta.eng.ohio-state.edu!rcgl1.eng.ohio-state.edu!CRAIG From: CRAIG@rcgl1.eng.ohio-state.edu (Craig A. Foster) Newsgroups: comp.lang.c Subject: IMPLEMENTING INTERRUPT GENERATION USING C Message-ID: <5683@quanta.eng.ohio-state.edu> Date: 30 Aug 90 17:52:49 GMT Sender: news@quanta.eng.ohio-state.edu Organization: Ohio State University Lines: 22 Nntp-Posting-Host: eng.ohio-state.edu I am planning to implement digital control on a gear tester, using a PC, XT, or AT. I want to sample using interrupt generation. To implement the interrupt, I will have to program the timer to output pulses separated by a period equal to the desired sampling rate, send the pulses to the controller, which will interrupt the CPU at every pulse to perform my sampling subroutine. I have been told that the best way to do this would be to program in C. The problem is that I have never done interrupt generation, and I have never used C. I've figured that this problem has already been solved by a EE with an interest in controls, or someone with a similar background. If you fit this bill, or know someone who does, I would greatly appreciate a couple of pointers from you or them. Thank You Craig Foster Robinson Lab, 1007 292-0910 291-7030 email:craig@rcgl1.eng.ohio-state.edu or "rcgl1::craig"@eng.ohio-state.edu