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,583 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,571 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,561 Views)
Solution
Accepted by topic author 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,556 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,546 Views)

HI

Problem is solve its just because of formate string .

Anyway thanks for support

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