Datalogic Star Manuel d'installation Page 85

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 128
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 127 128

Commentaires sur ces manuels

Pas de commentaire