Installation manual
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
...