From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NXG 2.1 output of String Indicator is Not the same as The Output displayed on Labview 2017 even when the codes are exactly same

Hello , I have created a NXG 2.1 project of blowfish algorithm which takes in 2 inputs which are "username" and "some key" in order to generate an encrypted password (Output String).Check image below.

 

NxgBd.JPG


Now the code displayed below is of labview 2017 which is identical to above code of labview nxg

 

Labview1.JPG

 

If you see the output on labview front panel in the above image , it is "\1A\14v\88\FCe\CC\8F "

but on labview NXG 2.1 the output is totally different.Check image below.

(The inputs i have provided in both cases are the same).

NxgFP.JPG

 

 

I am not able to understand the reason for this different outputs.

 

Can someone help me out with this.

 

Thanks for taking out time and reading.

0 Kudos
Message 1 of 2
(1,879 Views)

If you probe the wires of each when you run the code, where do they differ?

 

I know the string handling in NXG has changed to support UTF-8, so there are some changes in the string VIs. This may be one reason for the difference you're seeing.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
0 Kudos
Message 2 of 2
(1,868 Views)