Hi. I am having trouble writing to an address in Control Logix using Visual Basic if it is inside a UDT tag. For example if I create a new tag "MYNEWTAG" of type MYUDT.
MYUDT
{
VALUE1(dint)
VALUE2(dint)
VALUE3(dint)
}
Here is my VB syntax:
txtPokebox.LinkItem = "MYNEWTAG[0],L3"
txtPokebox.LinkMode = 2
txtPokebox.LinkPoke
I can get to work if it is not inside a UDT.
MYUDT
{
VALUE1(dint)
VALUE2(dint)
VALUE3(dint)
}
Here is my VB syntax:
txtPokebox.LinkItem = "MYNEWTAG[0],L3"
txtPokebox.LinkMode = 2
txtPokebox.LinkPoke
I can get to work if it is not inside a UDT.