Hanwha NVRs are capable of displaying POS data.
This is not in the form of an overlay, but as text in the Event tab:
To test this you can use a POS emulator such as Com Port Data Emulator, you can download it here:
https://downloads.hanwhavision.eu:5004/sharing/zMcjD1euh
This will take the text from a text file and display it on the NVR.
Firstly create the text file and input some data into it. Ensure you have clear start and stop signifiers in the text e.g start and stop or even something like 000 and ***, you will input this into the NVR configuration to let the NVR know the start and stop points of the data. This text will not be displayed on the NVR.
Example text file:
On the NVR configure the text channel with the start and stop parameters:
The test channel is linked to a camera, the text will be associated with this camera channel and when the camera is shown on the layout, the text will be displayed. Also when a text search is performed on the NVR, the camera stream will be linked to the text data.
Install the Com Port Emulator on a PC and open the application.
Enter the IP and port details for the NVR, note the default POS data ports on the NVR start from 7001, but you can use a custom port number too.
Then seelct the text files created earlier as the input:
Click on start and you should see the text appear in the Event tab.
Also while the text data is being received, a T will appear in the upper RHS od the camera channel:
You can also do a Text search on the NVR
It is also possible to send data in hex to the NVR
You can do this via a PowerShell script:
$Text = "hello world"
$Bytes = [System.Text.Encoding]::ASCII.GetBytes($Text)
$Packet = ,0x02 + $Bytes + ,0x03 # prepend 0x02, append 0x03
$Client = New-Object System.Net.Sockets.TcpClient("NVR_IP", NVR_PORT)
$Stream = $Client.GetStream()
$Stream.Write($Packet, 0, $Packet.Length)
$Stream.Close()
$Client.Close()Note in the script you need to enter in the correct IP and text port for the NVR e.g
On the NVR, you need to configure the text channel source as hex and use the correct start, 0x02 and stop, 0x03 fields:
This can also be done via the Linux command:
echo -ne "\x02 "this is a test" \x03" | nc 192.168.1.200 3002Where the text to be sent is contained in the double quotes
Hex code is displayed in the same way on the NVR as Text :
Comments
0 comments
Article is closed for comments.