Skip to main content
Skip table of contents

get_daq_status()

기능

DAQ 연결 여부를 확인하는 명령어 입니다. 

본 DRL을 실행하려면 아래와 같은 절차가 필요합니다. 

  1. app_weld_enable_analog(...) 또는 app_weld_enable_digital() DRL 실행 
  2. arc_sensing_enable(...) DRL 실행  

인수

인수명

자료형

기본값

설명





리턴

설명

0

DAQ 연결 실패

1DAQ 연결 성공

예외

예외설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

인수의 값이 유효하지 않을 시

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

PY
ret = get_daq_status()
if ret == 1:
	print("DAQ connection success")
elif ret == 0:
	print("DAQ connection fail")
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.