<< mdaqMemRead Data acquisition mdaqPWMInit >>

MicroDAQ toolbox >> MicroDAQ toolbox > Data acquisition > mdaqMemWrite


Writes MicroDAQ memory

Calling Sequence

mdaqMemWrite(index, data)
mdaqMemWrite(linkID, index, data)


This function writes MicroDAQ memory. Together with 'MEM Read' block, function can be used in Standalone and Ext applications to change its parameters.



// mdaqMemWrite usage example
// write 10 values to MicroDAQ memory at beginning index 5
// those values will be stored under 5-15 indexes 
data = ones(1, 10);
mdaqMemWrite(5, data);

See Also

Report an issue
<< mdaqMemRead Data acquisition mdaqPWMInit >>