How to get a Collection parameter
Any type of parameter can assume the collection flavor.
The following is a code example getting the second element of the channel-class adjust-level integer collection parameter SignalEvent according to all possible methods:
//Declaring an integer variable
INT32 MyEvent;
//Getting the element using the by-ident method
Status = McGetParamInt(ObjectHandle, MC_SignalEvent+1, & MyEvent);
//Getting the element using the by-name method
Status = McGetParamNmInt(ObjectHandle, "SignalEvent:1", & MyEvent);
The element selector is zero-based, thus "1" designates the second element.
The Status variable can be used for error checking.