Jump to content

File Binary Encoding


Recommended Posts

Hi,

I have been trying to open an arbitrary file type, such as a jpeg or bitmap file, convert this to its binary representation and then later decode this information into its original form. I would then like to open the file with labVIEW. Let me describe minimally, what my program consists of now. As of now, I am opening the file and reading it in labview. I was then sending it to a "type cast" and trying to encode it with type: %b for binary. After this, I was taking the string and converting it to a byte array. I have saved this byte array to an I16 file to see if the output was binary, however, it appears to be in ACSII format. I would ultimately like to send this binary file information to a DAQ assistant, where it will be transmitted via AM radio signal. The last analog circuit design I have under control, however, the labVIEW program I have found to be nearly impossible to create! Can any please help?

Sincerely

Trevor

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.