News:

Welcome on our forum!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - cesou

#1
Both devices are connected on the same port.

Query Requests:
to device with ID1: >01hC9#0D
to device with ID0: >00hC8#0D

See attached screenshot.
#2
I'm currently trying out the Advanced Serial Logger to get the weight of 2 dump scales through a RS485 connection.
I've set up the data query so it alternates its request between the 2 devices.
The program gives me after every request the correct weight.

Now I want to write the results to a database but when I write the result message, I also want to know from wich device it came.
The ID of the device is kept in the request string and NOT in the result string.

Is there any way that I can parse the request string/query (regular expressions?) so I can save it along with the result message?