Hi all,
I'm trying to populate a STRING with ASCII characters from an SINT array. My COP command is setup in the following fashion:
COP(BAR_CODE_SCANNER:I.ResultData[0],Bar_code,10)
What I need is the first 10 bytes from the BAR_CODE_SCANNER:I.ResultData array to be copied into the Bar_code string so that I can keep track of it in some kind of a table. Also I want this table to be displayed on PanelView 1000+ HMI.
Any tips will be appreciated.
I'm trying to populate a STRING with ASCII characters from an SINT array. My COP command is setup in the following fashion:
COP(BAR_CODE_SCANNER:I.ResultData[0],Bar_code,10)
What I need is the first 10 bytes from the BAR_CODE_SCANNER:I.ResultData array to be copied into the Bar_code string so that I can keep track of it in some kind of a table. Also I want this table to be displayed on PanelView 1000+ HMI.
Any tips will be appreciated.