Just hoping htat the thread is still alive.
I am using FT232R chip with my LabVIEW(8.5) program.
I am just using the basic functions Like FT_OPEN, CLOSE, QueueStatus, READ, WRITE etc.
each function works fine except the READ one.
I have set the Bytes to Read = 1600. and after executing the READ function, when i read Bytes Read it gives the O/P = 1600.
However, the string returned by the ReAD function comprises of only 1 Byte.
What could be the problem??
Have you tried the example on the FTDI site:
It is a bit hard to be specific about your problem without your VI or hardware. The 232 chip is generally no problem. If you are only getting 1 byte back it may be because you are either only asking for one back (FT Read Byte Data VI, 'Bytes to Read' terminal), or it may be because there is only one byte in the queue. You can use the 'FT Get Queue Status' VI to load the correct queue size in to the 'Read Byte Data VI, as per the example. Remember the FTDI will time out if it does not receive the expected number of bytes, returning only what it has.
I tried with that example itself when i first used the FTDI VIs.
I am actually following the same procedure as the one you suggested in your post.
I am using "GetQueueStatus" to check the no. of bytes and if the bytes>=1600, i read them using "FT_READ" function. Input to the Function(Bytes to Read) = 1600.
and the O/P returned by the Function(Bytes Read) = 1600.
However, the output string contains only 1 byte.
This is what that looks so confusing. If Bytes Read return = 1600, then why the string contains 1 byte.