From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Web Service Error(Write Response.vi)

Hello. 

 

(I don't speak English. I wrote the following by Google Translate.)

 

I'm developing a program to communicate with webvi(NXG).

 

Use http method POST, transmit the state in webvi(or another way).

 

In LabVIEW Web Service, I would like to send a connection success message in response.

 

But, I got the -67304 error in "Write Response.vi"

 

As a result of testing through a probe, Except for "Write Response.vi", it run normally.

 

I want to get any ideas. Thank to your Attention.

Webtesterror.png

 

 

My Development environment

LabVIEW 2019 Professional Development System

NXG 5.0 Professional Development System

OS : Windows 10 pro

CPU : intel i7-7th

0 Kudos
Message 1 of 2
(1,066 Views)

Hello Jively,

 

This issue seems to be related to the Web Service Properties

  1. In the LabVIEW Project right click on the Application Web Server and select Properties.
  2. In the HTTP Method VI Settings check the Web Service VI Properties»Output Type for one of your Web Service VIs.
  3. It is possible that Stream should be selected for the Output Type.
 

rtaImage.jpg

Message 2 of 2
(986 Views)