Quantcast
Viewing all articles
Browse latest Browse all 1794

Powerbuilder - by: spaxman

I am using the new Powerbuilder examples and they are helpful. However I have 2 quick questions.

1. How can I force a synchronous read on the ReadMultipleItemValues on the easydaclient
2. I have been unsuccessful in PowerBuilder using the BrowseAccessPaths method, below is a code snippet. It dose not fail but I get nothing back. I am connecting to Kepware as my opc server. When I use the other browse methods I only get the tag but I need the fully qualified tag name to pass to ReadMultipleItemValues to make my reads work. So I thought the BrowseAccessPaths would be a better option for me. Any help or suggestions would be greatly appreciated.


sting value[]
--any value[] -- I tried a any value too
try
value = g_opclabs.BrowseAccessPaths(g_serverDescriptor, l_opclabs_node)

CATCH (OLERuntimeError oleRuntimeError3)
mle_outputtext.Text = mle_outputtext.Text + "*** Failure: " + oleRuntimeError3.Description + "~r~n"
RETURN
END TRY

Viewing all articles
Browse latest Browse all 1794

Trending Articles