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.InitializeFD(TPCANHandle Channel,
TPCANBitrateFD BitrateFD)
Initializes a FD capable PCAN Channel
See PCAN_BR_* values Bitrate string must follow the following
construction rules: - parameters and values must be separated by '=' -
Couples of Parameter/value must be separated by ',' - Following Parameter
must be filled out: f_clock, data_brp, data_sjw, data_tseg1, data_tseg2,
nom_brp, nom_sjw, nom_tseg1, nom_tseg2. - Following Parameters are
optional (not used yet): data_ssp_offset, nom_samp
Example: f_clock_mhz=80, nom_brp=1, nom_tset1=63, nom_tseg2=16,
nom_sjw=7, data_brp=4, data_tset1=12, data_tseg2=7, data_sjw=1
|
TPCANStatus |
PCANBasic.Read(TPCANHandle Channel,
TPCANMsg MessageBuffer,
TPCANTimestamp TimestampBuffer)
Transmits a CAN message
|
TPCANStatus |
PCANBasic.ReadFD(TPCANHandle Channel,
TPCANMsgFD MessageBuffer,
TPCANTimestampFD TimestampBuffer)
Reads a CAN message from the receive queue of a FD capable PCAN Channel
|
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. static method
peak.can.basic.RcvEventDispatcher.dispatchRcvEvent is used to notify each
Receive-Event
|
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
|
TPCANStatus |
PCANBasic.WriteFD(TPCANHandle Channel,
TPCANMsgFD MessageBuffer)
Transmits a CAN message over a FD capable PCAN Channel
|
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)
|