LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview and FTP

Hello,

we have a project in which we are using LabVIEW Web service. This service exposes several web methods which works fine. However one method still returns some errors. This web method behaves like this:

  • it is call from the production plant station
  • web method process the parameters and at the end it opens the FTP channel and download an XML file from the station which called it
  • process (asynchronously) the XML file and close the FTP channel

And here starts the trouble.

 

FTP Close Session.vi returns this error:

 

Error 1 occurred at TCP Write in NI_FTP.lvlib:FTP Command.vi:5860003->NI_FTP.lvlib:FTP [QUIT].vi:60002->NI_FTP.lvlib:FTP Close Session.vi:830001->ProcessResultsFile.vi->ProcessResultsFile.vi.ACBRProxyCaller.F3C00010; ; Possible reason(s):; LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. TCP Write in NI_FTP.lvlib:FTP Command.vi:5860003->NI_FTP.lvlib:FTP [QUIT].vi:60002->NI_FTP.lvlib:FTP Close Session.vi:830001->ProcessResultsFile.vi->ProcessResultsFile.vi.ACBRProxyCaller.F3C00010

 

Even more. After this error message we can see in out error log another (probably related) error message:

 

Error -67304 occurred at NI_WebServices.lvlib:Error Converter (ErrCode or Status).vi; ; Possible reason(s):; LabVIEW:  (Hex 0xFFFEF918) LabVIEW Web Services: Function not available for service VIs configured for output terminal mode.; Complete call chain:;      NI_WebServices.lvlib:Error Converter (ErrCode or Status).vi;      NI_WebServices.lvlib:Web Request.lvclass:Write Response.vi;      SendResponse.vi;      AgwTraceability.vi;      AgwTraceability.vi.ProxyCaller NI_WebServices.lvlib:Error Converter (ErrCode or Status).vi<APPEND>

<b>Complete call chain:</b>
     NI_WebServices.lvlib:Error Converter (ErrCode or Status).vi
     NI_WebServices.lvlib:Web Request.lvclass:Write Response.vi
     SendResponse.vi
     AgwTraceability.vi
     AgwTraceability.vi.ProxyCaller

 

If anybody could advise, would be realy appreciated!

 

Thanks,

Lukas

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

hi, i wonder if you already fix your isue?

0 Kudos
Message 2 of 2
(2,424 Views)