contact
support
Download
order
news
AGG Software Forums
November 27, 2024, 10:08:38 AM
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
>
Advanced Serial Port Monitor
>
Parsing data and output to a OPC item dependent upon a field value
Pages: [
1
]
« previous
next »
Print
Author
Topic: Parsing data and output to a OPC item dependent upon a field value (Read 24806 times)
jeremy
Newbie
Karma: +0/-0
Posts: 2
Parsing data and output to a OPC item dependent upon a field value
«
on:
January 23, 2020, 02:00:00 PM »
Hi I have a data string of the format
$header, value of interest, item code <cr><lf>
the item code denotes which item I want to assign the value to in an opc server e.g if the item code 1 the value is fuel used, if it is 2 the value corresponds to distance travelled, if it is 3 the value corresponds to wind speed. All messsage headers are the same.
What is the easiest way of doing this?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Parsing data and output to a OPC item dependent upon a field value
«
Reply #1 on:
June 14, 2012, 08:25:33 AM »
1. Extract items VALUE and CODE using the ASCII Data Parser
2. Copy VALUE to a new item (with necessary name) using a small script in the the Script Execute plugin.
Logged
jeremy
Newbie
Karma: +0/-0
Posts: 2
Re: Parsing data and output to a OPC item dependent upon a field value
«
Reply #2 on:
June 14, 2012, 09:28:37 AM »
Thank you for your help.
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...