Browse FAQs

How to equate string type variables in Vijeo Designer application.

Published date: 29 July 2018

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 "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 ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.