08-20-2007 03:47 AM
08-20-2007 04:01 AM
08-20-2007 08:11 AM
One difference between LabVIEW and hyperterminal is the interbyte delay time!!
There is a big difference in typing manual in hyperterminal and sending a string with VISA (LabVIEW) if your other side can't read fast enough!!
You can test this in LabVIEW by sending your string byte by byte with a delay of 1-20 ms....
08-20-2007 08:34 AM
Is this the same problem as the message thread you started here. You really should keep the conversation to the same thread.
2400 baud is a rather slow rate. So a 15 byte message would take 62.5 ms. That may sound quick, but it really isn't much data. Look at the comments I put in that other message. I think you are losing data because you are running your serial port initialization each time your run that VI. Hyperterminal isn't doing this reinitialization. Thus the difference.
I don't think the issue is interbyte delay. If the device is can be set to communicate at 2400 baud, it should be able to handle a string of bytes coming through at 2400 baud. The issue would be how big is the buffer on the other device. If it is a very tiny buffer (like only a couple bytes) then you could overwrite its buffer before it would read out. In which case you would need handshaking like you are discussing in the other message. But in that case, you should be using hardware handshaking, and not XON/XOFF, or that HS ? stuff you talk about in the message. (Which doesn't look like it is a true handshaking protocol.)