Skip to main content
Skip table of contents

CDRFLEx.config_program_watch_variable

기능

로봇 제어기에서 프로그램 실행 시 프로그램 내부 변수를 모니터링 하기 위하여 모니터링할 변수 명을 설정하기 위한 함수이다.

인수

인수명자료형기본값설명

eDivision

VARIABLE_TYPE

-

상수 및 열거형 정의 참조

eType

TYPE_TYPE

-

상수 및 열거형 정의 참조

strName

string

-

128바이트 변수명 문자열

strData

string

-

128바이트 데이터 문자열

리턴

설명

0

오류

1

성공

예제

CPP
Drfl.config_program_watch_variable(VARIABLE_TYPE_INSTALL, DATA_TYPE_FLOAT, "var", "1.22"); // 설치변수 “var”을 float 1.22로 저장
JavaScript errors detected

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

If this problem persists, please contact our support.