在 03-19-2008 03:48 AM
請問您將滑鼠游標移到 "string to write",按右滑鼠,有 Normal Display,"\"code display,請問是哪一個?
應該在,"\"code display 的狀況下,輸入MR\r 或者 PR\r
在 03-19-2008 03:53 AM
03-19-2008 04:05 AM - 已編輯 03-19-2008 04:08 AM
在 03-19-2008 04:10 AM
在 03-20-2008 02:43 AM
在 03-20-2008 04:54 AM
Jus a quick thought... did you say that you pressed the 'Run Continuously' button?
If so, the communication port is being opened and closed over and over again... would that causing the error?
Try... place the code "after VISA Confugure Serial Port and before VISA Close" into a while loop. That way, the Serial Port will be opened once and close after exiting the while loop.
Hope above make sense... in one way or another 🙂
03-21-2008 03:03 AM - 已編輯 03-21-2008 03:04 AM
Dr.Wu
這是程式碼~不好意思麻煩你過目一下~謝謝幫忙
在 03-21-2008 10:29 AM
回到原點;
第一次跑可以,但是連續執行會出現錯誤。那是軟體架構出現瑕疵。
可以重新敘述您的操作情形嗎?
舉例:
1. 寫一個指令給儀器,延遲一秒,讀回值。接下來呢?寫另一個指令,延遲一秒,讀回值。
2. 重複動作:[ 寫同一個指令給儀器,延遲一秒,讀回值 ]
3. other.
請問您是哪一種?可否把指令也敘述一下?