Jump to content

Reading issue on USB raw device


alexadmin

Recommended Posts

I try to operate with custom USB device based on FTDI FT245R chip. It works via VISA driver. I can succesfully write data to device. But reading causes some problems:

If reading performed when no data available from usb then reading count is 2 and data are 0x31 0x60.

If reading performed when data from usb present then reading count is two bytes more then real data present and first bytes are 0x31 0x60, next data is correct (from usb device).

This occurs in LabView while reading via "VISA Read" block as well as while reading in VISA Test panel.

What can cause this behavior? Any ideas?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.