TPCANTimestampFD

PCAN-Basic

PCAN-Basic Documentation
Home
PreviousUpNext
TPCANTimestampFD

Represents the timestamp of a CAN message with flexible data rate. The time-stamp contains the number of microseconds since the start of Windows.

Syntax
#define TPCANTimestampFD UINT64
TPCANTimestampFD = UInt64;
using TPCANTimestampFD = System.UInt64;
#define TPCANTimestampFD System::UInt64
Imports TPCANTimestampFD = System.UInt64
TPCANTimestampFD = c_ulonglong

.NET Framework programming languages: 

An alias is used to represent a timestamp for flexible data rate messages under Microsoft .NET in order to originate an homogeneity between all programming languages listed above. 

Aliases are defined in the Peak.Can.Basic Namespace for C# and VB .NET. However, including a namespace does not include the defined aliases. 

If it is wished to work with aliases, those must be copied to the working file, right after the inclusion of the Peak.Can.Basic Namespace. Otherwise, just use the native type, which in this case is a UInt64. 

C#:  

using System;
using Peak.Can.Basic;
using TPCANTimestampFD = System.UInt64; // Alias's declaration for System.UInt64

Visual Basic:

Imports System
Imports Peak.Can.Basic
Imports TPCANTimestampFD = System.UInt64 ' Alias declaration for System.UInt64
Copyright © 2017. PEAK-System Technik GmbH. All rights reserved.
Send feedback to this documentation