LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Web service to provide communication channel

My goal:  to provide a communications channel to my cRIO target.   If I were doing this without web services, I would have chosen to use the STM library and designed a cluster of an enum to represent the command and a variant to carry the data.  Since I am using web services instead, my first approach would be to use the GET method with a URL that looks something like http://mytld.com/params?cmd="set"&dio=0.  This doesn't seem like the RESTful way of doing it, however.  I ask for two things in this post.

 

  1. Can you comment on the RESTful way of sending a command without using the URL mapping method which is too simple for my long-term objective?
  2. Can you suggest any example applications on the web?  There seems to be very few resources available to support this area of LV presently.

 

0 Kudos
Message 1 of 3
(2,747 Views)

Apart fromt he URL mapping method, what other methods are you referring to?

 

I found a great community example linked at Setting up SSL for Web Services in LabVIEW 2009. It walks through connecting LabVIEW using the standard RESTful web services.

 

It is also recommended that you read Web Services in LabVIEW.

 

Could you provide some info on the extra functionality you're looking for?

Aashish M
CEO
TransferFi
www.transferfi.com
0 Kudos
Message 2 of 3
(2,726 Views)
I assumed that there was another method similar to the approach when the CGI VIs are used.  I was boxed into that thinking and should not have been.
0 Kudos
Message 3 of 3
(2,677 Views)