Use cniGetOutputTerminal to locate a named output terminal, it if exists.
Returns a pointer to the named output terminal, or NULL if a terminal of this name does not exist.
CciTerminal* cniGetOutputTerminal(
int* returnCode,
CciNode* nodeObject,
CciChar* name);
A pointer to the named output terminal, or NULL if a terminal of this name does not exist. If an error occurs, the returnCode parameter indicates the reason for the error.