Converting Data Types: Difference between revisions
Jump to navigation
Jump to search
Mattcarrick (talk | contribs) No edit summary |
Mattcarrick (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
[[File:SelectByteDataTye.png|500px]] | [[File:SelectByteDataTye.png|500px]] | ||
The ''Random Source'' is now converted to the magenta ''Char'' or ''Byte'' data type. | |||
[[File:RandomSourceByteOutput.png|500px]] | |||
Revision as of 15:57, 6 January 2022
This tutorial will describe how to convert between data types. The previous tutorial, Signal Data Types, presents an introduction to the Complex Float 32 and Float 32 data types for representing digitized signals.
Char/Byte Data Type
The Char or Byte data type is another useful data type for representing binary data. The Byte data type is represented by the magenta color in GRC:
Search for the Random Source block and drag it into the workspace:
The block defaults to the green Integer 32 data type. Double-click the block to open the properties and modify the data type to byte:
The Random Source is now converted to the magenta Char or Byte data type.
- random source
- use in modulator
char/byte data type convert to float display