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

McGetParamNmInt

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

[C]

MCSTATUS McGetParamNmInt(
  MCHANDLE Instance,
  PCHAR ParamName,
  PINT32 ValueInt
);

Parameters

Instance

Handle of the instance of the parameter to read.

ParamName

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

ValueInt

Pointer to the integer variable that receives the parameter value.

Remarks

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

Example

The following code gets the channel-class expert-level integer parameter Elapsed_Fr.

//Declaring an integer variable

INT32 MyCount;

//Getting the parameter using the by-name method

Status = McGetParamNmInt(ObjectHandle, "Elapsed_Fr", &MyCount);

See Also

By-Name vs. By-Ident Access

McGetParamInt