LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

64 bit real - 32 bit or bitstream

hav a look at the vi ..can someone help me to convert the 64-bit real output to 32-bit ot to bitstream....
Regards
0 Kudos
Message 1 of 7
(3,688 Views)
Many times you can simply typecast it to the other representation. Take your DBL array, wire it to typecast, and wire e.g. an empty U32 array to the type input. You can also typecasrt it to a string.
 
(this assumes you want big endian.)
 
Can you be a bit more specific on what you need to do with the output?
0 Kudos
Message 2 of 7
(3,680 Views)
i am very new to labview...... what is typecast?...plz be more specific i am not too fimiliar with the terms....
Regards
0 Kudos
Message 3 of 7
(3,661 Views)
i have found the type cast function in labview..but i dun know how to give the input to type???
Regards
0 Kudos
Message 4 of 7
(3,660 Views)

If you don't wire the type, you'll end up with a binary string.

Otherwise, you can just wire anything you want. To create e.g. an empty U32 array, do the following:

  • Drop an empty array container (from the array palette) on the diagram.
  • Place a numeric diagram constant (from the numeric palette) on the diagram, right-click it, and select representation...U32.
  • Now drop the constant into the array container and you have an empty U32 array.
  • Wire it to the type input.

What is your LabVIEW version? Do you have more details on what you actually want to do?

0 Kudos
Message 5 of 7
(3,653 Views)
actually i want to convert this .wav file into bitstream.......but i was stuck at 64 bit ...thanx for the help
Regards
0 Kudos
Message 6 of 7
(3,628 Views)
thanx for the help ...it really helped
Regards
0 Kudos
Message 7 of 7
(3,609 Views)