09-09-2026 09:25 AM
Hello Team,I am new to LabVIEW, and I am building a VI that handles label printing via a Bartender API integration.Whenever I run the VI, it crashes with a "no memory to perform the operation" error, followed by an HTTP buffer error.It seems like the buffer is filling up or a reference is staying open in memory. How can I properly flush the HTTP buffer and free up memory between print jobs?Any advice or best practices would be greatly appreciated. Thanks!
09-11-2026 01:36 AM
I also got the "no memory" error from time to time, but always due to some wrong input parameters - in any case never using HTTP vi's. Can you speciify what parameters you are using? Also, in which state do you get this error?
09-11-2026 04:23 AM
One of your messages shows a timeout. I guess since you are manually formatting your JSON, the message is malformed. Try again with JSONtext library. It'll save you a lot of headaches in the future.
09-12-2026 10:58 AM
@Basjong53 wrote:
One of your messages shows a timeout. I guess since you are manually formatting your JSON, the message is malformed. Try again with JSONtext library. It'll save you a lot of headaches in the future.
The obvious thing is that it is doing a lot of roundabout work to create the JSON body. And this method includes tabs in the JSON output, which according to the JSON standard should be legit whitespace but nevertheless is superfluous.
This
could be easily replaced:with:
Of course using the JSONtext library from Dr. James Powell is actually an even better solution.
09-16-2026 02:19 AM
Hi,
I just changed some modification still im getting this error
LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001<APPEND><b>Complete call chain:</b> LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001 JSON_Print.vi main vi2.vi
09-16-2026 04:15 AM
@Naveenok96 wrote:
Hi,
I just changed some modification still im getting this error
LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001<APPEND><b>Complete call chain:</b> LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001 JSON_Print.vi main vi2.vi
That is not an error, that is just the call chain.
You need to read the error information and the number.
My bet is that you url is not correct, or that the PC you test your code on does not have access to the server/system that tries to connect to.
You need to make some debug of your code.
Find out if all your inputs to the POST vi has the correct values.
09-16-2026 12:23 PM
@dkfire wrote:
@Naveenok96 wrote:
Hi,
I just changed some modification still im getting this error
LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001<APPEND><b>Complete call chain:</b> LabVIEWHTTPClient.lvlib:POSTBuffer.vi:6120001 JSON_Print.vi main vi2.viThat is not an error, that is just the call chain.
You need to read the error information and the number.
My bet is that you url is not correct, or that the PC you test your code on does not have access to the server/system that tries to connect to.
You need to make some debug of your code.
Find out if all your inputs to the POST vi has the correct values.
Along with this, if it were me, I'd create a small VI and recreate your request, then send it to us if you still get an error. We can't debug images.