Joint value with different config


I need to get the joint values of all PTP statments in the main sequence, those points with config_1 is fine, but when I read the points with config_2 I still got the value with config_1. And I’m using VC 2014.

Anyone can help?

Below is my code:

r1 = app.findComponent('robot1')
rc = r1.findBehavioursByType(VC_ROBOTCONTROLLER)[0]
target = rc.createTarget()
jv = target.JointValues



Did you touchup the configuration of each PTP statement to be Config_2?