Author Topic: Screen synchronization problem and locks up  (Read 2370 times)

chemtech

  • Newbie
  • *
  • Posts: 4
    • View Profile
Screen synchronization problem and locks up
« on: June 26, 2007, 03:16:58 pm »
Hi,

I developed an application using RF SDK 5.0, but I am having screen synchronization problem.

Analyzing the log, I noticed that sometimes the server receives a buffer from the client and, after sending the next screen, it receives the same buffer again. I think the client probably sends the same buffer again because it did not receives a confirmation of receiving from server.

After receiving the same buffer again, the next buffer received is the one that should have been sent before. When it happens, the screen displayed is always ?one step ahead?, comparing to the buffer, and the solution is to reboot the client.

I tried to use the RFReset method to clean client?s buffer before displaying a new screen, but after that, client regularly "locks up".

Thanks in advance,
Gustavo

leet

  • Administrator
  • Hero Member
  • *****
  • Posts: 244
    • View Profile
    • http://www.intellitrack.net
Re: Screen synchronization problem and locks up
« Reply #1 on: July 12, 2007, 07:16:42 am »
It could be an issue with your display screen function.  Typically we do something like this at the top of DisplayScreen:
Code: [Select]
    Me.RFSApplication1.RFClearScreen

    Me.RFSApplication1.RFInitializeScreen

    Me.RFSApplication1.RFCursorOff
followed by a select case for calling the current screen, then at the bottom of displayscreen:
Code: [Select]
    If Buffer = "" Then

            Me.RFSApplication1.RFDisplay

            Me.RFSApplication1.RFEdit

        End If

    Buffer = ""

    Exit Sub
Lee Tibbett
IntelliTrack