LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

シリアル通信について

はじめまして。

RS232Cで、測定機器との通信を行いたい者です。タイムアウト時間を5000ms、改行コードはCR(xD)としています。VISA Test Panelではこの設定で問題なく通信ができていました(画像1)。しかし、サンプルVI(タイムアウト時間を5000msにしたもの)ではタイムアウトエラーとなります(画像2)。

 

どのような問題が考えられますでしょうか?

コマンドの改行やスペースの表現がサンプルVIの方では異なるのでしょうか?

0 Kudos
Message 1 of 4
(687 Views)

はじめまして。

RS232Cで、測定機器との通信を行いたい者です。タイムアウト時間を5000ms、改行コードはCR(xD)としています。VISA Test Panelではこの設定で問題なく通信ができていました(画像1)。しかし、サンプルVI(タイムアウト時間を5000msにしたもの)ではタイムアウトエラーとなります(画像2)。

 

どのような問題が考えられますでしょうか?

コマンドの改行やスペースの表現がサンプルVIの方では異なるのでしょうか?

Download All
0 Kudos
Message 2 of 4
(718 Views)

Hi b1685pw1896

There are not any images in your post. Please attach images to be clearly understanding what's the problem. 

 

Regards)

0 Kudos
Message 3 of 4
(552 Views)

Hi b1685pw1896

Here is an article form NI side, which is giving an exact solution in this case. Try to go through that article to solve the error. 


Regards)

_______

Best way to thanks is to give KUDOS / Mark as a solution. 

0 Kudos
Message 4 of 4
(552 Views)