Schneider Automation Modicon Quantum Ethernet Guia do Utilizador Página 81

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 105
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 80
Ethernet Developers Guide
840 USE 115 00 Version 1.0
71
B.8 Timers
CSample_View re
q
uires to periodicall
y
receive a timer messa
g
e. This messa
g
e
tri
gg
ers the CSample_View to transmit a messa
g
e. Since window timers are a
limited resource, the window associated with CMainFrame class receives the timer
messa
g
es. CMainFrame member AddTimerList function will place a window on its
timer list. When CMainFrame processes the WM_TIMER messa
g
e, it sends each
window on its time list the user defined WM_POLL_INTERVAL messa
g
e.
MFC calls CSample_View member OnInitalUpdate function when it is first bein
g
created. OnInitialUpdate calls CMainFrameís AddTimerList in order to receive the
WM_POLL_INTERVAL messa
g
e. MFC architectural framework calls
CSample_View OnPollInterval member function to process this messa
g
e.
B.9 Transaction Processing
CSample_View transaction processin
g
consists of establishin
g
a connection,
transmittin
g
the re
q
uest, receivin
g
the response, and displa
y
in
g
the response.
CSample_View uses both a transmit and a receive state machine to advance a
transaction.
Vista de página 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 104 105

Comentários a estes Manuais

Sem comentários