08-02-2011 09:08 PM
Hello
I am trying to convert a string of characters into binary. The first part works (binary byte array), but I am having some trouble separating the byte array into single bit that I can change the value (only 0 or 1). Does anybody have an idea how to do this? It will be awesome if someone has an idea.
Each character is represented by its corresponding binary (second part).
Thank you so much!
Solved! Go to Solution.
08-03-2011 06:01 AM
Hi,
could you post the vi, I don't see what you want to do...
regards,
08-03-2011 06:09 AM
08-03-2011 06:36 AM - edited 08-03-2011 06:37 AM
Christian
[EDIT] Ups, I should refresh my browser from time to time. Gerd was faster!
08-03-2011 06:33 PM
Thank you so much. You guys are awesome
12-08-2022 06:27 AM
Can you please attach this VI here?
12-08-2022 06:32 AM
Hi Namra,
@NamraS wrote:
Can you please attach this VI here?
11 years ago I attached a snippet, so what are you looking for?
12-08-2022 06:32 AM
Kindly show me how to convert a byte stream into a bit stream in labview.
12-08-2022 07:04 AM - edited 12-08-2022 07:04 AM
@NamraS wrote:
Kindly show me how to convert a byte stream into a bit stream in labview.
The code is already there. The link Gerd showed in his post explains what a snippet is and how you can use it. And it’s pretty much anyhow just the To Boolean Array function, you can search for that in your palettes.
12-08-2022 07:25 AM
Hi Namra,
@NamraS wrote:
Kindly show me how to convert a byte stream into a bit stream in labview.
It is shown in those 11 year old messages!
One addition:
In those 11 years LabVIEW learned some new tricks.
Now you can create a 1D array at the loop output tunnel, instead of that 2D array created in the snippet…