Datalogic Star Manuel d'installation Page 45

  • 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 44
MAIN CONTROL OBJECT
35
3
METHOD SETLOSTFRAMEBEHAVIOUR
PURPOSE
Sets the parameters managing the lost frames.
Even if data frames are numbered, they might be sent to the host PC in a wrong
order due to roaming (see chapter 4 in STARGATE™ installation manual for more
details about the RF system). One of the main tasks of STAR-Link™ is to sort frames
so that they are correctly sent to the application program.
Example
STAR-Link™ waits for the frame number 5 from the RF device with address 1. If the
frame number 6 is received before the frame number 5, the former is buffered and
not sent to the application program. Once the frame number 5 is received, it is sent in
the correct order to the application program together with frame number 6.
In case the base reset or the power going down accidentally causes the frame
number 5 loss, STAR-Link™ keeps on waiting for the lost frame while buffering the
other frames and stopping to send data from the device 1 to the application.
Thanks to the TimeNotify property it is possible to define a time after which the
network manager DLL starts a procedure making sure that frame 5 is not present in
any base station considering it as a lost frame.
When the missing frame is not found, the LostFrameEvent is raised. Then, using the
LostFrame method it is possible to define if sending the buffered frames to the
application or deleting them.
When the RF system is unattended and there is no user defining its behaviour in
case of lost frames, two parameters are provided to program the system.
The SendToPC parameter allows sending buffered frames to the PC or deleting
them; while the TimeGoingOn parameter allows setting a timeout after which the
system behaviour defined by the SendToPC parameter is automatically forced.
DESCRIPTION
SendtoPC: it is the default behaviour when one or more frame losses have occurred.
If it is set to TRUE and it has not received an answer within the TimeGoingOn time,
the base station frames following the lost one are sent to the container. On the other
hand, by setting the method to FALSE, the frames are deleted.
TimeNotify: it is the time (given in minutes) after which STAR-Link™ starts a
procedure making sure that one or more frames are lost. It starts counting from the
last frame sent from the RF device to the container. Default and suggested value is
1. Possible values: bigger than 0.
TimeGoingOn: it is the timeout (given in minutes) set to wait for the user's answer
before applying the sendtoPC defined behaviour. If TimeGoingOn is 0, STAR-Link™
keeps on waiting. If there has been a frame loss, the host network data managing will
hang on.
Vue de la page 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 127 128

Commentaires sur ces manuels

Pas de commentaire