LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicating with LabVIEW WebService from different computer.

Hi, 

I'm trying to follow this tutorial but can't access the WebService from an other computer even though they are both connected to the same wifi. I'm also getting an error, when I try to run the program as an application. The program manages to submit two numbers, but the Labview program does not show any indication that it has actually received any values. (I've added some indicators that should be able to show the values, and this work when run in local debugging but not as application). 

 

This is my first ever attempt at creating something in LabVIEW so please don't rule out any simple mistakes.

 

This is the example i tried to follow:

https://forums.ni.com/t5/LabVIEW-Web-Development/Getting-Started-Series-Simple-JavaScript-and-HTML-w...

 

 

0 Kudos
Message 1 of 5
(2,947 Views)

Hi,

 

       Check ur script onceagain. Because i don'T see any request from Labview at all.

0 Kudos
Message 2 of 5
(2,928 Views)

Not sure if I understand. Yes this file is the original file from the example in the link, so the indicators are probably missing, and there might need to be a substitute for the URL in the JavaScript, but there should be communication between the webpage and the LabVIEW WebService after that. 

0 Kudos
Message 3 of 5
(2,925 Views)

Still, that is not the issue. The problem is the last bit in the tutorial link I added. I can't seem to be able to connect with a different computer even though it works on my original computer. I have followed the example, and everything except that works. The external computer does not have LabVIEW installed if that has something to do with it. 

0 Kudos
Message 4 of 5
(2,923 Views)

Hi,

 

     Right click on MyComputer in project and edit the IP address. May be this would help.

Unbenannt.png

0 Kudos
Message 5 of 5
(2,918 Views)