연락처

텍트로닉스 담당자와 실시간 상담 6:00am-4:30pm PST에 이용 가능

전화

전화 문의

9:00am-6:00PM KST에 이용 가능

다운로드

매뉴얼, 데이터 시트, 소프트웨어 등을 다운로드할 수 있습니다.

다운로드 유형
모델 또는 키워드

피드백

How do I check for errors when I program my oscilloscope?

질문:

How do I check for errors when I program my oscilloscope?

답변:

When done retrieving the data, check for errors. This will let you know if the acquisition actually worked.

Typical error handling involves testing the status registers. To do this, have your program send the scope an “*esr?” query. If the program returns a non-zero value, this indicates that an event of some sort occurred. Now you decide how your program should handle the event. A simple to implement way is to simply display a message that says an error occurred. Perhaps, it can also refer the user to an appropriate GPIB Programmer manual for more information on how to decode the error code. A more involved, but more helpful, message would tell the user exactly what message occurred. To do this, you can mask the error code through register templates to decode the specific event that occurred. You could then display the name of this specific event in a message to the user.


이 FAQ는 다음에 적용 됩니다:

제품 시리즈 없음

제품:

FAQ ID 52536

모든 FAQ 보기 »