Technical FAQs

Ask a Question

How to equate string type variables in Vijeo Designer application.

Generally arithmetic operators like +,-,*,== etc, are applicable on registers like INT, DINT, REAL etc, holding arithmetic values.

 The script method has to be used for equating string variables. Refer chapter 18.3.9.2 "String Methods" available under Online Help Menu of the Vijeo Designer software. This chapter provides details for implementing different type of operations on string type variables.  

 Sample script for equating string type variables.

String text3;     // where text3 is a local script variable//

text3 = STRING01.getStringValue();     // where STRING01 is external VJD variable//

STRING02.write(text3);      // where STRING02 is external VJD variable//

Was this helpful?
What can we do to improve the information ?