LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

testing opc across laptops

I have 2 laptops, one with vista and one with XP. Labview 7.1 is installed on both.  I have it where they are connected by a crossover ethernet cable and can read files on each computer.  I am using the example "Multiple OPC items Monitor".  I can read the NI OPC Server DEMO on my computer but can only read datasocket in the network places.  Question is how can I get labview to read the NI OPC Server Demo on the other laptop.
0 Kudos
Message 1 of 2
(2,350 Views)
Hi,

Do you have LabVIEW DSC or are you just using the Datasocket API to read from the OPC server? IF you are using LabVIEW DSC you have to create a new I/O server that point it to the OPC Server on the other Laptop. If you are using the Datasocket API, you have to change the URL of the tag from using Localhost to the IP address (or DNS name) to the other computer. In any case, the concept for reading on the other laptop is the same, except that your URL will change to reflect the IP address of your other computer.
Eli S.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,307 Views)