I have a small application where i want to use a numeric input to change the tags for another numeric input i am referring to dynamically. I am trying to do this with the VB that is in FactoryTalk but i am getting errors however i try it.
The Code below seems like it should work but i get a compile error stating "Wrong number of arguments or invalid property assignment"
Private Sub NumericInput1_Change()
Tag = "{::[SLC5054]N216:" & NumericInput1.Value & "}"
NumericInput2.TagName = Tag
End Sub
does anyone know the correct syntax or another way to do this?
The Code below seems like it should work but i get a compile error stating "Wrong number of arguments or invalid property assignment"
Private Sub NumericInput1_Change()
Tag = "{::[SLC5054]N216:" & NumericInput1.Value & "}"
NumericInput2.TagName = Tag
End Sub
does anyone know the correct syntax or another way to do this?