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

McSetParamInt

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

[C]

MCSTATUS McSetParamInt(
  MCHANDLE Instance,
  MCPARAMID Param,
  INT32 ValueInt
);

Parameters

Instance

Handle of the instance of the parameter to configure.

Param

Identifier 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-ident method

Status = McSetParamInt(ObjectHandle, MC_SeqLength_Fr, 100);

See Also

By-Name vs. By-Ident Access

McSetParamNmInt