[WIP]

- fixed bug in calculation of Double image
- included attr debugInt
- add block for DoubleImage in Pco2k
- cosmetics - rename variables / format
- temp save
parent ffe0c9d8
2017/07/07 21:56:39 ==========================================
2017/07/09 23:29:30 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_215637]
to: [/t/rhoms1/install-2017-07-07_215637]
to: [/t/rhoms1/install-beta]
2017/07/07 21:52:51 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_215249]
to: [/t/rhoms1/install-2017-07-07_215249]
to: [/t/rhoms1/install-beta]
2017/07/07 21:42:08 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_214206]
to: [/t/rhoms1/install-2017-07-07_214206]
to: [/t/rhoms1/install-beta]
2017/07/07 21:06:37 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_210635]
to: [/t/rhoms1/install-2017-07-07_210635]
to: [/t/rhoms1/install-beta]
2017/07/07 21:05:07 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_210505]
to: [/t/rhoms1/install-2017-07-07_210505]
to: [/t/rhoms1/install-beta]
2017/07/07 20:57:05 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_205704]
to: [/t/rhoms1/install-2017-07-07_205704]
to: [/t/rhoms1/install-beta]
2017/07/07 20:39:44 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_203942]
to: [/t/rhoms1/install-2017-07-07_203942]
to: [/t/rhoms1/install-beta]
2017/07/07 20:35:35 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_203534]
to: [/t/rhoms1/install-2017-07-07_203534]
to: [/t/rhoms1/install-beta]
2017/07/07 20:24:20 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_202419]
to: [/t/rhoms1/install-2017-07-07_202419]
to: [/t/rhoms1/install-beta]
2017/07/07 19:50:07 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_195006]
to: [/t/rhoms1/install-2017-07-07_195006]
to: [/t/rhoms1/install-beta]
2017/07/07 19:23:07 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_192259]
to: [/t/rhoms1/install-2017-07-07_192259]
to: [/t/rhoms1/install-beta]
2017/07/07 19:01:27 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_190125]
to: [/t/rhoms1/install-2017-07-07_190125]
to: [/t/rhoms1/install-beta]
2017/07/07 18:21:45 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_182143]
to: [/t/rhoms1/install-2017-07-07_182143]
to: [/t/rhoms1/install-beta]
2017/07/07 18:05:43 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_180541]
to: [/t/rhoms1/install-2017-07-07_180541]
to: [/t/rhoms1/install-beta]
2017/07/07 17:59:41 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_175939]
to: [/t/rhoms1/install-2017-07-07_175939]
to: [/t/rhoms1/install-beta]
2017/07/07 17:34:31 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_173429]
to: [/t/rhoms1/install-2017-07-07_173429]
to: [/t/rhoms1/install-beta]
2017/07/07 17:27:50 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_172748]
to: [/t/rhoms1/install-2017-07-07_172748]
to: [/t/rhoms1/install-beta]
2017/07/07 17:22:41 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_172239]
to: [/t/rhoms1/install-2017-07-07_172239]
to: [/t/rhoms1/install-beta]
2017/07/07 17:10:39 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_171037]
to: [/t/rhoms1/install-2017-07-07_171037]
to: [/t/rhoms1/install-beta]
2017/07/07 16:44:14 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_164412]
to: [/t/rhoms1/install-2017-07-07_164412]
to: [/t/rhoms1/install-beta]
2017/07/07 16:25:30 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_162529]
to: [/t/rhoms1/install-2017-07-07_162529]
to: [/t/rhoms1/install-beta]
2017/07/07 15:45:37 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_154535]
to: [/t/rhoms1/install-2017-07-07_154535]
to: [/t/rhoms1/install-beta]
2017/07/07 15:29:36 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_152934]
to: [/t/rhoms1/install-2017-07-07_152934]
to: [/t/rhoms1/install-beta]
2017/07/07 15:16:37 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_151635]
to: [/t/rhoms1/install-2017-07-07_151635]
to: [/t/rhoms1/install-beta]
2017/07/07 14:51:44 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_145142]
to: [/t/rhoms1/install-2017-07-07_145142]
to: [/t/rhoms1/install-beta]
2017/07/07 14:14:56 ==========================================
scp: copied local directory to segfs and /tmp_14_days:
from: [../../install/] and [./bat/]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-07_141455]
to: [/t/rhoms1/install-2017-07-07_141455]
to: [blissadm@lid00a:/segfs/bliss/projects/LIMA/build/depot_win/win_vc9/pco/install-2017-07-09_232927]
to: [/t/rhoms1/install-2017-07-09_232927]
to: [/t/rhoms1/install-beta]
......
......@@ -92,21 +92,21 @@ namespace lima
int m_ImageBufferSize;
public:
BufferCtrlObj(Camera *cam);
void prepareAcq();
void startAcq();
//void getStatus(int &err,bool& exposing) {err = m_status,exposing = m_exposing;}
void getStatus(int &err) {err = m_cam->pcoGetError();}
//void setStatus(int status) {m_status = status;}
//------------------------------------------------------------- moved from taco
int _xferImagDoubleImage();
int _xferImag();
int _xferImag_getImage();
int _xferImag_getImage_edge();
int _xferImagMult();
BufferCtrlObj(Camera *cam);
void prepareAcq();
void startAcq();
//void getStatus(int &err,bool& exposing) {err = m_status,exposing = m_exposing;}
void getStatus(int &err) {err = m_cam->pcoGetError();}
//void setStatus(int status) {m_status = status;}
void _setNewFrameReady(int iLimaFrame);
int _xferImagMultDoubleImage();
int _xferImagDoubleImage();
int _xferImag();
int _xferImag_getImage();
int _xferImag_getImage_edge();
int _xferImagMult();
void *_getLimaBuffer(int lima_buffer_nb, Sync::Status &status);
void _pcoAllocBuffersFree();
void _pcoAllocBuffersInfo(int &nr, DWORD &size);
......
......@@ -1039,6 +1039,13 @@ namespace lima
void getDoubleImageMode(int & val);
void setDoubleImageMode(int val);
void getDebugIntTypes(std::string &o_sn);
void getDebugInt(std::string &o_sn);
void setDebugInt(std::string &i_sn);
void setTest(int val) ;
void getTest(int &val) ;
}; // class camera
} // namespace pco
} // namespace lima
......
......@@ -89,6 +89,15 @@ namespace Pco
void getSdkRelease(std::string &o_sn /Out/) ; // versionSdk
void getDebugIntTypes(std::string &o_sn /Out/);
void getDebugInt(std::string &o_sn /Out/);
void setDebugInt(std::string &i_sn);
void setTest(int val) ;
void getTest(int &val /Out/) ;
};
};
......
This diff is collapsed.
......@@ -1219,7 +1219,7 @@ void _pco_acq_thread_dimax(void *argin) {
int error;
int _nrStop;
DWORD _dwValidImageCnt, _dwMaxImageCnt;
DWORD _dwPcoValidImageCnt, _dwPcoMaxImageCnt;
Camera* m_cam = (Camera *) argin;
SyncCtrlObj* m_sync = m_cam->_getSyncCtrlObj();
......@@ -1242,7 +1242,9 @@ void _pco_acq_thread_dimax(void *argin) {
tStart0 = tStart;
long timeout, timeout0, msNowRecordLoop, msRecord, msXfer, msTotal;
int nb_acq_frames;
DWORD dwPcoAcquiredFrames;
int iLimaAcquiredFrames;
int requestStop = stopNone;
HANDLE m_handle = m_cam->getHandle();
......@@ -1255,17 +1257,25 @@ void _pco_acq_thread_dimax(void *argin) {
DWORD dwMsSleepOneFrame = (DWORD) (msPerFrame/5.0); // 4/5 rounding
if(dwMsSleepOneFrame == 0) dwMsSleepOneFrame = 1; // min sleep
WORD wDoubleImage;
int err;
m_cam->_pco_GetDoubleImageMode(wDoubleImage, err);
bool nb_frames_fixed = false;
int nb_frames; m_sync->getNbFrames(nb_frames);
m_pcoData->traceAcq.nrImgRequested0 = nb_frames;
int iLimaRequestedFrames; m_sync->getNbFrames(iLimaRequestedFrames);
m_pcoData->traceAcq.nrImgRequested0 = iLimaRequestedFrames;
WORD dwPcoRequestedFrames = wDoubleImage ? iLimaRequestedFrames/2 : iLimaRequestedFrames;
m_sync->setAcqFrames(0);
timeout = timeout0 = (long) (msPerFrame * (nb_frames * 1.3)); // 30% guard
timeout = timeout0 = (long) (msPerFrame * (iLimaRequestedFrames * 1.3)); // 30% guard
if(timeout < TOUT_MIN_DIMAX) timeout = TOUT_MIN_DIMAX;
m_pcoData->traceAcq.msTout = m_pcoData->msAcqTout = timeout;
_dwValidImageCnt = 0;
_dwPcoValidImageCnt = 0;
m_sync->getExpTime(m_pcoData->traceAcq.sExposure);
m_sync->getLatTime(m_pcoData->traceAcq.sDelay);
......@@ -1273,40 +1283,40 @@ void _pco_acq_thread_dimax(void *argin) {
m_sync->setExposing(pcoAcqRecordStart);
while(true) {
m_cam->_pco_GetNumberOfImagesInSegment(wSegment, _dwValidImageCnt, _dwMaxImageCnt, error);
m_cam->_pco_GetNumberOfImagesInSegment(wSegment, _dwPcoValidImageCnt, _dwPcoMaxImageCnt, error);
if(error) {
printf("=== %s [%d]> ERROR %s\n", fnId, __LINE__, "_pco_GetNumberOfImagesInSegment");
throw LIMA_HW_EXC(Error, "PCO_GetNumberOfImagesInSegment");
}
m_pcoData->dwValidImageCnt[wSegment-1] =
m_pcoData->traceAcq.nrImgRecorded = _dwValidImageCnt;
m_pcoData->traceAcq.nrImgRecorded = _dwPcoValidImageCnt;
m_pcoData->dwMaxImageCnt[wSegment-1] =
m_pcoData->traceAcq.maxImgCount = _dwMaxImageCnt;
m_pcoData->traceAcq.maxImgCount = _dwPcoMaxImageCnt;
m_pcoData->msAcqTnow = msNowRecordLoop = msElapsedTime(tStart);
m_pcoData->traceAcq.msRecordLoop = msNowRecordLoop;
if( ((DWORD) nb_frames > _dwMaxImageCnt) ){
if( (dwPcoRequestedFrames > _dwPcoMaxImageCnt) ){
nb_frames_fixed = true;
sprintf_s(msgErr,LEN_ERROR_MSG,
"=== %s [%d]> ERROR INVALID NR FRAMES fixed nb_frames[%d] _dwMaxImageCnt[%d]",
fnId, __LINE__, nb_frames, _dwMaxImageCnt);
"=== %s [%d]> ERROR INVALID NR FRAMES fixed nb_frames[%d] _dwPcoMaxImageCnt[%d]",
fnId, __LINE__, dwPcoRequestedFrames, _dwPcoMaxImageCnt);
printf("%s\n", msgErr);
m_sync->setExposing(pcoAcqError);
break;
}
if( (_dwValidImageCnt >= (DWORD) nb_frames)) break;
if( (_dwPcoValidImageCnt >= dwPcoRequestedFrames)) break;
if((timeout < msNowRecordLoop) && !m_pcoData->bExtTrigEnabled) {
//m_sync->setExposing(pcoAcqRecordTimeout);
//m_sync->stopAcq();
m_sync->setExposing(pcoAcqStop);
printf("=== %s [%d]> TIMEOUT!!! tout[(%ld) 0(%ld)] recLoopTime[%ld ms] lastImgRecorded[%ld] nrImgRequested[%d]\n",
fnId, __LINE__, timeout, timeout0, msNowRecordLoop, _dwValidImageCnt, nb_frames);
printf("=== %s [%d]> TIMEOUT!!! tout[(%ld) 0(%ld)] recLoopTime[%ld ms] lastImgRecorded[%ld] dwPcoRequestedFrames[%d]\n",
fnId, __LINE__, timeout, timeout0, msNowRecordLoop, _dwPcoValidImageCnt, dwPcoRequestedFrames);
break;
}
......@@ -1317,7 +1327,7 @@ void _pco_acq_thread_dimax(void *argin) {
//m_buffer->_setRequestStop(stopProcessing);
//m_sync->setExposing(pcoAcqStop);
snprintf(msg,LEN_TRACEACQ_MSG, "=== %s> STOP REQ (recording). lastImgRec[%d]\n", fnId, _dwValidImageCnt);
snprintf(msg,LEN_TRACEACQ_MSG, "=== %s> STOP REQ (recording). lastImgRec[%d]\n", fnId, _dwPcoValidImageCnt);
printf(msg);
m_pcoData->traceMsg(msg);
break;
......@@ -1337,16 +1347,17 @@ void _pco_acq_thread_dimax(void *argin) {
if( (requestStop != stopRequest) && (!nb_frames_fixed)) {
if(m_sync->getExposing() == pcoAcqRecordStart) m_sync->setExposing(pcoAcqRecordEnd);
m_cam->_pco_GetNumberOfImagesInSegment(wSegment, _dwValidImageCnt, _dwMaxImageCnt, error);
m_cam->_pco_GetNumberOfImagesInSegment(wSegment, _dwPcoValidImageCnt, _dwPcoMaxImageCnt, error);
if(error) {
printf("=== %s [%d]> ERROR %s\n", fnId, __LINE__, msg);
throw LIMA_HW_EXC(Error, "PCO_GetNumberOfImagesInSegment");
}
m_pcoData->dwValidImageCnt[wSegment-1] =
m_pcoData->traceAcq.nrImgRecorded = _dwValidImageCnt;
m_pcoData->traceAcq.nrImgRecorded = _dwPcoValidImageCnt;
nb_acq_frames = (_dwValidImageCnt < (DWORD) nb_frames) ? _dwValidImageCnt : nb_frames;
dwPcoAcquiredFrames = (_dwPcoValidImageCnt < dwPcoRequestedFrames) ? _dwPcoValidImageCnt : dwPcoRequestedFrames;
iLimaAcquiredFrames = wDoubleImage ? dwPcoAcquiredFrames*2 : dwPcoAcquiredFrames;
//m_sync->setAcqFrames(nb_acq_frames);
// dimax recording time
......@@ -1355,12 +1366,12 @@ void _pco_acq_thread_dimax(void *argin) {
m_pcoData->traceAcq.endRecordTimestamp = m_pcoData->msAcqRecTimestamp = getTimestamp();
m_pcoData->traceAcq.nrImgAcquired = nb_acq_frames;
m_pcoData->traceAcq.nrImgRequested = nb_frames;
m_pcoData->traceAcq.nrImgAcquired = iLimaAcquiredFrames;
m_pcoData->traceAcq.nrImgRequested = iLimaRequestedFrames;
msElapsedTimeSet(tStart); // reset for xfer
if(nb_acq_frames < nb_frames) m_sync->setNbFrames(nb_acq_frames);
if(iLimaAcquiredFrames < iLimaRequestedFrames) m_sync->setNbFrames(iLimaAcquiredFrames);
// if(m_buffer->_getRequestStop()) {
// m_sync->setExposing(pcoAcqStop);
......@@ -1371,9 +1382,6 @@ void _pco_acq_thread_dimax(void *argin) {
{
pcoAcqStatus status;
WORD wDoubleImage;
int err;
m_cam->_pco_GetDoubleImageMode(wDoubleImage, err);
if(m_cam->_isCameraType(Pco2k | Pco4k)){
......@@ -1382,7 +1390,7 @@ void _pco_acq_thread_dimax(void *argin) {
} else {
if(wDoubleImage)
{
status = (pcoAcqStatus) m_buffer->_xferImagDoubleImage(); // <------------- default dimax YES waitobj
status = (pcoAcqStatus) m_buffer->_xferImagMultDoubleImage(); // <------------- default pco2k/4k NO waitobj
}
else
{
......@@ -1415,7 +1423,7 @@ void _pco_acq_thread_dimax(void *argin) {
//m_sync->setExposing(status);
m_pcoData->dwMaxImageCnt[wSegment-1] =
m_pcoData->traceAcq.maxImgCount = _dwMaxImageCnt;
m_pcoData->traceAcq.maxImgCount = _dwPcoMaxImageCnt;
// traceAcq info - dimax xfer time
m_pcoData->msAcqXfer = msXfer = msElapsedTime(tStart);
......@@ -1429,7 +1437,7 @@ void _pco_acq_thread_dimax(void *argin) {
sprintf_s(_msg, LEN_MSG, "%s [%d]> [EXIT] imgRecorded[%d] coc[%g] recLoopTime[%ld] "
"tout[(%ld) 0(%ld)] rec[%ld] xfer[%ld] all[%ld](ms)\n",
fnId, __LINE__, _dwValidImageCnt, msPerFrame, msNowRecordLoop, timeout, timeout0, msRecord, msXfer, msTotal);
fnId, __LINE__, _dwPcoValidImageCnt, msPerFrame, msNowRecordLoop, timeout, timeout0, msRecord, msXfer, msTotal);
m_cam->_traceMsg(_msg);
// included in 34a8fb6723594919f08cf66759fe5dbd6dc4287e only for dimax (to check for others)
......
......@@ -3558,3 +3558,81 @@ void Camera::setDoubleImageMode(int mode)
_pco_SetDoubleImageMode(wMode, error);
}
//====================================================================
// SIP - attrib
//====================================================================
void Camera::getDebugInt(std::string &o_sn)
{
char *ptr = buff;
char *ptrMax = buff + sizeof(buff);
unsigned long long debugLevel;
debugLevel = m_pcoData->debugLevel;
ptr += sprintf_s(ptr, ptrMax - ptr, "0x%llx (%lld)", debugLevel, debugLevel);
o_sn = buff;
}
void Camera::setDebugInt(std::string &i_sn)
{
DEB_MEMBER_FUNCT();
unsigned long long debugLevel;
const char *strIn = i_sn.c_str();
debugLevel = _atoi64(strIn);
m_pcoData->debugLevel = debugLevel;
}
void Camera::getDebugIntTypes(std::string &o_sn)
{
char *ptr = buff;
char *ptrMax = buff + sizeof(buff);
#define _PRINT_DBG( x ) ptr += sprintf_s(ptr, ptrMax - ptr, "%15s 0x%08x\n", #x, x )
ptr += sprintf_s(ptr, ptrMax - ptr, "\n");
_PRINT_DBG( DBG_BUFF ) ;
_PRINT_DBG( DBG_XFER2LIMA ) ;
_PRINT_DBG( DBG_LIMABUFF ) ;
_PRINT_DBG( DBG_EXP ) ;
_PRINT_DBG( DBG_XFERMULT ) ;
_PRINT_DBG( DBG_XFERMULT1 ) ;
_PRINT_DBG( DBG_ASSIGN_BUFF ) ;
_PRINT_DBG( DBG_DUMMY_IMG ) ;
_PRINT_DBG( DBG_WAITOBJ ) ;
_PRINT_DBG( DBG_XFER_IMG ) ;
_PRINT_DBG( DBG_ROI ) ;
o_sn = buff;
}
//====================================================================
// SIP - attrib
//====================================================================
void Camera::setTest(int val)
{
DEB_MEMBER_FUNCT();
int val0 = val;
val *= 2;
DEB_ALWAYS() << DEB_VAR2(val0, val);
}
void Camera::getTest(int &val)
{
DEB_MEMBER_FUNCT();
int valIn;
valIn = val;
val += 10;
DEB_ALWAYS() << DEB_VAR2(valIn, val);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment