Features
Loads the entered index of the corresponding job.
(*VS_TYPE: DR_VS_COGNEX)
Return
|
Value |
Description |
|---|---|
|
1 |
Success |
|
-1 |
Fail |
Example
Python
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