Initializes MicroDAQ block structure with default values
This function initializes MicroDAQ block structure with default values. Returned structure describes block parameters and number of input/output ports. MicroDAQ block structure is used as a parameter for mdaqBlockAdd() function to generate custom MicroDAQ block.
MicroDAQ block structure:
block.name - contains MicroDAQ block name. Block will be generated with prefix 'mdaq_'.
block.desc - contains block description. If no description provided the default description will be used 'Set 'block.name' parameters.'
block.param_name - contains block parameters names. Defined parameters names will be generated in block C source code.
block.param_size - defines block parameters sizes. This field and block.param_name must have the same number of elements.
block.param_def_val - defines default block parameters values.
block.in - defines block input port configuration.
block.use_sim_script - %T or %F, defines if block uses simulation script or C code in simulation mode (%T - by default)
block = mdaqBlock();
block : Structure containing MicroDAQ block description parameters