LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service VI Only Writes In Debug Mode

I have a RT project that uses a webservice to communicate with a cRIO. When I run this program as startup and publish the web service, all of my getters work (get_time, get_values, etc), but none of my setters work (set_values, set_time). However, when I start a debug server for the web service, all of the setters start working.

I do want to clarify that all of the subVIs work to my knowledge, it just seems like either the values aren't actually being sent through the parameters in the setters, or something outside the web service isn't properly writing

I have tried:

  • Enabling/disabling debugging on the setter VIs
  • Changing a setter to use POST instead of GET (returns a 404 not found)
  • Rebuilding, redeploying, cleaning, and rerunning as startup
  • Changing the http port
  • Disabling my firewall
  • Making sure the cRIO has the right software (Real-Time, Network variable Engine, Application Web-Server, Watchdog, Run-Time Engine, Variable Client Support for LabVIEW RT, WebDAV Server)
  • Making sure the cRIO's time matched my time
  • Using curl -v to see if it was actually making the request
    * Request completely sent off
    < HTTP/1.1 200 OK
    < Keep-Alive: timeout=60, max=199
    < Content-Length: 1
    < Content-Type: text/plain; charset=utf-8
    < Cache-Control: no-cache
    < Server: Embedthis-http
    < Connection: Keep-Alive
    < Date: Tue, 02 Jun 2026 14:18:11 GMT

I have attached the project below.

0 Kudos
Message 1 of 1
(46 Views)