McSetParamNmStr
Assigns a string variable to a MultiCam parameter. The parameter is referred to by-name, and is preferably of the string or enumerated type.
[C] MCSTATUS McSetParamNmStr( |
Parameters
Instance
Handle of the instance of the parameter to configure.
ParamName
Pointer to a string containing the name of the parameter to configure.
ValueStr
Pointer to the string assigned to the parameter.
Remarks
If the MultiCam parameter is not of the string type, a type conversion is performed.
Example
The following code sets the channel-class select-level string parameter CamFile to the value CAM2000-I200SA.
//Setting the parameter using the by-name method
Status = McSetParamNmStr(ObjectHandle, "CamFile", "CAM2000-I200SA");
See Also