Adept AdeptSight Reference Guide User Manual
Page 430

; Load Test Project
CALL as.load(load_project, $path+"Project2.hsproj", $pc_ip, empty_parameter, empty_param-
eter)
; Save Testing
CALL as.save(save_project, $path+"Project1.hsproj", $pc_ip, empty_parameter, empty_param-
eter)
CALL as.save(save_project, $path+"Project2.hsproj", $pc_ip, empty_parameter, empty_param-
eter)
CALL as.save(save_project, $path+"Project3.hsproj", $pc_ip, empty_parameter, empty_param-
eter)
CALL as.save(save_sequence, $path+"seq1.xml", $pc_ip, 1, empty_parameter)
CALL as.save(save_sequence, $path+"seq2.xml", $pc_ip, 2, empty_parameter)
CALL as.save(save_cam_settin, $path+"CamSettings.xml", $pc_ip, camera_index, empty_param-
eter)
CALL as.save(save_color_cal, $path+"ColorCalibration1.hscal", $pc_ip, camera_index,
empty_parameter)
CALL as.save(save_vision_cal, $path+"VisionCalibration1.hscal", $pc_ip, camera_index,
empty_parameter)
CALL as.save(save_robot_cal, $path+"RobotCalibration1.hscal", $pc_ip, camera_index,
robot_index)
CALL as.save(save_belt_cal, $path+"BeltCalibration1.hscal", $pc_ip, camera_index, robot_
index)
; Load an empty project
TYPE "Clear Project"
PAUSE
; Load Testing
CALL as.load(load_project, $path+"Project1.hsproj", $pc_ip, empty_parameter, empty_param-
eter)
CALL as.load(load_project, $path+"Project4.hsproj", $pc_ip, empty_parameter, empty_param-
eter)
TYPE "The previous fail is normal"
CALL as.load(load_project, $path+"Project2.hsproj", $pc_ip, empty_parameter, empty_param-
eter)
; Load an empty project
TYPE "Clear calibrations, change camera settings and remove all sequences"
TYPE "keep the cameras, robots and controllers"
PAUSE
CALL as.load(load_sequence, $path+"seq1.xml", $pc_ip, 1, empty_parameter)
CALL as.load(load_sequence, $path+"seq2.xml", $pc_ip, 3, empty_parameter)
TYPE "The previous fail is normal"
CALL as.load(load_sequence, $path+"seq2.xml", $pc_ip, 2, empty_parameter)
SaveSequence
AdeptSight Reference Guide, v3.2.x, Updated: 5/8/2012
Page 430