User guide

E-29
PLI Access Routines
And you call a routine, such as the following:
handle hN = acc_handle_by_name(my_mem);
acc_get_mda_range(hN, &size, &msb, &lsb, &dim, &plndx,
&prndx);
It yields the following result:
size = 8;
msb = 7, lsb = 0;
dim = 4;
plndx[] = {255, 255, 31}
prndx[] = {0, 0, 0}
acc_get_mda_word_range()
The acc_get_mda_word_range routine returns the range of an
element in a multidimensional array.
acc_get_mda_word_range()
Synopsis: Gets the range of an element in a multidimensional array.
Syntax: acc_get_mda_range(mdaHandle, msb, lsb)
Type Description
Returns: void
Type Name Description
Arguments: handle mdaHandle Handle to the multidimensional
array
int * msb Pointer to the most significant bit
of a range
int * lsb Pointer to the least significant bit of
a range
Related
routines:
tf_mdanodeinfo and tf_imdanodeinfo
acc_get_mda_range
acc_getmda_bitstr
acc_setmda_bitstr