C2xGetThisTimeNS
Valid for: CANoe DE NoteThis function is only usable in a CAPL callback that had been registered with C2xReceivePacket.
qword C2xGetThisTimeNS( void );
on preStart
{
C2xReceivePacket("OnC2xPacket");
}
void OnC2xPacket( long channel, long dir, long radioChannel, long signalStrength, long signalQuality, long packet )
{
float t;
t = (float)C2xGetThisTimeNS();
write("Received packet at %f [ns]", t );
}