Skip to main content
Skip table of contents

set_conveyor(name)

기능

UI에서 Conveyor정보를 설정한 경우, 프로그램에서 Conveyor Tracking Application을 시작할 수 있도록 해당 Conveyor 이름으로 ID를 획득하고 작업물 모니터링 명령을 내립니다. 작업물 모니터링은 Conveyor에서 Triggering 되는 작업물에 대해 수행되며 프로그램이 종료될 때까지 계속됩니다.

인수

인수명자료형기본값설명

name

string

-

Conveyor 이름

리턴

설명

Conveyor ID

Conveyor 설정 성공 시 Conveyor ID를 리턴

None

Conveyor 설정 실패

예외

예외설명

DR_Error (DR_ERROR_TYPE)

인수들의 데이터형 오류 시

DR_Error (DR_ERROR_VALUE)

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

DR_Error (DR_ERROR_RUNTIME)

C Extension 모듈 에러 발생 시

DR_Error (DR_ERROR_STOP)

프로그램 강제 종료 시

예제

PY
CONV1 = set_conveyor(“conveyor1”)

관련 명령어

JavaScript errors detected

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

If this problem persists, please contact our support.