Visual Basic DDE POKE problem to UDT CLX 5000

smcmanus

Member
Join Date
Jan 2006
Location
Vancouver
Posts
109
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.
 
First thought is that comma might need to be a period...

MYNEWTAG[0],L3 .... MYNEWTAG[0].L3
 

Similar Topics

Dear experts, I am want to program RS view32 with help of Microsoft visual basic (visual basic editor). But how to start I don't know,please...
Replies
10
Views
2,377
help How do I create Bidirectional Activex Connection Arrows? As per attached photo. How to Create RightoLeft Property in Visual Basic - Activex?
Replies
3
Views
1,656
I'm just trying to load from a text file into a string. I don't get why this doesn't work. Function LoadFile(FileName As String) As String()...
Replies
0
Views
1,548
Hello, Im trying to learn how to use VBA with factorytalk view so i can later design displays using tags from PLCs and im having some trouble...
Replies
2
Views
3,796
Hello there, world! The problem i'm facing up is about a registry I need to do in order to compare the set point versus the real variable I got...
Replies
2
Views
1,580
Back
Top Bottom