LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB :timeout expired before operation competed

Hello all,

 

I have written one program in labview which sends 201 bytes of hex data to the hardware using USB Communication. Hardware is a third party hardware.i.e PSoC board of cypress. I have implemented Psoc board in bulk transfer mode with two end points EP1(IN) and EP2(OUT).  

But when i send data bytes from labview to PSoC.,labview shows timeout error.saying timeout expired before operation completed.

on the other side to test whether  bytes at hardware received or not, i have written a program  in such a way that received bytes will get displayed on LCD. Here, about 40-50 bytes showing  properly but after that it shows garbage values.

i have attached the vi. along with message. please help me.

Download All
0 Kudos
Message 1 of 2
(1,967 Views)

You're sending binary data, and IIRC the default visa mode is end character terminated. If one of those string characters is a \r or \n, it could stop sending.

 

I'd start with sending some deterministic data. 

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