Page 1 of 1

TimeStamp

Posted: Thu Nov 11, 2010 2:51 pm
by avelazquez
Hello,

I am trying to use get_TimeStamp and get_TimeStampFrequecy, the values I obtain do not make sense perhaps I am utilizing these values erroneously.

below is a sample:

//globally declared
CComVariant TimeStamp, TimeStampFrequency;
double TimeStampStuff[1][someNumber];
double TimeFrequency[1][someNumber];


HandleFrameAvailable(INPCamera * pCamera)
{

camera->GetFrame(0, &NewFrame);
NewFrame->get_TimeStamp(&TimeStamp);

TimeStampStuff[0][lngFrameCount]=V_R8(&TimeStamp); //(V_R8 to convert to a double;

}




Thanks