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: 

Although data are same but cannot compare it

Solved!
Go to solution

Hallo,

 

I have two outputs in array

1 is from sensor

2 is from data from. txt file

Now the problem is when I read a data from sensor , I need to display it it in  hex. While in hex display column two match with the column two of Txt file but column one didn't. Its hard to explain . I have attached jpg file hope you can help me.

Thanking you

BR

kalu

 

0 Kudos
Message 1 of 6
(2,609 Views)

Hi kalu,

 

your array2 and array3 do not display the same data even when they look similar!

Using "normal" and "hex" display mode shows yuite different things...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,597 Views)

thanks for reply,  but txt file is also the data from sensor and it is combination of hex and ascii .i know i am getting right data which is in array 1  and array 2 but the challange is displaying  it as same as in array 3.

0 Kudos
Message 3 of 6
(2,587 Views)
Solution
Accepted by kalu

Hi kalu,

 

"challange is displaying  it as same as in array 3."

Hm, quite challenging, isn't it?

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 6
(2,582 Views)

Thanks for your kind support

Everything looks good now the only problem is in array 1 all Bytes are together that mean with out space while in array 2 there is a space after 2 bytes .

BR

kalu

0 Kudos
Message 5 of 6
(2,572 Views)

HI

Problem is solve its just because of formate string .

Anyway thanks for support

0 Kudos
Message 6 of 6
(2,563 Views)