passing string in Parameter list

nmk

Member
Join Date
Dec 2002
Posts
38
i wanted to create a small project using parameter List using an example listed in the factorytalk view manual.
in the display list selector properties under states: parameter list option I typed:
Display Canning/T{Corn_Name}, {Corn_Temp} where Canning is the display name and Corn_Name is an HMI string tag and Corn_Temp is an HMI analog tag then in the Canning display I have a string display object and a numeric display object. The string " corn" always displayed as ?????? while the numeric is displayed with the correct value of the tag. I used the same tags using parameter file and I get the correct values. am I listing the parameter list tags with correct syntax for the string?
Thanks
 
Passing String to parameter List

in the parameter file we use for example #1=Corn_Name, in parameter list what goes in the connection tab for the object like string display?
 
Passing String to parameter list

I already tried {#1} in the string display and did not work. Where do you define that {#1} is linked to which of the parameters in the parameter list that listed in the states of the display selector object? how does the software know which parameter goes with which {#1}, {#2},...ect?
 
I already tried {#1} in the string display and did not work. Where do you define that {#1} is linked to which of the parameters in the parameter list that listed in the states of the display selector object? how does the software know which parameter goes with which {#1}, {#2},...ect?
The order. The first element on the list is #1, the second one is #2, and so on.

image1.png image2.png
 
Passing Sting to Parameter List

Thank you all for replying, I already got it working last friday. The one thing that was wrong asside from the order of the tags in the parameter List was that I typed:
Display Canning/Ttag1, tag2, tag3,....
when I removed the words "Display Canning/T" and it worked every time for numeric and string. Tha reason I removed these words because with each state I was opening already the Canning display
Thank you all
 

Similar Topics

Is there a way I can pass a string with spaces in the parameter file? I want to do something like this: #1=Water Makeup
Replies
6
Views
14,759
I'm using FactoryTalk ME version 13. I'm aware how to pass a parameter file once, but I was wondering if it is possible to do it twice...
Replies
4
Views
157
I inherited a project in which a ME application displays process measurements (temp, pressure, flow, etc) on a PanelView Plus display. The data...
Replies
4
Views
496
My first real attempt at utilising the AOI function in Compactlogix. The issue I'm having is, I have an array of INT[400], but in my AOI I'm only...
Replies
1
Views
456
Hi guys. Sorry for the dumb question but I am still new. I have learned to pass Parameters using an HMI tag so far. Can I write directly to the...
Replies
1
Views
920
Back
Top Bottom