Bonjour,
Dans mon logiciel je dois communiquer avec le gps interne du pda. J'utilise un port serie port com 4 et 4800 baud.
Pour récupérer les trames j'utilise :
Donnée = SerialPort1.Readline
Mais j'obtient de message d'erreur :
TimeoutException
Le délai d’attente de l’opération est dépassé.
à
System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count, Int32 timeout)
à
System.IO.Ports.SerialStream.Read(Byte[] array, Int32 offset, Int32 count)
à
System.IO.Ports.SerialPort.ReadTo(Stringvalue)
à System.IO.Ports.SerialPort.ReadLine()
à FreeWifi.MainForm.Timer2Tick(Object sender, EventArgs e)
à
System.Windows.Forms.Timer._WnProc(WM wm,Int32 wParam, Int32 lParam)
à
System.Windows.Forms,ApplicationThreadContext._InternalContextMessage(WM wm, Int32 wParam, Int32 lParam)
à
Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
à
System.Windows.Forms.Application.Run(Form fm)
à FreeWifi.MainForm.Main()
D'où cela peut venir ?
merci beaucoup