LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR 62 TCP WRITE

 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.

 

 

write_tcp.jpg

 

 

0 Kudos
Message 1 of 3
(2,321 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,303 Views)

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}

0 Kudos
Message 3 of 3
(2,293 Views)