06-18-2018 02:50 AM
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.
06-18-2018 02:56 AM
06-18-2018 04:20 AM
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.
12-27-2018 01:26 AM
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..
12-27-2018 01:35 AM
Hi,
Kindly show the Block Diagram, so that it will be far easier to sort out the issue. Or kindly attach the VI.
12-27-2018 02:30 AM - edited 12-27-2018 02:34 AM
Tq for the reply. and here is my block diagram......
12-27-2018 02:32 AM - edited 12-27-2018 02:35 AM
And this is the VI..........