LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

text to bit stream

Solved!
Go to solution

Thanks to all for the helpful information. As a Labview newbie I humbly ask for help on a (probably) easy problem. Links to tutorials are welcome 🙂

 

I am now trying to plug the ouput of the Tx portion the shared VI into a sink that is expecting unsigned long 32 bit array. I expect that there is some sort of conversion block for the 16bit integer but I'm having trouble locating it, if it exists. Any help is appreciated.

 

Thanks,

Paul

0 Kudos
Message 11 of 24
(1,518 Views)

I think you are looking for the Boolean Array To Number function, which is in the Numeric->Conversion palette (right next to the Number To Boolean Array function).


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 12 of 24
(1,499 Views)

can any on plz send me vi of bit to text conversion..!Smiley Happy

0 Kudos
Message 13 of 24
(1,449 Views)

Go back and look at message #9

0 Kudos
Message 14 of 24
(1,441 Views)

@amarjalil wrote:

can any on plz send me vi of bit to text conversion..!Smiley Happy


I can think of many ways to do it.  They all depend on what format you want your text to be in.  I suggest creating an example of what you expect as an input and then what you would like the output to be.  Be VERY specific in your example.


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
Message 15 of 24
(1,439 Views)

i am sending a signal through usrp it is a text signal now when i recieve it i want to convert the recieved signal back to text...!

0 Kudos
Message 16 of 24
(1,417 Views)

boolean array to number.

 

Then take that number and typecast it to a string.

0 Kudos
Message 17 of 24
(1,397 Views)

@amarjalil wrote:

i am sending a signal through usrp it is a text signal now when i recieve it i want to convert the recieved signal back to text...!


That is not specific at all.  PLEASE GIVE AN EXAMPLE.  What does the text look like?  What numbers are you trying to get out of it?


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 18 of 24
(1,387 Views)

Hi Altenbach,

really handy VI, just wanted to see if you knew what was up with this though - the input works and converts to binary no problem but cant display on the output...

hope you can help - attached a pic and the vi, weird red dot on the 'byte to array string' on the output side of things too, think its just something to do with the data type

thanks very much! 🙂

EDIT: never mind, i noticed i wired a connection wrong. 😛

0 Kudos
Message 19 of 24
(1,221 Views)

hi

i wanted to know that once you converted string to binary , how did you modulate it?

i am trying for real time string to binary conversion and then transmit it  but i am struck.

i will highly appreciate any help.

 

0 Kudos
Message 20 of 24
(1,149 Views)