...
Java Runtime Environment v7.0 minimum (>32 bits32 bits - currently 64bits version is not supported)
We recommand to add the path for java file in the environment variable (for example : exe: C:\Program Files (x86)\Java\jre
)
...
For both types of cabins, you indicate the IP address of the RFID reader.
To remotely control standalone SW from your own app, ensure that 'Connect in background when launched' is selected in 'Settings Window'
Operation Settings
...
RFID Settings
...
There is a Connect button to initialize the connection between the software and the hardware. Then, you can start the reading process by clicking on start processing and stop it by clicking on stop processing.
More information about Messages Published
Upon successful connection :
...
Code Block |
---|
INFO:CONNECTING:192.168.13.241/192.168.13.240
INFO:CONNECTED
INFO:IDLE
INFO:ACTIVATING
INFO:READY |
Upon connection error:
...
Code Block |
---|
INFO:CONNECTING:192.168.13.241/192.168.13.249
ERROR:HARDWARE_CONNECTION |
Please note that SW will automatically attempt to reconnect until hardware is reachable again.
Upon connection loss :
...
Code Block |
---|
ERROR:HARDWARE_CONNECTION
INFO:CONNECTING:192.168.13.241/192.168.13.249 |
Please note that SW will automatically attempt to reconnect until hardware is reachable again.
After starting a cycle by sending 'S\r\n' over serial or ethernet :
...
Code Block |
---|
INFO:PROCESSING
INFO:READING_STARTED:
ITEM_READ:2017-09-19T17:42:41.341+0200:3034E2861C39380445AF54DB
ITEM_READ:2017-09-19T17:42:41.371+0200:3034E2861C39380445AF54BD
ITEM_READ:2017-09-19T17:42:41.451+0200:3034E2861C39380445AFCAFE
ITEM_READ:2017-09-19T17:42:41.793+0200:3034E2861C39380445AFBEEF
ITEM_READ:2017-09-19T17:42:42.141+0200:3034E2861C39380445AFDEAD
INFO:READING_COMPLETED::5
INFO:READY |
When obstacle is detected by proximity sensors :
...
Before operating doors, Standalone SW will check for obstacles.
When an obstacle is detected, the following message is sent
Code Block |
---|
WARNING:OBSTACLE_DETECTED:FRONT |
Standalone SW will wait until the obstacle is removed then continue the ongoing read cycle and send the following message
Code Block |
---|
WARNING:OBSTACLE_REMOVED:FRONT |
When doors fail to open/close :
...
If proximity sensors do not detect any obstacle, but still doors fail to open/close, standalone SW will send the following message.
Code Block |
---|
ERROR:DOOR_OPERATION_TIMEOUT:FRONT |
In such a case, any ongoing read operation is aborted.
Questions and Answers
Q1 : HID Standalone Application sends messages mostly ended by '\r\n', but sometimes 1 message comes without this ending, so it can be considered like incomplete message. In other words : Standalone Application may send messages in 2 steps, first it sends for example 'INFO:PROCESSING' and than '\r\n', so I receive this separately in two readings
A1 : yes messages may be fragmented. The algorithm must accumulate all the characters received, even if they are in several fragments, until the crlf is received. At this point, it parses said buffer.
Q2 : What time format is exactly used for message: ITEM_READ:2020-10-11T14:37:10.182+0200:300ED89F3350007FE26FAB89? I'm applying DateTime.TryParse method.
A2 : you must keep only the "2017-10-11T14: 37: 10.182 + 0200". It gives date, time to millisecond and time zone. We do not know if it can be split all at once in java.
Q3 : If I newly connect to Standalone Application, how can I get the current state of cabin (if Standalone Application is connected to cabin and prepared to read). So I don't know if I can send 'S\r\n' to start reading of tags.
A3 :
If your host software communicates on TCP socket, the socket is only opened by standalone application only if the cabin is connected. So if it can connect it is good
if your software communicates in serial RS232 method 3.1 does not work.
in both cases you send the S character to see if the cabin responds or not (certainly with the drawback of launching a cycle for nothing)
there is no other method for querying the standalone on the condition of the cabin.