Component: Data Queue to Bits (DSP Inputs)
From Flowcode Help
(Redirected from Component: ID fdef1c85 689b 4e44 81dc 7ab15dec21a6)
Jump to navigationJump to searchAuthor | Matrix Ltd |
Version | 1.2 |
Category | DSP Inputs |
Contents
Data Queue to Bits component
Allows data to be loaded into a buffer and then output a bit at a time into the DSP system. Useful for things like communications where data is modulated and sent out a bit at a time.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_DSP_DataToBits.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_DSP_DataToBits.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
CountQueueData
CountQueueData | |
Returns the number of data bytes/bits remaining in the queue. The bit count includes start/stop bits. | |
- BOOL | CountBits |
0=Return Byte Count, 1=Return Bit Count | |
- UINT | Return |
FetchNextDataBit
FetchNextDataBit | |
Gets the next stored bit from the data queue. If the data queue is empty then returns the default state. | |
- VOID | Return |
QueueByte
QueueByte | |
Adds a single byte value to the data buffer. | |
- BYTE | Data |
- VOID | Return |
QueueByteArray
QueueByteArray | |
Adds an array of byte values to the data buffer. | |
- BYTE | Data |
- UINT | Count |
- VOID | Return |
QueueFloat
QueueFloat | |
Adds a single float value to the buffer. A 32-bit Float value occupies 4-bytes in the buffer. | |
- FLOAT | Data |
- VOID | Return |
QueueFloatArray
QueueFloatArray | |
Adds an array of float values to the data buffer. A 32-bit Float value occupies 4-bytes in the buffer. | |
- FLOAT | Data |
- UINT | Count |
- VOID | Return |
QueueInt
QueueInt | |
Adds a single integer value to the data buffer. A 16-bit integer value occupies 2-bytes in the buffer. | |
- UINT | Data |
- VOID | Return |
QueueIntArray
QueueIntArray | |
Adds an array of integer values to the data buffer. A 16-bit integer value occupies 2-bytes in the buffer. | |
- UINT | Data |
- UINT | Count |
- VOID | Return |
QueueLong
QueueLong | |
Adds a single long value to the data buffer. A 32-bit integer value occupies 4-bytes in the buffer. | |
- ULONG | Data |
- VOID | Return |
QueueLongArray
QueueLongArray | |
Adds an array of long values to the data buffer. A 32-bit integer value occupies 4-bytes in the buffer. | |
- ULONG | Data |
- UINT | Count |
- VOID | Return |
QueueString
QueueString | |
Adds an string of characters to the data buffer. | |
- STRING | Data |
- VOID | Return |