09-25-2016 04:38 PM
This is one for the NI developers, or perhaps the help documentation folks. I've noticed it before, but never got around to formally questioning it.
The help for the "close" VIs in the LabVIEWSMTPClient, LabVIEWHTTPClient, and NI_FTP project libraries states that they have "standard error in" functionality, in contrast to most of the "close" primitives for TCP, UDP, BT, DS, and even the "close" VI in the NI_WebDAV library, which states that they perform their function even in the presence of an incoming error. This seems inconsistent. Do those protocol libraries skip the usual close/dispose mechanisms if "error in" is true, or is the documentation incorrect?
Dave
Solved! Go to Solution.
09-26-2016 02:44 PM
Hi David,
Just to confirm, are you talking about this extra statement below?
This node runs normally even if an error occurred before this node runs.
Thanks,
09-26-2016 02:59 PM
The documentation is incorrect...all three of those Close VIs (SMTP, HTTP, and FTP) properly dispose of resources regardless of the value of the error in terminal.
Jonathan, please file a documentation CAR on this issue.
09-26-2016 07:04 PM