Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI VISA USB RAW Bulk - In Read Timeout Error

Hi All,

I am working on NI-VISA to communicate with RAW USB.  I am trying to communicate an Instrument via USB RAW Bulk transfer through endpoints. This is not a NI Hardware/Instrument, it is a third party Instrument. I am not using multiple endpoints; I have fixed endpoints for Bulk-in (0x82) and Bulk-out (0x01).

I believe (I am not conclusive),  I have written the data through Bulk-out endpoint to my Instrument, as the return count terminal exactly shows the number of bytes that I am writing. I also want to know is there any other way to confirm the data been written into the Instrument.
The problem is that when I am trying to read the data from the Instrument, the NI-VISA Read function times out after 2000ms which is the default setting for the timeout. For your reference, I am attaching the different trials that I 
have tried for achieving the same. I am unable to read the data.
If someone can help me out of this will be appreciable. I went through few 
forums, I understood many have faced this issue. But, I haven't found any solution for the post.
Kindly forward me any support if you have worked on this issue before. Thanks in advance.

Download All
0 Kudos
Message 1 of 7
(3,706 Views)

Hi

Which third party instrument is this? Is it emulating a serial port or do you really need raw USB?

greetings from the Netherlands
0 Kudos
Message 2 of 7
(3,703 Views)

Thanks for your response. The Hardware is 1553 card which has USB interface. I am not emulating a serial port, I need RAW USB Bulk-In/Out data transfer.

0 Kudos
Message 3 of 7
(3,690 Views)

Hi,

I am also using the same 3rd party USB device and communicating through 1553 protocol. Not able to read the data. Every time reading the same message as shown in the picture. Is there any solution for this. kindly reply..

0 Kudos
Message 4 of 7
(3,495 Views)

Hi,

 Kindly show the Block Diagram, so that it will be far easier to sort out the issue. Or kindly attach the VI.

0 Kudos
Message 5 of 7
(3,492 Views)

Tq for the reply. and here is my block diagram......

0 Kudos
Message 6 of 7
(3,490 Views)

And this is the VI..........

0 Kudos
Message 7 of 7
(3,488 Views)