Skip to main content
Skip table of contents

cognex_set_integer (job_name, integer_number)

기능

해당 작업의 입력된 index에 로딩 합니다.

(*VS_TYPE: DR_VS_COGNEX)

리턴

설명

1

성공

-1

실패

예제

PY
vs_set_info(DR_VS_COGNEX)             #Vision type information setting 
vs_connect("192.168.137.10")     #Connect to vision - Vision IP, Default port
res = cognex_set_integer("Pattern_1.Scale_Tolerance",1)     # Enter your task
tp_popup("{0}".format(res)) 
vs_disconnect()                   #Disconnect to vision
JavaScript errors detected

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

If this problem persists, please contact our support.