在 03-16-2007 02:27 AM
在 04-17-2007 05:36 AM
在 04-18-2007 03:15 AM
在 04-19-2007 07:33 PM
Sorry!沒有說明清楚.
RS232的參數設定, 應該沒有問題, 我用VB測試OK.
用LabView測試, 送出字串後接收, 也可以接收, 但是接收不正確
Ex: Send String: "This is a test" ---> Receive String: "This is a te", 並且出現上列錯誤
<註> : 1. 我是用LV 8.0, 範例是LV 6.1, 有沒有關係?
2. bytes to read , 正常應該設多少? 我設20.
3. 我是用PC, 只有一個COM Port
謝謝回覆!
在 04-26-2007 11:48 PM
For bytes to read...
Therefore, as of how many bytes to set for the Byte Count, it really depending on what you are expecting from the port at that very moment.
Sometimes, it could be continous reading of data bytes until a certain condition i.e. CR etc is met.
Hope this helps in one way or another 😉
在 04-29-2007 09:39 PM