EN card reader polling network: Unterschied zwischen den Versionen

Aus Autopoll-Dokumentation
Zur Navigation springen Zur Suche springen
Oehlstoeter (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „{{Vorlage:InArbeit|work in progress}} {{Vorlage:TOCright}} ==Preamble== In den Anfängen von Autopoll und generell war es in der Vergangenheit physikalisch nur…“
 
Oehlstoeter (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{Vorlage:InArbeit|work in progress}}
{{Vorlage:TOCright}}
{{Vorlage:TOCright}}
==Preamble==
==Preamble==
In den Anfängen von Autopoll und generell war es in der Vergangenheit physikalisch nur möglich einen Tankautmaten über ein Kabel bzw. Modem angeschlossen an eine körperliche, serielle Schnittstelle des Computers an Autopoll anzubinden. Dieser direkte Anschluss machte es zu dieser Zeit unmöglich, dass ein anderer Computer den Tankautomaten abrufen konnte, weil ein Computer nicht die körperlichen, seriellen Schnittstellen des anderen Computers erreichen konnte.  
In the beginning of Autopoll and general in the past it was only possible to connect physically one card reader with a cable or a modem to the physical serial interface of one computer. This direct connection makes it impossible, at this time, to poll this card reader with another computer, because one computer could not get in touch with the physical serial interface of another computer.  


Um diesem Umstand Rechnung zu tragen, wurde im Autopoll in den Tankautomaten Parametern eine Client-Nummer eingestellt.  
To meet these restrictions the field client number was implemented in the Autopoll card reader parameters.


[[Datei:TACLIENT_1.PNG||350px]]
[[Datei:polling_20.png||350px]]


Parallel dazu bekam jede Autopoll Client Installation in einer Autopoll Netzwerkversion in der Konfigurationsdatei "APVx.INI" auch eine Client-Nummer zugewiesen.  
Parallel to the above mentioned Autopoll card reader client number, each Autopoll client installation in an Autopoll network installation gets in the configuration file "APVx.INI" a separate client number.


[[Datei:Inst_NW_3.PNG||350px]]
[[Datei:Inst_NW_3.PNG||350px]]


Soll in einer Autopoll Netzwerkinstallation ein Tankautomat abgerufen werden, werden diese beiden Client-Nummern verglichen. Sind diese ungleich kann diese Autopoll Client Installation den Tankautomaten nicht abrufen. D.h. im Abruffenster sind im linken Bereich keine Tankautomaten auswählbar. Mittlerweile gibt es neue, moderne Anbindungsmöglichkeiten wie z.B. Comportserver, die es nun ermöglichen auch in einer Autopoll-Netzwerkinstallation einen Tankautomaten von jeder Autopoll Client Installation aus abzurufen.
If a card reader in an Autopoll network installation shall be polled, these two client numbers (card reader client number and APVx.INI client number) are being compared. If the client numbers are not equal, then this Autopoll client installation can not poll the card reader. That means in the polling window no card reader is visible and selectable on the left side.  
 
In the meantime the communication, computer and card reader technologies developed so that with modern, actual communication devices like a comportserver or modern, actual card readers, like a Hecstar, it is possible that every Autopoll client installation can be connected to a card reader.
 
But in Autopoll both client numbers still exist and are being checked in an Autopolll network installation.
 


==Pre-conditions==
==Pre-conditions==
* Während der Autopoll Netzwerk Installation '''MUSS''' jede Autopoll Client Installation in der Konfigurationsdatei "APVx.INI" eine andere Client-Nummer erhalten. siehe auch [[Aktionspläne_Scheduler|Aktionspläne/Scheduler]]
* During an Autopoll network installation every Autopoll client installation has to get a different client number in the Autopoll configuration file "APVx.INI". See also [[EN_actionplan_scheduler|actionplan - scheduler]]


[[Datei:Inst_NW_3.PNG||350px]]
[[Datei:Inst_NW_3.PNG||350px]]


==Preparations==
==Preparations==
Der Kunde muss für jede Autopoll Client Installation die folgenden beiden Fragen beantworten. Nur wenn beide Fragen mit JA beantwortet wurden, sollte der Abruf des/der Tankautomaten eingestellt werden.  
The customer has to answer for every Autopoll client installation the following two questions. Only when both answers are YES the polling of card readers in an Autopoll network installation should be configured like explained further below.


* Soll/darf der Autopoll Benutzer auf dieser Autopoll Client Installation den/die Tankautomaten abrufen ? (organisatorische Entscheidung)
* Shall the Autopoll user on that Autopoll client installation be able to poll the card reader/s ? (organisational decision)


* Kann diese Autopoll Client Installation physikalisch, technisch den Tankautomaten abrufen ? (infrastrukturelle, technische Entscheidung)
* Can this Autopoll client installation physically and technically poll the card reader/s ? (infrastructural and technical decision)


Ist die Entscheidung für die folgenden Einstellungen getroffen worden, ist noch zu beachten, dass diese Einstellungen dann für alle Tankautomaten gültig sind. D.h. entweder es kann '''KEIN''' Tankautomat, weil die beiden Client-Nummern ungleich sind, oder es können '''ALLE''' Tankautomaten abgerufen werden.  
If the decision for the following setting is being made, then the setting is valid for all card readers. That means that '''NO''' card reader/s can be polled because the client numbers are not equal or that '''ALL''' card reader/s can be polled.  


==Settings==
==Settings==
* Autopoll auf dieser Autopoll Client Installation schließen.
* Close Autopoll on this Autopoll client installation.
* Die Autopoll Konfigurationsdatei "APVx.INI" öffnen.
* Open the Autopoll configuration file "APVx.INI".
* Zwischen Client und Database "SUPERCLIENT=Y" einfügen.
* Add the row "SUPERCLIENT=Y" between client= and database=.
* Speichern und Autopoll starten. Jetzt sollten im Abruffenster alle Tankautomaten auswählbar sein.
* Save the file and open Autopoll. Now '''ALL''' card readers should be visible and selectable in the polling wnidow.


[[Datei:INISUPERCLIENT.PNG||350px]]
[[Datei:INISUPERCLIENT.PNG||350px]]
==Examples of use==
===Example 1===
In an Autopoll network installation there are three client instalations which shall only poll there own local card readers.
{|class="wikitable"
| '''Autopoll installation'''
| align=left |'''Autopoll CR Client Number'''||'''APVx.INI Client Number'''||'''SUPERCLIENT=Y in APVx.INI'''
|-
| Client 1 and CR 1
| align=left |1||1||no
|-
| Client 2 and CR 2
| align=left |2||2||no
|-
| Client 3 and CR 3
| align=left |3||3||no
|}
===Example 2===
In an Autopoll network installation there are four client installations. The first three clients shall only poll there own local card readers. The fourth client can and shall poll all card readers at night.
{|class="wikitable"
| '''Autopoll installation'''
| align=left |'''Autopoll CR Client Number'''||'''APVx.INI Client Number'''||'''SUPERCLIENT=Y in APVx.INI'''
|-
| Client 1 and CR 1
| align=left |1||1||no
|-
| Client 2 and CR 2
| align=left |2||2||no
|-
| Client 3 and CR 3
| align=left |3||3||no
|-
| Client 4 and no CR
| align=left |-||4||yes
|}


[[Kategorie:EN_Tankautomat]][[Kategorie:EN_Netzwerk]][[Kategorie:EN_Abruf]]
[[Kategorie:EN_Tankautomat]][[Kategorie:EN_Netzwerk]][[Kategorie:EN_Abruf]]

Aktuelle Version vom 8. April 2021, 06:25 Uhr

Preamble

In the beginning of Autopoll and general in the past it was only possible to connect physically one card reader with a cable or a modem to the physical serial interface of one computer. This direct connection makes it impossible, at this time, to poll this card reader with another computer, because one computer could not get in touch with the physical serial interface of another computer.

To meet these restrictions the field client number was implemented in the Autopoll card reader parameters.

Parallel to the above mentioned Autopoll card reader client number, each Autopoll client installation in an Autopoll network installation gets in the configuration file "APVx.INI" a separate client number.

If a card reader in an Autopoll network installation shall be polled, these two client numbers (card reader client number and APVx.INI client number) are being compared. If the client numbers are not equal, then this Autopoll client installation can not poll the card reader. That means in the polling window no card reader is visible and selectable on the left side.

In the meantime the communication, computer and card reader technologies developed so that with modern, actual communication devices like a comportserver or modern, actual card readers, like a Hecstar, it is possible that every Autopoll client installation can be connected to a card reader.

But in Autopoll both client numbers still exist and are being checked in an Autopolll network installation.


Pre-conditions

  • During an Autopoll network installation every Autopoll client installation has to get a different client number in the Autopoll configuration file "APVx.INI". See also actionplan - scheduler


Preparations

The customer has to answer for every Autopoll client installation the following two questions. Only when both answers are YES the polling of card readers in an Autopoll network installation should be configured like explained further below.

  • Shall the Autopoll user on that Autopoll client installation be able to poll the card reader/s ? (organisational decision)
  • Can this Autopoll client installation physically and technically poll the card reader/s ? (infrastructural and technical decision)

If the decision for the following setting is being made, then the setting is valid for all card readers. That means that NO card reader/s can be polled because the client numbers are not equal or that ALL card reader/s can be polled.

Settings

  • Close Autopoll on this Autopoll client installation.
  • Open the Autopoll configuration file "APVx.INI".
  • Add the row "SUPERCLIENT=Y" between client= and database=.
  • Save the file and open Autopoll. Now ALL card readers should be visible and selectable in the polling wnidow.


Examples of use

Example 1

In an Autopoll network installation there are three client instalations which shall only poll there own local card readers.

Autopoll installation Autopoll CR Client Number APVx.INI Client Number SUPERCLIENT=Y in APVx.INI
Client 1 and CR 1 1 1 no
Client 2 and CR 2 2 2 no
Client 3 and CR 3 3 3 no


Example 2

In an Autopoll network installation there are four client installations. The first three clients shall only poll there own local card readers. The fourth client can and shall poll all card readers at night.

Autopoll installation Autopoll CR Client Number APVx.INI Client Number SUPERCLIENT=Y in APVx.INI
Client 1 and CR 1 1 1 no
Client 2 and CR 2 2 2 no
Client 3 and CR 3 3 3 no
Client 4 and no CR - 4 yes