Package | Description |
---|---|
peak.can.basic |
Modifier and Type | Method and Description |
---|---|
TPCANStatus |
PCANBasic.FilterMessages(TPCANHandle Channel,
int FromID,
int ToID,
TPCANMode Mode)
Configures the reception filter.
|
TPCANStatus |
PCANBasic.GetErrorText(TPCANStatus Error,
short Language,
java.lang.StringBuffer Buffer)
Returns a descriptive text of a given TPCANStatus error
code, in any desired language
The current languages available for translation are:
Neutral (0x00), German (0x07), English (0x09), Spanish (0x0A),
Italian (0x10) and French (0x0C)
|
TPCANStatus |
PCANBasic.GetStatus(TPCANHandle Channel)
Gets the current status of a PCAN Channel
|
TPCANStatus |
PCANBasic.GetValue(TPCANHandle Channel,
TPCANParameter Parameter,
java.lang.Object Buffer,
int BufferLength)
Retrieves a PCAN Channel value
Parameters can be present or not according with the kind
of Hardware (PCAN Channel) being used.
|
TPCANStatus |
PCANBasic.Initialize(TPCANHandle Channel,
TPCANBaudrate Btr0Btr1,
TPCANType HwType,
int IOPort,
short Interrupt)
Initializes a PCAN Channel
|
TPCANStatus |
PCANBasic.Read(TPCANHandle Channel,
TPCANMsg MessageBuffer,
TPCANTimestamp TimestampBuffer)
Transmits a CAN message
|
TPCANStatus |
PCANBasic.Reset(TPCANHandle Channel)
Resets the receive and transmit queues of the PCAN Channel
A reset of the CAN controller is not performed.
|
TPCANStatus |
PCANBasic.ResetRcvEvent(TPCANHandle Channel)
Resets the handle of the Receive-Event for the Channel.
|
TPCANStatus |
PCANBasic.SetRcvEvent(TPCANHandle Channel)
Sets the handle of the Receive-Event for the Channel.
|
TPCANStatus |
PCANBasic.SetValue(TPCANHandle Channel,
TPCANParameter Parameter,
java.lang.Object Buffer,
int BufferLength)
Configures or sets a PCAN Channel value
Parameters can be present or not according with the kind
of Hardware (PCAN Channel) being used.
|
TPCANStatus |
PCANBasic.Uninitialize(TPCANHandle Channel)
Uninitializes one or all PCAN Channels initialized by CAN_Initialize
Giving the TPCANHandle value "PCAN_NONEBUS",
uninitialize all initialized channels
|
static TPCANStatus |
TPCANStatus.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TPCANStatus[] |
TPCANStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
TPCANStatus |
PCANBasic.Write(TPCANHandle Channel,
TPCANMsg MessageBuffer)
Transmits a CAN message
|
Modifier and Type | Method and Description |
---|---|
TPCANStatus |
PCANBasic.GetErrorText(TPCANStatus Error,
short Language,
java.lang.StringBuffer Buffer)
Returns a descriptive text of a given TPCANStatus error
code, in any desired language
The current languages available for translation are:
Neutral (0x00), German (0x07), English (0x09), Spanish (0x0A),
Italian (0x10) and French (0x0C)
|