User`s guide

write
Purpose Write data to m emory on processor
Syntax write(cc,address,data,timeout)
write(cc,address,data)
Description ticcs Object Syntaxes
write(cc,address,data,timeout) sends a block of data to memory on
the processor referred to by
cc. The address and data input arguments
dene the memory block to write—where the mem ory starts and what
data is being written. The memory block to write to begins at the
memory location dened by
address. data isthedatatowrite,andcan
be a scalar, a vector, a matrix, or a multidimensional array.
Data get w ritten to m emory in column-major order.
timeout is an
optional input argum ent you use to terminate long write processes
and data transfers. For details about each input param eter, read the
following descriptions.
To update values in memory on a running processor, such as values
to change during processing, insert one or more breakpoints in the
project code and perform the write operation while the process or code
is paused at o ne of the breakp oin ts. After y ou read the d ata , releas e
the breakpoint.
Note
Do not attempt to write data to the processor while it is running.
Writing data to a running process can result in incorrect data in
memory or in program use.
address write uses address to dene the beginning of the memory
block to write to . Y ou provide values for address as either decimal or
hexadecimal re presentations of a me m ory location in the processor.
The full address at a memory location consists of two parts: the offset
and the memory page, entered as a vector [
location, page], a string ,
or a decimal value.
7-159