Datalogic Star Instalační manuál Strana 52

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 128
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 51
STAR-LINK™
42
3
EVENT LOSTFRAMEEVENT
PURPOSE
Device lost frame.
DESCRIPTION
This event will be sent from the control to the application when the PC notices that at
least one frame of a device has been lost. See SetLostFrameBehaviour method on
page 34 for details.
IDL
[id(7), helpstring("method LostFrameEvent")] HRESULT LostFrameEvent(short DevID,
long NumLostFrame)
INPUT PARAMETERS
None
OUTPUT VALUE
DevID as short with the ID of the device which has lost a frame
NumLostFrame as long representing the number of lost frames
EXAMPLE
...
Private Sub RFNCCTL_LostFrameEvent(ByVal DevID As Integer,
ByVal NumLostFrame As Long)
On Error Resume Next
Dim StrMsg as String
StrMsg = “Lost Frame on Device : “ & CStr(DevID) & _
Chr$(10)
StrMsg = StrMsg & “Lost frame number : “ & CStr(Frame)
MsgBox & , vbExclamation
End Sub
...
Zobrazit stránku 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 127 128

Komentáře k této Příručce

Žádné komentáře