#include <cx/PortAccess.h>int cxFireDataChanged ()
int cxFireDataChangedV (int *changeVec[] )
integer function cxFireDataChanged ()integer function cxFireDataChangedV(pChangedVec) pointer (pChangedVec, changedVec) integer changedVec(1)
cxFireDataChangedV returns the number of values in the changeVec array.
cxFireDataChangedV sets changeVec to the address of an array which contains a non-zero (or zero) value for each connection that has new data, and returns the number of connections in the array. The changeVec array is static and must not be deallocated. The changed flags correspond to the array of connection identifiers returned by cxInputDataConnIDGetV. cxFireDataChangedV will not return the current number of connections if connections were made and then disconnected. See cxInputDataGet for a discussion of what data value and changed flag are used in this case.
The port is considered new if any of the connections have new data. The port will be old the next time the module fires if no new data has arrived. It is not necessary to call cxInputDataGet or cxInputDataGetV for the "Fire" port.