GetError

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,245件の閲覧回数
anil
Contributor I
Occasionally, the processor expert function for receiving a serial port character for a 9s12 returns

ERR_COMMON.

The comments state to call the
GetError method for error specification

1. I can't find where the GetError Method is included

2. What can cause the ERR_COMMON to be returned



** ERR_COMMON - common error occurred (the
** GetError method can be used for error
** specification)
ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
360件の閲覧回数
CrasyCat
Specialist III

Hello

Which Bean are you using for your SCI?

If you open the Bean Inspector for your SCI bean and go to the Methods tab, you can activate code generation for method "GetError" there.

Calling that function will allow you to detect whether you have a buffer overflow, a framing error or a parity error.

I hope this helps.

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
1 返信
361件の閲覧回数
CrasyCat
Specialist III

Hello

Which Bean are you using for your SCI?

If you open the Bean Inspector for your SCI bean and go to the Methods tab, you can activate code generation for method "GetError" there.

Calling that function will allow you to detect whether you have a buffer overflow, a framing error or a parity error.

I hope this helps.

CrasyCat

0 件の賞賛