StarPlatina

howdy.

I can not speak english well. :)

I was develope PDA Progrmming. (C# beginner)

I make SerialPort and receive GPS Data.

So , I want set delay at receive GPS Data.

Now don't set delay. So, reciving GPS data 1second 2~3 times.

I want to set Delay, control GPS data receive term.

i try to window.form.timer. but can not slove.

how can i set delay redefine SerialDataReceivedEventHandler

I don't know redefine EventHandler. ;;

Help me.

Have a Good Time. :)



Re: Visual C# General how to set timer at SerialPort.DataReceived.

micvos

You can't set the delay from your program. If the GPS sends data the eventhandler will fire. Somehow you'll have the configer your gps receiver to give information at a slower rate or you must ignore most events and just pick one event to handle every now and then.




Re: Visual C# General how to set timer at SerialPort.DataReceived.

StarPlatina

Thanks micvos

I will try edit gps receiver. :)

good day.