Professional OPC
Development Tools

logos

Issue with discovery dialog

More
02 May 2018 17:25 #6286 by support
Replied by support on topic Issue with discovery dialog
This is possibly a bug in the particular version (5.21). It affects the user interface component only.

The same thing should work well in the current version (2018.1).

Regards

Please Log in or Create an account to join the conversation.

More
02 May 2018 10:07 #6283 by wmitc2375
I am having trouble using the UAHostAndEndpointDialog version 5.21.175.1

I think the issue is, even though I am specifying port 4096 but the error indicates it was trying to use 4840. I have tried setting the port property in the UAHostAndEndpointDialog Port property using the Visual Studio property editor and directly through code but neither seem to have an affect on the actual port (4840) which is attempted to connect on.

//trying an end point descriptor string.
//UAEndpointDescriptor epd = new UAEndpointDescriptor();
//epd.EndpointUrlString = "opc.tcp://10.0.16.82:4096";
//uaHostAndEndpointDialog1.EndpointDescriptor = epd;
//trying setting directly the values instead of using parsed values.
//epd.Host = "10.0.16.82";
//epd.Port = 4096;
//trying using direct referecnes to the endpoint descriptor.
uaHostAndEndpointDialog1.EndpointDescriptor.Port = 4096;
uaHostAndEndpointDialog1.EndpointDescriptor.Host = "10.0.16.82";
 
//any of the the techniques above still give an error that the showdialog()
//is trying to use port 4840
uaHostAndEndpointDialog1.ShowDialog();

Please Log in or Create an account to join the conversation.

More
02 May 2018 10:01 #6282 by wmitc2375
I am having trouble using the UAHostAndEndpointDialog version 5.21.175.1

I think the issue is, even though I am specifying port 4096 but the error indicates it was trying to use 4840. I have tried setting the port property in the UAHostAndEndpointDialog Port property using the Visual Studio property editor and directly through code but neither seem to have an affect on the actual port (4840) which is attempted to connect on.

//trying an end point descriptor string.
//UAEndpointDescriptor epd = new UAEndpointDescriptor();
//epd.EndpointUrlString = "opc.tcp://10.0.16.82:4096";
//uaHostAndEndpointDialog1.EndpointDescriptor = epd;
//trying setting directly the values instead of using parsed values.
//epd.Host = "10.0.16.82";
//epd.Port = 4096;
//trying using direct referecnes to the endpoint descriptor.
uaHostAndEndpointDialog1.EndpointDescriptor.Port = 4096;
uaHostAndEndpointDialog1.EndpointDescriptor.Host = "10.0.16.82";
 
//any of the the techniques above still give an error that the showdialog()
//is trying to use port 4840
uaHostAndEndpointDialog1.ShowDialog();

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.173 seconds

      

 Recommend this on Google