Difference between revisions of "Component: Input (DSP)"

From Flowcode Help
Jump to navigationJump to search
(XML import of latest components)
(XML import of components for release)
Line 26: Line 26:
  
 
===<span style="font-weight: normal;"><u><tt>AddAsByteTick</tt></u></span>===
 
===<span style="font-weight: normal;"><u><tt>AddAsByteTick</tt></u></span>===
Sets the value in the current index position of the buffer
+
Adds a single byte value to the current location in the specified buffer and scales it appropriatley to suit the buffer.
  
 
'''Parameters'''
 
'''Parameters'''
Line 39: Line 39:
  
 
===<span style="font-weight: normal;"><u><tt>AddAsUINTTick</tt></u></span>===
 
===<span style="font-weight: normal;"><u><tt>AddAsUINTTick</tt></u></span>===
''<span style="color:red;">No additional information</span>''
+
Adds a single unsigned int value to the current location in the specified buffer and scales it appropriatley to suit the buffer.
 
 
 
 
  
 
'''Parameters'''
 
'''Parameters'''
Line 53: Line 51:
  
  
===<span style="font-weight: normal;"><u><tt>AddAsSINTTick</tt></u></span>===
+
===<span style="font-weight: normal;"><u><tt>AddToBuffer</tt></u></span>===
''<span style="color:red;">No additional information</span>''
+
Adds an array of byte values to the specified buffer and scales them appropriatley to suit the buffer.
 
 
 
 
  
 
'''Parameters'''
 
'''Parameters'''
  
:[[Variable Types|INT]] ''Data''
+
:[[Variable Types|<- STRING]] ''Data''
 +
::''This parameter may be returned back to the caller''
  
  
Line 68: Line 65:
  
  
===<span style="font-weight: normal;"><u><tt>AddRawTick</tt></u></span>===
+
===<span style="font-weight: normal;"><u><tt>AddAsSINTTick</tt></u></span>===
''<span style="color:red;">No additional information</span>''
+
Adds a single signed integer value to the current location in the specified buffer and scales it appropriatley to suit the buffer.
 
 
 
 
  
 
'''Parameters'''
 
'''Parameters'''
  
:[[Variable Types|UINT]] ''Data''
+
:[[Variable Types|INT]] ''Data''
  
  
Line 83: Line 78:
  
  
 
+
===<span style="font-weight: normal;"><u><tt>AddRawTick</tt></u></span>===
==Simulation macro reference==
+
Adds a value to the current location in the specified buffer as is and without scaling.
 
 
===<span style="font-weight: normal;"><u><tt>AddToBuffer</tt></u></span>===
 
''<span style="color:red;">No additional information</span>''
 
 
 
 
 
  
 
'''Parameters'''
 
'''Parameters'''
  
:[[Variable Types|<- STRING]] ''Data''
+
:[[Variable Types|UINT]] ''Data''
::''This parameter may be returned back to the caller''
 
  
  
Line 102: Line 91:
  
  
 +
 +
==Simulation macro reference==
 +
 +
''This component does not contain any simulation macros''
  
  

Revision as of 13:34, 2 September 2013


Author Matrix Ltd
Version 1.2
Category DSP


Image Input component

Allows the values from a buffer to be assigned. Either a value at a time or from an array.


Examples

No additional examples


Downloadable macro reference

AddAsByteTick

Adds a single byte value to the current location in the specified buffer and scales it appropriatley to suit the buffer.

Parameters

BYTE Data


Return value

This call does not return a value


AddAsUINTTick

Adds a single unsigned int value to the current location in the specified buffer and scales it appropriatley to suit the buffer.

Parameters

UINT Data


Return value

This call does not return a value


AddToBuffer

Adds an array of byte values to the specified buffer and scales them appropriatley to suit the buffer.

Parameters

<- STRING Data
This parameter may be returned back to the caller


Return value

This call does not return a value


AddAsSINTTick

Adds a single signed integer value to the current location in the specified buffer and scales it appropriatley to suit the buffer.

Parameters

INT Data


Return value

This call does not return a value


AddRawTick

Adds a value to the current location in the specified buffer as is and without scaling.

Parameters

UINT Data


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

Buffer Manager

This property is of type Fixed list of ints and can be referenced with the variable name buffer_manager.

Reference to DSP system buffer manager component.

Input

This property is of type Fixed list of ints and can be referenced with the variable name input_a.

Buffer assigned to input channel