# Keyence VS camera guidance for UR10 CB 3.15.8

**URL:** <https://forum.universal-robots.com/t/keyence-vs-camera-guidance-for-ur10-cb-3-15-8/35477>\
**Category:** URScript\
**Created:** [July 30, 2024, 11:36am UTC](https://forum.universal-robots.com/t/keyence-vs-camera-guidance-for-ur10-cb-3-15-8/35477 "2024-07-30T11:36:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![petr.sandera](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@petr.sandera](https://forum.universal-robots.com/u/petr.sandera)\
**Post date:** [July 30, 2024, 11:36am UTC](https://forum.universal-robots.com/t/keyence-vs-camera-guidance-for-ur10-cb-3-15-8/35477/1 "2024-07-30T11:36:16Z")

</div>

Hello Together,  
I hit one issue using first time UR10 with old software version 3.15.8 I wanted to extend current application with Keyence VS camera to navigate robot, unfortunately the script file from Keyence doesn’t work because of data type: “const string” is not supported or allowed.  
I use the original keyence script file KeyVsCommonFunctions.script and Utility and Sample program files but when I try the utility I got fault:  
data type: Const String  
node: Skript: KeyVsCommonFunctions.script  
node type: Skript  
position: row 3

advanced view (skript)  
…  
return [val]  
elif (size == 2):  
return [val,val]  
elif (size == 3):  
**return**** [val,val,val]**  
elif (size == 4):  
return [val,val,val,val]  
…

is there a chance that the problem is only the wrong defined variable?? but witch one? I cannot attach the original file because Im new, but its available at keyence: [https://www.keyence.eu/mykeyence/downloadFromDLHistory?downloadAssetId=AS\_112991&downloadZipFlag=0](https://www.keyence.eu/mykeyence/downloadFromDLHistory?downloadAssetId=AS_112991&downloadZipFlag=0)

thank you for any advice.
