Write a portion to a ringbuffer
[sim] = ld_write_ringbuf(sim, events, data, ident_str, datatype, ElementsToWrite)
data *+(ElementsToWrite) - data
ident_str (string) - name of the memory
datatype - ORTD datatype of the memory (for now only ORTD.DATATYPE_FLOAT)
ElementsToWrite (integer) - number of elements to write to the memory