Reads MEM Write block data
data = mdaqMemRead(start, size, vectorSize) data = mdaqMemRead(linkID, start, size, vectorSize)
This function download data written by 'MEM Write' block. It gives possibility to download data from Standalone application generated from XCos diagram. In order to download data function parameters start_index and vector size need to be the same as defined in 'MEM Write' block in XCos diagram. Function can only be used with 'MEM Write' block and read data written by this block. If Rewind 'MEM Write' block option is used function size parameter must be the same as defined in the block.
linkID: Valid connection link ID (optional)
start: MicroDAQ memory start index
size: Data size to be downloaded
vectorSize: Data vector size
data: Resulting data