ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing out on Serial Read

Solved!
Go to solution

Yes, the "instrument" is a device we built in the lab and we are using this "USB245M" to virtualize a RS232 COM port to communicate with the PC.  Here is the documentation on the USB245M.  Unfortunately, it isn't very good.

 

http://www.ftdichip.com/Documents/DataSheets/DLP/dlp-usb245m13.pdf

 

0 Kudos
Message 11 of 16
(1,952 Views)
That TXE# pin is set from the micro it looks like. That would point to a hardware problem or something wrong in the micro code.
Message 12 of 16
(1,943 Views)
We aren't controlling TXE# from the microcontroller and are able to retrieve data in Matlab.  My understanding is that TXE# is controlled by the USB245M, I just was wondering if I also had to enable it initially from the PC.  I'm starting to think that isn't actually my problem.
0 Kudos
Message 13 of 16
(1,938 Views)
Solution
Accepted by topic author was1984
Can you read data in Hyperterminal?
Message 14 of 16
(1,933 Views)
Ok, I spoke with the person who wrote the matlab code and have this figured out.  There is a required transmit byte before data starts transmitting.  Thanks for your help with this.
0 Kudos
Message 15 of 16
(1,919 Views)

Dennis Knutson wrote:
Can you read data in Hyperterminal?

If I ever make a signature, that'll be it.

Richard






0 Kudos
Message 16 of 16
(1,915 Views)