LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error using datasocket

Hi,
I am using datasocket with an Applicom card to communicate with a Siemens PLC. When I run the VI I get an error: -10734796672 I can find no mention of this error. Can you help?
Thanks
Tom
0 Kudos
Message 1 of 4
(2,725 Views)
take a look at the diagram , and see where the error is thrown. To do this, go to the block diagram >> turn on highlight execution >> run the VI >> watch to see where the error occurs.

If the error comes out of a sub VI, then open stop the main VI, open the sub VI, place a breakpoint on the diagram of the sub VI, return to the main VI and run the main VI again (without highlight execution on). This time the code will pause at the break point, when you can turn on highlight execution, and unpuse the code. Watch to see where the error is thrown.

Once you know where the error is thrown, you will know how to proceed. If the error comes out of a LabVIEW primative (a block diagram object with a yellow background that doesn't open when you double click on
it - like DataSocket Read in LV 7), then have an application engineer take a alook. If it comes out of a call to the Applicom card (typically through a Call Reference Node) then you know that the card is having an issue, and you can look at stuff like board configuration (in devise manager), and what parameters you need to pass to the board via the provided driver.
0 Kudos
Message 2 of 4
(2,725 Views)
I think the error you are getting is from the Applicom card. What is the actual card you are using?

Jon Bowers
Applications Engineer
NIUK
0 Kudos
Message 3 of 4
(2,725 Views)
I am using a PCI 1500PFB
When I use the URL OPC://LOCALHOST/APPLICOM.OPCSERVER.1/Card1.channel0.Equipment0 I get the error, when I change the OPC:// to dstp:// the error goes. I am trying to use datasocket to read from a Siemens S7-300 PLC. It may not be the way to go.
0 Kudos
Message 4 of 4
(2,725 Views)