1 PLIN-API Documentation - PEAK-System
1 PLIN-API Documentation - PEAK-System
1 PLIN-API Documentation - PEAK-System
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
4.2 Types <strong>PLIN</strong> <strong>API</strong> <strong>Documentation</strong> TLINMsgErrors<br />
4.2.2 HLINHW<br />
Represents a LIN Hardware handle. The available LIN hardware handles are returned by the LIN function<br />
GetAvailableHardware ( see page 65).<br />
Syntax<br />
Pascal<br />
C++<br />
C#<br />
HLINHW = Word;<br />
typedef WORD HLINHW;<br />
using HLINHW = <strong>System</strong>.UInt16;<br />
Visual Basic<br />
Imports HLINHW = <strong>System</strong>.UInt16<br />
Remarks<br />
.NET Framework programming languages:<br />
An alias is used to represent a Hardware handle under Microsoft .NET in order to originate an homogeneity between all<br />
programming languages listed above.<br />
Aliases are defined in the Peak.Lin ( see page 48) Namespace for C# and VB.NET. However, including a namespace does<br />
not include the defined aliases.<br />
If it is wished to work with aliases, those must be copied to the working file, right after the inclusion of the Peak.Lin ( see<br />
page 48) Namespace. Otherwise, just use the native type, which in case of the HLINHW is UInt16.<br />
C#<br />
using <strong>System</strong>;<br />
using Peak.Lin;<br />
using HLINCLIENT = <strong>System</strong>.Byte;<br />
using HLINHW = <strong>System</strong>.UInt16;<br />
Visual Basic<br />
Imports <strong>System</strong><br />
Imports Peak.Lin<br />
Imports HLINCLIENT = <strong>System</strong>.Byte<br />
Imports HLINHW = <strong>System</strong>.UInt16<br />
See Also<br />
GetAvailableHardware ( see page 65)<br />
4.2.3 TLINMsgErrors<br />
Represents the Error flags for LIN received messages. According with the programming language, this type can be a group<br />
of defined values or an enumeration.<br />
Syntax<br />
34<br />
4