MathLink and Serial Ports
- To: mathgroup at smc.vnet.net
- Subject: [mg35489] MathLink and Serial Ports
- From: "Mark T. Gordon" <mgordo76 at calvin.edu>
- Date: Tue, 16 Jul 2002 04:49:51 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I'm not sure how to categorize my problem so I guess I'll just describe it. I have a program in Visual C++ that I am using via MathLink. It gets data from the serial port, basically as fast as it can (approx. once every second), and retuns it to Mathematica. The problem is that it will run fine for a while (over 20 minutes), but then, seemingly randomly, it will take about 6 minutes to get the next reading. That reading will also come back incorrect. What exactly is happing is that I'm getting a temperature from a MELCOR temperature controller. It gets readings around 83 degrees Celcius or so (about one per second) and then it will pause for about 6 minutes and return 528.24 degrees Celcius. Any help would be greatly appreciated. mgordo76 at calvin.edu