User`s guide

write
Datatypes Description
int16
Signed 16-bit integers
int32
Signed 32-bit integers
single
Single-precision oating point d ata
uint8
Unsigned 8-bit integers
uint16
Unsigned 16-bit
integers
uint32
Unsigned 32-bit integers
To limit the time that write spends transferring data from the
processor, the optional argument
timeout tells the data transfer
process to stop after
timeout seconds. timeout out is d ened as the
number of seconds allowed to complete the write operation. You may
nd thi s useful for l imiting prolon ged data transfer operations. If you
omit the
timeout option in the syntax, write defaults to the global
timeout dened in
cc.
write(cc,address,data) sends a block of data to m emory on the
processor referred to by
cc. The address and data input argum ents
dene the memory block to be written—where the memory starts and
what data is being written. The memory block to be written to begins at
the memory location dened by
address. data isthedatatobewritten,
and can be a scalar, a vector, a matrix, or a multidimensional array.
Data get written to memory in column-major order. Refer to the
preceding syntax for details about the input arguments. In this syntax,
timeout defaults to the global timeout period dened in cc.timeout.
Use
get to determine the default timeout value.
Like the
isreadable, iswritable,andread functions, write checks
for valid address values. Illegal address values would be any address
space larger than the available space for the processor 2
32
for the
C6xxx processor family and 2
16
for the C5xxx series. When the function
identies an illegal address, it returns an error m essage stating that
theaddressvaluesareoutofrange.
7-161