public static void Reset(string cameraName) { Debug.Assert(cameraName != null, "The cameraName parameter cannot be null."); int status = NiImaqdxDll.IMAQdxResetCamera(cameraName, Convert.ToUInt32(false)); ExceptionBuilder.CheckErrorAndThrow(status); }
public static void ResetAll() { int status = NiImaqdxDll.IMAQdxResetCamera(String.Empty, Convert.ToUInt32(true)); ExceptionBuilder.CheckErrorAndThrow(status); }