TimeStamp

Post Reply
avelazquez
Posts: 19
Joined: Mon Jun 07, 2010 7:40 am

TimeStamp

Post 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
Post Reply