Port BUSACCESS - LIN¶
BluePiraT access to LIN
Stimulation¶
此端口不具备激励能力。
Properties 🛈¶
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
Channel number |
‘1’ |
string |
当存在多个同类型控制器时,用于选择通道号。 |
||
Bus-DB |
string |
||||
Export format |
[ONLINE] |
string |
Save signal recordings in this format |
Jobs 🛈¶
ClearFrame¶
清除指定帧的接收缓冲区
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
FrameId |
int |
Frame ID |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
ByteStream |
ByteStream |
DeregisterFrameForInbox¶
Ungeristers a frame that is being streamed to an inbox
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
FrameId |
int |
Frame ID |
|||
Inbox |
object |
现有收件箱 |
GetFirstValue¶
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
FrameName |
string |
Frame name |
|||
NodeName |
string |
电子控制单元的名称 |
|||
RawValue |
False |
[False, True] |
bool |
如果为 ‘True’,则返回原始值。 |
|
Reset |
False |
[False, True] |
bool |
若为 ‘True’,则第一个接收到的值在被读取后将被删除 |
|
SignalName |
string |
信号名称 |
InitFrame¶
Registers the frame for use with other jobs
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
FrameId |
int |
Frame ID |
ReadFrame¶
Reads the given frame ID (use InitLinFrame before!)
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
doDelete |
False |
[False, True] |
bool |
若为 “True”,则在读取后删除该帧 |
|
FrameId |
int |
Frame ID |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
ByteStream |
ByteStream |
ReadFrameEx¶
Reads the given frame ID (use InitLinFrame before!)
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
doDelete |
False |
[False, True] |
bool |
若为 “True”,则在读取后删除该帧 |
|
FrameId |
int |
Frame ID |
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
object |
LinFrame |
RegisterFrameForInbox¶
注册一个帧,以便将其流式传输到 Inbox。
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
FrameId |
int |
Frame ID |
|||
Inbox |
object |
现有收件箱 |
|||
saveAsLinFrame |
False |
[False, True] |
bool |
If True, the frame is saved as a LinFrame object, else as a ByteStream |
ResetFirstValue¶
清除给定信号的第一个已接收值
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
FrameName |
string |
Frame name |
|||
NodeName |
string |
电子控制单元的名称 |
|||
SignalName |
string |
信号名称 |
SendFrame¶
All in one: Set data, temporarily enable a frame, and send a master request. Frame ID must be registered in advance via the job “InitFrame”.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
checkSumMode |
‘Default’ |
[‘Enhanced’, ‘Classic’, ‘Default’] |
string |
Mode of the checksum calculation. With default the LIN version from the TBC is used for the determination. |
|
DataByteStream |
ByteStream |
要发送的数据 |
|||
FrameId |
int |
Frame ID |