{}

Our Brands

Schneider Electric USA Website

Welcome to our website.
How can we help you today?
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.
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

Schneider Electric USA

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.
 
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

Schneider Electric USA

Explore more
Range:
Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
Explore more
Range:
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.