TTTech: TTXConnexion¶
供应商信息
Vendor |
Web page |
产品名称 |
Version |
|---|---|---|---|
TTTech Automotive GmbH |
TTXConnexion |
Categories
MDL 🛈 |
APL 🛈 |
BAN 🛈 |
BMA 🛈 |
SVC 🛈 |
DGN 🛈 |
FIU 🛈 |
EES 🛈 |
FCT 🛈 |
DBG 🛈 |
IMG 🛈 |
AUDIO 🛈 |
ENVSIM 🛈 |
ENVCOM 🛈 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
✓ |
✓ |
Platform
操作系统 |
Support |
|---|---|
Windows |
✓ |
Linux |
Ports¶
Specifics¶
Precondition for Port BUSACCESS usage
This software provides a limited bus access port to the TTXConnection. It is possible to manipulate signal values and to suppress routed bus frames.
To use the BUSSACCESS port, the TTXConnexion scenario must be created according to the following rules:
Frame-(de-)activation: For each frame one trigger, one variable and one manipulation function have to be defined.
The name of the variable has to match following pattern: BusName_FrameName_disable
The trigger is activated (“special condition (On)”) if the “disable” variable takes the value 1.
- The manipulation function copies the input frame without alteration to the output as long as
the Trigger is not active.
Signal manipulation: For each signal one trigger, two variables and one manipulation function have to be defined.
The names of the variables have to match the following patterns: BusName_FrameName_SignalName_switch, BusName_FrameName_SignalName_value
The Trigger is activated(special condition (On)), if the “switch” variable takes the value 1.
The manipulation function sets the output signal value to the value(raw) of the “value” variable whenever the corresponding Trigger is activated.
Two special treatments are implemented for Alive and CRC signals:
Alive signal values can be “frozen”. In this case a new trigger has to be defined, which is activated if the “switch” variable takes the value 2. Depending on this trigger, a new manipulation function has to set the output signal to the last value of the input signal while the trigger is active. The “value” variable is to be ignored.
CRC signal values can be “frozen” in the same way. Additionally, a third trigger which is activated whenever the “switch” variable is set to 3 enables the “Offset” operation: A new manipulation function adds an arbitrary (non-zero) offset to input signal. The “value” variable will be ignored.
Please note: The value used instead of the BusName place holder must correspond to the selected bus label (ignoring suffix) in the ecu.test test configuration.
Properties 🛈¶
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
TTX configurator version |
‘n.a’ |
string |
Used TTX configurator version |
||
Scenario file |
string |
Scenario file which should be used. If the path is relative, the base path of the tool host settings is used and will be extended by the scenario file. |
|||
Load the Scenario on tool start |
☐ |
bool |
Downloads and starts the referenced scenario on the TTXConnexion |
||
Connection type |
‘USB’ |
[‘USB’, ‘Ethernet’] |
string |
Connection type |
|
IP address ❲ethernet only❳ |
‘192.168.130.18’ |
string |
Predefined IP address of the TTXConnexion (only for ethernet connection). |
||
Subnet mask |
‘255.255.255.0’ |
string |
Subnet mask (only for Ethernet connection). |
||
Gateway ❲ethernet only❳ |
‘0.0.0.0’ |
string |
Standard Gateway (only for ethernet connection). |
||
Timeout for tool call ❲in sec.❳ |
‘600’ |
string |
工具调用被中止前的超时时间。 |
Jobs 🛈¶
BlinkLED1¶
Sets number and duration of blinks of the LED “User 1”
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
count |
2 |
int |
Number of blinks |
||
msDuration |
100 |
int |
Duration in ms |
CloseScenario¶
Closes the open scenario
Connect¶
Establishes a connection to the TTXConnexion
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
connectionTypeName |
‘USB’ |
[‘USB’, ‘Ethernet’] |
string |
Connection type |
Disconnect¶
Disconnects the TTXConnexion
DownloadConfig¶
Downloads the configuration from the referenced directory to the TTXConnexion.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
cfgDir |
string |
Configuration directory |
EnableLED2¶
Sets the LED “User 2”
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
state |
True |
[False, True] |
bool |
Activation state (True = On, False = Off) |
GenerateConfig¶
Generates the configuration into the referenced directory.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
cfgDir |
string |
Target directory |
GetHWVersionInfo¶
Gets the versions of the TTXConnexion
Parameterization
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
Versions |
object |
Version tuple (API, Hardware, Firmware, Bootloader) |
GetSWVersionInfo¶
Gets the software version of the TTX configurator
Parameterization
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
Version |
string |
Version info |
GetSyncState¶
Determines the synchronization state
Parameterization
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
SyncState |
[False, True] |
bool |
True = synchronized |
GetVariable¶
Gets the value of the variable
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
varName |
string |
Variable name |
|||
varTypeName |
‘FLOAT’ |
[‘FLOAT’, ‘INT8’, ‘INT16’, ‘INT32’, ‘UINT8’, ‘UINT16’, ‘UINT32’] |
string |
Variable type |
OpenScenario¶
Opens the referenced scenarioPath can be absolute or relative to the tool host base path.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
scenarioPath |
string |
Scenario file path |
Run¶
Starts the installed scenario of the TTX-Connexion using the referenced batch file.
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
batchFile |
‘tta.bat’ |
string |
Name of the batch file which should be executed |
SetBeep¶
Sets the beeper of the TTXConnexion
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
count |
2 |
int |
Number of beeps |
||
msDuration |
100 |
int |
Duration of a beep in ms |
SetEthernetParams¶
Sets the parameters for the ethernet connection to the TTXConnexion
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
gateWay |
string |
Gateway |
|||
ipAddress |
‘192.168.130.18’ |
string |
IP address |
||
subnetMask |
string |
Subnet mask |
SetVariable¶
Sets the value of the variable
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
varName |
string |
Variable name |
|||
varTypeName |
‘FLOAT’ |
[‘FLOAT’, ‘INT8’, ‘INT16’, ‘INT32’, ‘UINT8’, ‘UINT16’, ‘UINT32’] |
string |
Variable type |
|
varValue |
float |
Value |
UploadLatestLog¶
Copies the current logging directory of the TTXConnexion to the referenced path
Parameterization
Parameter
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
logDir |
string |
Target directory |