How do I use the concatenate script in Vijeo Designer to join two strings variables?
Issue:
How do I use the concatenate script in Vijeo Designer to join two strings variables?
Product Line:
Vijeo Designer
Resolution:
Below is a sample script that will concatenate two strings into a single string variable.
NOTE: MyString1, MyString2, Combined_String are variables that are external from the script defined in the Vijeo Designer Navigator -> Target01 -> Variables node.
How do I use the concatenate script in Vijeo Designer to join two strings variables?
Product Line:
Vijeo Designer
Resolution:
Below is a sample script that will concatenate two strings into a single string variable.
NOTE: MyString1, MyString2, Combined_String are variables that are external from the script defined in the Vijeo Designer Navigator -> Target01 -> Variables node.
String string1_temp, string2_temp, combine_temp; // internal script variables defined here string1_temp = MyString1.getStringValue(); // let string1_temp equal to MyString1 string2_temp = MyString2.getStringValue(); // let string2_temp equal to MyString2 combine_temp = string1_temp1.concat(string1_temp2); // concatentate string1_temp with string2_temp and let it equal to combine_temp Combined_String.write(combine_temp); //write the concatentated string into an external variable called Combined_String
게시 대상: 슈나이더 일렉트릭 Korea


도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.