I am beating my head against the wall on a problem that I cant seem to overcome.
I am developing a Console app, and I added a Property to App for UDPSend1 as UDPSend. I also added the UDPSocket module to the App as well, and renamed it to UDPSend. I also have a UDPRecieve and its declared as UDPRecieve1 as a property, because its running with localhost on 2 different ports to prevent collisions.
In the App.Run, I have this:
UDPSend1 = New UDPSend
UDPReceive1 = New UDPReceive
Then I setup the ports, and connect them. They work perfectly fine. From there.
Now, if I go into another Method subroutine, thats where I run into problems.
I tried UDPSend1.Write, I tried App.UDPSend1.Write, I keep getting There is more than one item with this name and its not clear to which one it refers.
I also am using a Serial port, as Serial1 and I bet that I am going to run into the same problem with that one next, even though its not complaining… Yet…
I cant seem to get around that issue. Any thoughts?