12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

¡data_grp(grp, npts, wid) — Configures data group grp . The group will have nptspoints, each having wid elements. If npts and wid match the previous valuesfor the group, the data in the group is unchanged. Otherwise, the data valuesof the reconfigured group are set to zero. If wid is zero, the group is eliminated.If npts is zero, as many points as possible are configured. If npts isnegative, as many points as possible, but not more than −npts are configured.If grp ¡£ ¢£¢¥¤ § §£ ¢ § £data_info(grp, what) — Returns data group configuration information for groupgrp ,according to the the string what .Values for what are:¢ § ¥¡¤£ ¡£¥¡£ ¥¨© ¦¥"npts" — the number of configured points."elem" — the number of configured elements."last" — the number of the last point added to the group."precision" — the number of bytes per element, either 4 or 8.If the group number is invalid, or if the string what is none of the above,£ ¢£¢data_get(grp, npt, elem) — Returns the value of element elem of point npt in groupgrp .§ § £data_put(grp, npt, elem, val) —npt in group grp .Assigns the value val to element elem of pointdata_nput(grp, npt, val0 [, val1 ... ]) — Assigns values to point npt of groupgrp . Element 0 is assigned val0 ,element 1 is assigned val1 ,etc. Not all elementsneed be given, although elements are assigned successively, starting atelement 0.data_uop(g_src, e_src, g_dst, e_dst, uop [, val ]) — Performs the unary operation<strong>spec</strong>ified by the string uop on element e_src for all points in group g_src .The results are put in element e_dst of the corresponding points in groupg_dst . The source and destination groups and/or elements may be the same.If the number of points in the groups differ, the operation is carried out on upto the smallest number of points among the groups. Values for uop are:"clr" — clear to zero."fill" — each element is set to point number,starting at 0."neg" — Negative of source."abs" — Absolute value of source."inv" — Inverse of source."sin" — Sine of source."cos" — Cosine of source."tan" — Tangent of source.INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION REFERENCE MANUAL 107

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!