Nishar Federer Posted October 23, 2017 Report Share Posted October 23, 2017 Hi, Can anyone suggest me a way to add the hexadecimal string to the notepad file ? Because currently i am getting only junk characters . Quote Link to comment
hooovahh Posted October 23, 2017 Report Share Posted October 23, 2017 What do you actually want? What have you actually tried? Writing a string to a file shouldn't be difficult, and should be something covered in the first hour of a LabVIEW basics example. Quote Link to comment
smarlow Posted October 24, 2017 Report Share Posted October 24, 2017 It sounds like you want to store a binary string to a file and then open it and see the hexadecimal values for the bytes. Notepad only displays file contents as ASCII characters, so you cannot see the actual byte values, only the ASCII characters that correspond to the byte values (the "junk characters" you are seeing). Can't you just use LabVIEW to view the contents of the binary file? Read the bytes into a string indicator and set the display mode to "Hex Display". Quote Link to comment
crossrulz Posted October 24, 2017 Report Share Posted October 24, 2017 You could use something like Hex Edit to look at your file. Personally, I am a fan of Ultra Edit, which has a hexadecimal view. Quote Link to comment
Rolf Kalbermatter Posted October 28, 2017 Report Share Posted October 28, 2017 Notepad++ https://notepad-plus-plus.org/ is similar to UltraEdit in functionality and has a plugin "Hex-Editor" that you can install, that allows you to view a file in hex display format. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.