06-29-2020 01:57 PM
hello I have a problem with tcp write vi , after writing data to that Ubidots API address shows error 62
LabVIEW: (Hex 0x3E) Serial port overrun error.
=========================
LabVIEW: (Hex 0x3E) The system caused the network connection to be aborted.
06-29-2020 02:49 PM
Hi hgov,
does the error already occur before the TCPWrite?
What are the requirements/specs of Ubidots?
@hgov45 wrote:
LabVIEW: (Hex 0x3E) Serial port overrun error.
=========================
LabVIEW: (Hex 0x3E) The system caused the network connection to be aborted.
The second error description applies to your VI…
06-29-2020 03:16 PM
the error occurs in tcp write, not before, it works a few minutes and then the error appears
the requirments are:
POST /api/v1.6/devices/{DEVICE_LABEL}/{VARIABLE_LABEL}/values HTTP/1.1<CR><LN>
Host: {Host}<CR><LN>
User-Agent: {USER_AGENT}<CR><LN>
X-Auth-Token: {TOKEN}<CR><LN>
Content-Type: application/json<CR><LN>
Content-Length: {PAYLOAD_LENGTH}<CR><LN><CR><LN>
{PAYLOAD}
<CR><LN>
I send this :
POST /api/v1.6/devices/labview?token=BBFF-cOGtGiEDuPcJiBihAMeDs19l1RyYh9 HTTP/1.1
Host: industrial.api.ubidots.com
Content-Type: application/json
Content-Length: 31
{"led": 0,"temperatura": 33.90}