TPCANBitrateFD

PCAN-Basic

PCAN-Basic Documentation
Home
PreviousUpNext
TPCANBitrateFD

Represents a bit rate string with flexible data rate (FD).

Syntax
#define TPCANBitrateFD LPSTR
TPCANBitrateFD = String;
using TPCANBitrateFD = System.String;
#define TPCANBitrateFD System::String^
Imports TPCANBitrateFD = System.String
TPCANBitrateFD = c_char_p

.NET Framework programming languages: 

An alias is used to represent a flexible data rate 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 String. 

C#:  

using System;
using Peak.Can.Basic;
using TPCANBitrateFD = System.String; // Alias's declaration for System.String

Visual Basic:

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