File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -250,6 +250,9 @@ void ADEuresys::processFrame(ScopedBuffer &buf)
250250 setIntegerParam (NDArraySizeY, (int )nRows);
251251 setIntegerParam (NDArraySize, (int )dataSize);
252252 setIntegerParam (NDDataType, dataType);
253+ #ifdef NDBitsPerPixelString
254+ setIntegerParam (NDBitsPerPixel, bufferInfo.bitsPerPixel );
255+ #endif
253256 if (nDims == 3 ) {
254257 colorMode = NDColorModeRGB1;
255258 }
@@ -295,7 +298,10 @@ void ADEuresys::processFrame(ScopedBuffer &buf)
295298 } else {
296299 pRaw->uniqueId = numImagesCounter;
297300 }
298-
301+
302+ #ifdef NDBitsPerPixelString
303+ pRaw->bitsPerElement = bufferInfo.bitsPerPixel ;
304+ #endif
299305 updateTimeStamp (&pRaw->epicsTS );
300306 getIntegerParam (ESTimeStampMode, &timeStampMode);
301307 // Set the timestamps in the buffer
You can’t perform that action at this time.
0 commit comments