Industrial Cameras FAQ/When TeliCamAPI Strm_ReadCurre...

When TeliCamAPI Strm_ReadCurrentImage () is executed, BUFFER_TOO_SMALL is returned.  (When CameraStream.ReadCurrentImage () is executed, CamApiStatus.BufferTooSmall will be returned.(No.1538)

If you specify a value smaller than the maxPayloadSize value returned from Strm_OpenSimple () for the puiSize argument of Stream_ReadCurrentImage (), BUFFER_TOO_SMALL will be returned as status. (If you specify a value smaller than the maxPayloadSize value returned from CamStream.Open () for the size argument of CamStream.ReadCurrentImage (), CamApiStatus.BufferTooSmall Will be returned as status.)

Application should specify a value more than or equal to the maxPayloadSize value returned from Strm_OpenSimple () for the puiSize argument of Stream_ReadCurrentImage ().

In the case of BU/DU series camera, if image size or PixelFormat is changed after opening the stream, application will fail to acquire proper images.

In the case of BG series camera, application may succeed in acquiring images even if the image size or PixelFormat is changed after opening the stream, when image size after changing parameters is smaller than maxPayloadSize returned from Strm_OpenSimple.

Even if size of images sent from the camera is smaller than the maxPayloadSize value returned from Strm_OpenSimple(), application should specify more than or equal to the maxPayloadSize value to buffer size argument of Stream_ReadCurrentImage (). Otherwise, BUFFER_TOO_SMALL or CamApiStatus.BufferTooSmall will be returned.

Image size and PixelFormat recommend editing the value when the stream is closed.

back

Was this FAQ helpful?

Please let us know your opinion about the FAQ so that we will be able to improve our FAQ. (Within 800 characters)
Note: If you need a reply to your inquiry (e.g. inquiry about products), please use the inquiries form provided on Contact Us page. Please note that we cannot answer to your questions filled in below.

Please click below to change the cookie settings used on our website.