NPOST

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 15:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NPOST

Usage:

NPOST TABLE N X0 .. X9

Inputs:
TABLE
The data exchange table item (string). The table item must be a parameter table.
N
The delay cycles (number)
Xi
The data inputs (any type)
Function:

Copy the input data to the data exchange table at every N-th evaluation cycle. If N <= 0, the table update is disabled. If the inputs are vectors, they must be the same length, and each vector is copied to a table column. If an input is an array, each column of the array is copied to a table column. Every time the table is updated, the message "SPU spuitem INFO NPOST tableitem" is posted to the shell owning the spu item.