PDA

View Full Version : slowing down serial port read



fguihen
January 30th, 2004, 03:17 AM
i have a creative labs remote and reciever hooked to my serial port and i have wrote a program in c# to read in codes recieved. when i step through my program, i can recieve signals correctly, but when it runs at its normal speed, i cant recieve anything. i suspect the line that reads in is going to fast. can i speed up or slow down anything to correct this?

Mark F
January 30th, 2004, 04:27 AM
Try changing the timeouts for reading and writing. See the documentation for SetCommTimeouts().