contact
support
Download
order
news
AGG Software Forums
November 08, 2024, 05:04:26 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome on our forum!
Home
Help
Search
Login
Register
AGG Software Forums
>
Online Help Center
>
Data loggers and plug-ins
>
Parser module -> Getting the request string
Pages: [
1
]
« previous
next »
Print
Author
Topic: Parser module -> Getting the request string (Read 21623 times)
cesou
Newbie
Karma: +0/-0
Posts: 2
Parser module -> Getting the request string
«
on:
April 08, 2009, 01:04:34 PM »
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?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Parser module -> Getting the request string
«
Reply #1 on:
April 08, 2009, 01:32:13 PM »
Are both scales attached to one port? Please, post an example of your data.
Logged
cesou
Newbie
Karma: +0/-0
Posts: 2
Re: Parser module -> Getting the request string
«
Reply #2 on:
April 08, 2009, 02:43:13 PM »
Both devices are connected on the same port.
Query Requests:
to device with ID1: >0
1
hC9#0D
to device with ID0: >0
0
hC8#0D
See attached screenshot.
screenshot.pdf
(15.24 KB - downloaded 2 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Parser module -> Getting the request string
«
Reply #3 on:
April 08, 2009, 04:10:37 PM »
I'm sorry, but because the response doesn't contain the Device ID, our software can't parse it. The parser can't also use a data from requests. We can develop a custom parser module (for an additional cost) that will export data with device ID.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
News & Feedbacks
-----------------------------
=> News and Updates
=> Site Comments
-----------------------------
Online Help Center
-----------------------------
=> Advanced Serial Port Monitor
=> Data loggers and plug-ins
=> Data loggers ActiveX
=> Advanced USB Port Monitor
=> Virtual Null Modem
=> Software for DNC and CNC
=> Other questions
-----------------------------
Development
-----------------------------
=> Feature Requests
Loading...