LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

conversion of hexadecimal file to decimal file in labview


@newbieeng wrote:
oh yes I forgot to change it. I changed and run the vi again. both of results are the same. you are right. but it seems there are a lot of values but they are all same.

That's because they're all the same in the original file.

 


do you know any hex to dec editor to see the values to validate our vi? I really confused about it.

There is no such thing since it depends on the format of the data, which in your case is actually a mutliple pieces of data.

0 Kudos
Message 21 of 32
(2,789 Views)

Hi newbie,

 

"there are a lot of values but they are all same"

 

Well, your example file only contains those number. The compression rate of ZIP is a good evidence for this as it compresses by a factor of ~100 which is unusual for (more or less) random measurement data...

Best regards,
GerdW


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

@newbieeng wrote:
do you know any hex to dec editor to see the values to validate our vi?

I really like Ultra Edit.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 23 of 32
(2,783 Views)

@GerdW wrote:

Hi newbie,

 

"there are a lot of values but they are all same"

 

Well, your example file only contains those number. The compression rate of ZIP is a good evidence for this as it compresses by a factor of ~100 which is unusual for (more or less) random measurement data...


Thank you very much. I compressed the data file just to attached the thread. I use it on my PC without any operation. I mean I used it in my PC as I took it from the other program and I have never compressed it, I compressed a copy of it. Anyway, tomorrow I will try to get decimals of an other raw data file and see the result. Thank you very much all 😄

Egemen
0 Kudos
Message 24 of 32
(2,777 Views)

@crossrulz wrote:

@newbieeng wrote:
do you know any hex to dec editor to see the values to validate our vi?

I really like Ultra Edit.


Do you have this program? I looked the website but it is not a freeware. I do not know whether the trial version works or not.

Egemen
0 Kudos
Message 25 of 32
(2,775 Views)

If all you want to do is to look at the file in hex format (which would have told you the values are all the same), you don't need to buy that program. Notepad++ with the Hex Editor plugin will do that. Notepad++ is free.

0 Kudos
Message 26 of 32
(2,769 Views)

As I said above, in the time it took you to think about a program to display a file in HEX format, you could have written a LabVIEW program to do the same. 😄

 

 

Message 27 of 32
(2,764 Views)

@smercurio_fc wrote:

If all you want to do is to look at the file in hex format (which would have told you the values are all the same), you don't need to buy that program. Notepad++ with the Hex Editor plugin will do that. Notepad++ is free.


Thank you smercurio_fc. I have already installed Notepad++, I installed the hex editor plugin and it shows all values the same. It works nice. Thanks again. I saw them like below.

notepad++.PNG

 

 

Egemen
0 Kudos
Message 28 of 32
(2,756 Views)

thank you they are the same in notepad++ too. we did all right. 😄

Egemen
0 Kudos
Message 29 of 32
(2,752 Views)

@altenbach wrote:

As I said above, in the time it took you to think about a program to display a file in HEX format, you could have written a LabVIEW program to do the same. 😄

 

 


In the labview that your sugesstions with GerdW velocities comes out as 0.272018. when I convert to this hexadecimal values in this site it comes out differently. how to labview convert it to the decimal value?

Egemen
0 Kudos
Message 30 of 32
(2,741 Views)