<< mdaqLEDWrite Data acquisition mdaqMemWrite >>

MicroDAQ toolbox >> MicroDAQ toolbox > Data acquisition > mdaqMemRead

mdaqMemRead

Reads MEM Write block data

Calling Sequence

data = mdaqMemRead(start, size, vectorSize)
data = mdaqMemRead(linkID, start, size, vectorSize)

Description

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.

Parameters

Examples

// mdaqMemRead usage example
// read 10 values from memory index 5
mdaqMemRead(5, 10, 10);

See Also


Report an issue
<< mdaqLEDWrite Data acquisition mdaqMemWrite >>