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?
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.
Thank you for your help.