LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP Read error 56 in deployment mode, no error in development

I have a function that erases the flash memory and sends an erase complete message when done.  The vi runs correctly in development mode, but when the run-time is being called I get a read error (error 56).  I use the exact same read function for many other applications, even in the same vi and it works fine in runtime.  There is a significant delay between the time the erase message is sent and the response is received into the buffer (~90 seconds).  With every other read function I use the response is almost instant and the UDP Read function has no problem reading the buffer.  I have confirmed the erase complete message is actually in the buffer at the time of the read via wireshark.  I've tried putting a wait time up uintil the point of the message is received in the buffer to try to reduce using the UDP timeout built in function, to no avail.  Have also tried closing the UDP session and reopening it while waiting to receive the confirmation message, also unsuccessful.  I'm running out of ideas

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

I think I'm missing some information from you on this question.  What is the device you are talking to?

Machine Vision, Robotics, Embedded Systems, Surveillance

www.movimed.com - Custom Imaging Solutions
0 Kudos
Message 2 of 2
(2,451 Views)