Datalogic Star Instalační manuál Strana 85

  • 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 84
BASE STATION OBJECT
75
6
6.2 METHODS
METHOD ALIVE
PURPOSE
Calls a base station.
DESCRIPTION
This method calls a base station to know if it is alive or not. When sending an alive
command to a base station present and operating in the network, it will answer with a
particular string. This command is totally asynchronous and managed through a
secondary thread which causes the STAR-Link™ ActiveX to answer with an event
called AliveEvent containing the base station string information.
If the Alive command is not right, the control sends an error event.
IDL
[id(21), helpstring("method Alive")] HRESULT Alive();
INPUT PARAMETERS
None
OUTPUT VALUE
None
POSSIBLE VALUES
None
EXAMPLE
...
Dim SatObject as Sat
...
‘Asking if base station is Alive
Set SatObject = RFNCCTL.Satellites.Satellite(1500)
SatObject.Alive
...
‘ Alive Event Handler
Private Sub RFNCCTL_AliveEvent(ByVal SatID As Integer, ByVal
Info As String)
MsgBox Info, vbExclamation, "Satellite : " & CStr(SatID)
End Sub
Zobrazit stránku 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 127 128

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

Žádné komentáře