05-09-2005 03:29 PM
05-09-2005 03:56 PM
05-09-2005 04:15 PM
@tbob wrote:
You should use the Bytes At Port function prior to reading. Could be that you are reading before the bytes are there. Put Bytes At Port into a while loop and exit only when the number of bytes is greater than zero, then wire the number of bytes to the Read function's Number of Bytes to Read input. If this don't work, send a sample of your code.
05-09-2005 04:18 PM
05-09-2005 04:34 PM
05-10-2005 11:42 AM
05-10-2005 11:54 AM
05-10-2005 03:56 PM
05-10-2005 04:20 PM
05-10-2005 05:38 PM
@tbob wrote:
I don't see anything in the vi that would cause that. You must actually be getting those characters back from your device. You can use hyperterminal to verify this. If hyperterminal gives you something different, then you need to investigate the vi. However, the vi is simple and straightforward and I can't see anything wrong with it except that you should put a VISA Close at the end (please do this, I forgot to include it). Perhaps the device on the other end needs initialization or something to get it started.