MultiCam Boards Documentation > MultiCam Documentation > MultiCam C Reference > Functions > Parameters Management > McSetParamNmInt

McSetParamNmInt

Assigns an integer variable to a MultiCam parameter. The parameter is referred to by-name, and is preferably of the integer or enumerated type.

[C]

MCSTATUS McSetParamNmInt(
  MCHANDLE Instance,
  PCHAR ParamName,
  INT32 ValueInt
);

Parameters

Instance

Handle of the instance of the parameter to configure.

ParamName

Pointer to a string containing the name of the parameter to configure.

ValueInt

Integer value assigned to the parameter.

Remarks

If the MultiCam parameter is not of the integer type, a type conversion is performed.

Example

The following code sets the channel-class adjust-level integer parameter SeqLength_Fr to the value 100.

//Setting the parameter using the by-name method

Status = McSetParamNmInt(ObjectHandle, "SeqLength_Fr", 100);

See Also

By-Name vs. By-Ident Access

McSetParamInt