Concatenate Two Different Languages into the Same String

Updated Mar 29, 2018

Reported In

Software

  • LabVIEW

Issue Details

I want to display both English and Chinese (or any other language supported by Unicode) characters in the same string.

Solution

Note: LabVIEW NXG supports Unicode, this workaround is for LabVIEW Basic/Full/Professional

To concatenate two different languages into the same string follow the steps below:
  1. Make sure Unicode is Enable
  2. Start from nothing, don't reuse strings that have been altered or that had Unicode forced on it
  3. Place Down
    • 2 String Controls or String Constants
    • 1 Concatenate String Function
    • 1 String Indicator
  4. Force Unicode on the Control/Constant String that is not English
  1. Run the code once
  1. Force Unicode on the Indicator
  1. Run the code a second time
  1. Force Unicode on the Control/Constant that is in English
  1. Run the code for a last time
  2. You should see the concatenated string with the 2 languages

 

 

Additional Information

Localizing Your LabVIEW Application to Different Languages (Allows users to pick the language they want to see. This method is more scalable if more languages need to my implemented down the line) 

LabVIEW Unicode Programming Tools

Displaying Non-English Characters in LabVIEW

WAS THIS ARTICLE HELPFUL?

Not Helpful