Port APPLICATION - Simulation¶
Stimulation¶
This port has no stimulus capabilities.
Properties đ¶
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Device name |
âCCP:1â |
string |
Name of access interface |
||
Device type |
âundefinedâ |
string |
<System type>.<Device type> (e.g. âTS-Testsystem.ETK-Testdeviceâ). Dots in the type name must be escaped with a backslash. âundefinedâ if you want to use an existing device with the specified name. |
||
A2L file |
string |
A2L file used by the port. If a similarly named *.al2.cod fileexists at the same location, it is transferred to INCA wheneverthe A2L file is transferred. |
|||
Hex file |
string |
Hex file used by the port |
|||
Automatic recording |
â |
bool |
If this is active, all measurement values in the test case are registered for recording. |
||
Default acquisition rate |
âTool-Defaultâ |
string |
Declaration of measurement acquisition rate used as alternative in case no acquisition rate is set in the test step (â*â and â?â can be used as wildcard). âTool-Defaultâ activates the use of the standard acquisition rate of the tool |
||
LAB file |
string |
LAB file to be added to the INCA recorder. If the LAB file already exists, it will be overwritten. |
|||
Refresh page |
âAuto (Ignition Off/On)â |
[âAuto (Ignition Off/On)â, âFull downloadâ, âDownload differencesâ, âCopy RP to WPâ, âNo actionâ] |
string |
Determines the behaviour of page updating. |
|
Write calibration values check |
â |
bool |
Return values of the INCA-API are evaluated to check if writing was successfully. If this option is activated an error is raised if the check failed. Deactivate this option if there are e.g. problems with fix axis maps |
||
Handling of existing project |
0 |
[0, 1, 2, 3, 4] Display values:
|
string |
Specifies what is used if a project or data set already exists. Particularly relevant if a project or data set has the same name as the A2L or HEX file but differs in content. For more information see the documentation at Tools - ETAS: INCA - Notes regarding âHandling of existing projectâ . |
|
Do not transfer A2L and HEX file to INCA |
Handling of existing project: â0â |
â |
bool |
If selected A2L and HEX files are not transfered to INCA. Requires that project and data set exist in the INCA database under given path and file name (without extension). |
|
Set hard bounds |
â |
bool |
Permanently use hard bounds instead of weak bounds |
||
Transport layer instance |
string |
Name of the transport layer instance (optional). |
|||
Extra hardware options |
â{}â |
string |
Expert option. Dictionary with additional hardware options, e.g. {âMeasureFailureBehaviorâ: â2â, âPageSwitchâ: âtrueâ, âConnectionInterruptBehaviorâ: âautoReinitializeAndDownloadâ}. Requires INCA 7.2.6 or later. Option âTransport layer instanceâ has precedence over specifying âTransportLayerâ here. See also INCA API documentation for SetOption. |
||
Restore behaviour |
âValue at test startâ |
[âValue at test startâ, âValue from reference pageâ] |
string |
Determines which value is used by the test step âRestoreâ and by automatic restore of test quantities. |
Jobs đ¶
AutoDownloadWorkbase¶
Automatic Download WP/RP from data set to control unit
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
force |
â |
bool |
Force download (True/False) |
CheckConnection¶
Get connection state
ChecksumCodePage¶
Create checksum over code page
ChecksumDataPages¶
Create checksum over WP and RP
CopyReferencePageToWorkingPage¶
Copy RP to WP
CreateDifferencesReport¶
Creates a report regarding the differences between working page and reference page in the given format at the given local path.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
ignoreCdmErrors |
â |
bool |
Ignore non-critical CDM toolbox errors and create report file anyway. |
||
reportFile |
string |
Local path of the resulting report file. |
|||
reportFormat |
âHTMLâ |
[âHTMLâ, âASCIIâ] |
string |
Format in which to generate the report file. Can be âHTMLâ or âASCIIâ. |
DcmToHex¶
Creates a new DataSet for the device from the DCM file(s) and saves it to the Hex file. Caution! The files must not be in the ToolLibTemp directory.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
dcmFile |
object |
DCM file(s) to be processed |
|||
hexFile |
string |
Hex file (output) |
|||
ignoreCdmErrors |
â |
bool |
Ignore failures of CDM-Toolbox and fetch Hex file. |
DownloadDifferences¶
Download difference
DownloadWorkbase¶
Download WP/RP
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
force |
â |
bool |
Force download (True/False) |
FlashHexFileWithControlFlow¶
Flashes the ECU when the measurement is stopped
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
ControlFlow |
string |
ControlFlow from TGTSVR.log without device and .hex file |
|||
CopyFile |
â |
bool |
If âTrueâ, copies the local file to the tool host |
||
FlashFile |
uri |
Optional: file name and path of the flash file |
|||
FlashPort |
[ââ, â<online query>â] |
string |
Optional: Alternative flash port |
GetAquisitionRates¶
Provides a list of all acquisition rates
GetDeviceType¶
Returns the device type
GetDifferencesCounter¶
Returns the count of variables changed in working page.
GetEPKfromASAP2¶
Reads the EPROM ID (EPK) from the assigned ASAP2 project.
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
EPK |
string |
String with ID |
GetEPKfromDS¶
Reads the EPROM ID (EPK) from the assigned data set.
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
EPK |
string |
String with ID |
GetEPKfromECU¶
Reads the EPROM ID (EPK) from the ECU.
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
EPK |
string |
String with ID |
GetHwcState¶
Queries a state value from the âHWCâ module
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
stateName |
[âBaudRateâ, âGetDifferencesCounterâ, âCheckOfStateâ] |
string |
Name of the state value to query |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
result |
string |
state value as string |
GetLabels¶
Provides a list of all values
GetMemPageState¶
Queries a state value from the âMEMORYPAGEâ module
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
stateName |
[âEPKfromDSâ, âEPKfromASAP2â, âEPKfromECUâ, âCS_RP_Datasetâ, âCS_RP_ECUâ, âCS_WP_Datasetâ, âCS_WP_ECUâ] |
string |
Name of the state value to query |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
result |
string |
state value as string |
GetSupportedFlashPortNames¶
Returns the names of supported FlashPorts
HexToHex¶
Creates a new DataSet based on the HEX file from the test configuration, with data from the specified HEX file. The files must NOT lie in the ToolLibTemp directory. Caution! This Job does not work with INCA versions older than 7.2.4!
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
ignoreCdmErrors |
â |
bool |
Ignore failures of CDM-Toolbox and fetch Hex file. |
||
InputHexFile |
string |
HEX file with compatible data set |
|||
OutputHexFile |
string |
Hex file (output) |
IsCalibrationPossible¶
Checks whether the calibration access is currently possible
IsTargetEcuOff¶
Returns whether the device is switched off (since INCA 7.2.11)
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Off |
â |
bool |
True if switched off, False otherwise |
ReadAllCalibrationsFromFile¶
Applies the calibration values from the specified file to the device. Prerequisites: INCA 7.2.6 or newer, measurement stopped, working page activated.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
dcmFile |
object |
DCM file (or other supported format), from which to read the calibration values |
ReadCalibration¶
Reads a calibration value
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Name |
string |
Name of quantity to be read. Use <name>_[index] for array elements and <name>_[row][col] for matrix elements. |
|||
TypeInfo |
âSCALARâ |
[âSCALARâ, âVECTORâ, âMATRIXâ, âCURVEâ, âMAPâ, âARRAY_ELEMENTâ, âMATRIX_ELEMENTâ] |
string |
Variable type of quantity |
ReadFromDataPage¶
Reads the data of a memory area.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Length |
int |
Length of the area |
|||
StartAddress |
int |
Start address of memory area |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
result |
object |
Read data as tuple of signed integer values |
ReadMeasurement¶
Adds label to experiment and reads it
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Name |
string |
Name of quantity to be read |
|||
Raster |
string |
Name of acquisition rate |
|||
SuppressErrors |
â |
bool |
If set to True, runtime errors will not result in an ERROR in the report, instead ~Not Present~ will be returned. |
ResetToReferencePage¶
Resets the specified characteristics to the value from the reference page
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Labels |
object |
List of labels to be reset |
ResumeCyclicCommands¶
Resume the sending of cyclic commands to XCP slave
SetAsyncBuffersToInvalid¶
Invalidate asynchronous measurement data buffers for the device (since INCA 7.2.11)
SetStoreBit¶
Set store bit
StartTargetOS¶
Starts the SimulationOS
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
result |
[False, True] |
bool |
Bool |
StopTargetOS¶
Stops the SimulationOS
Parameterization
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
result |
[False, True] |
bool |
Bool |
SuppressCyclicCommands¶
Suppress the sending of cyclic commands to XCP slave
SwitchToReferencePage¶
Change to reference page
SwitchToWorkingPage¶
Change to working page
UploadWorkbase¶
Upload the working and reference page
WriteCalibration¶
Writes a calibration value
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Data |
string |
data to be written |
|||
Name |
string |
Name of value to be written. Use <name>_[index] for array elements and <name>_[row][col] for matrix elements. |
|||
TypeInfo |
âSCALARâ |
[âSCALARâ, âVECTORâ, âMATRIXâ, âCURVEâ, âMAPâ, âARRAY_ELEMENTâ, âMATRIX_ELEMENTâ] |
string |
Variable type of quantity |
WriteToDataPage¶
Write data in the specified memory range.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Length |
int |
Number of bytes to write |
|||
StartAddress |
int |
Start address for the data to write |
|||
Values |
ByteStream |
The data to write as ByteStream |
WriteWorkpageToFile¶
Creates a Hex file from the current working page. Warning! The target file must not be stored in the ToollibTemp directory.
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
hexFile |
string |
Hex-File to be processed |