OTX Reference  
OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData Class Reference

Get Download Data More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData:
Inheritance graph

Public Attributes

NumericTerm block
 By this element, a block in the context of Flash session is considered. This value should be in the range of the existing blocks. More...
 
ByteFieldVariable data
 This item sets the variable into which the read data should be stored. More...
 
NumericTerm position
 This element defines the first position, to be read by the activity. Position must be greater than or equal to zero and not greater than the size of the segment minus one. More...
 
NumericTerm segment
 By this element, a segment in the context of Flash session is considered. This value should be in the range of existing Segments. More...
 
FlashSessionTerm session
 Flash session which provides data which are addressed. More...
 
NumericTerm size
 This element defines how much bytes of data from the context to be read. It should be a positive value. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Get Download Data

GetDownloadData fills a given otx:ByteField variable with data from the FlashSession context.

Exceptions
Core.Exceptions.OutOfBoundsException
Syntax
Flash.GetDownloadData(FlashSessionTerm session, NumericTerm block, NumericTerm segment, NumericTerm position, NumericTerm size, ByteFieldVariable data);
FlashSessionTerm session
Flash session which provides data which are addressed.
Definition: Flash.cs:803
ByteFieldVariable data
This item sets the variable into which the read data should be stored.
Definition: Flash.cs:853
NumericTerm segment
By this element, a segment in the context of Flash session is considered. This value should be in the...
Definition: Flash.cs:823
NumericTerm position
This element defines the first position, to be read by the activity. Position must be greater than or...
Definition: Flash.cs:833
NumericTerm block
By this element, a block in the context of Flash session is considered. This value should be in the r...
Definition: Flash.cs:813
NumericTerm size
This element defines how much bytes of data from the context to be read. It should be a positive valu...
Definition: Flash.cs:843
Examples
// Local Declarations
DiagCom.ComChannel ComChannel1;
ByteField Data1;
Flash.FlashSession FlashSession1;
// Flow
ComChannel1 = DiagCom.GetComChannel("SCHEINWERFER_LED_RECHTS", NULL, false);
FlashSession1 = Flash.GetFlashSession("_7PP907357F_7520");
Flash.GetDownloadData(FlashSession1, 0, 0, 1, 0, Data1);

Member Data Documentation

◆ block

NumericTerm OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData.block

By this element, a block in the context of Flash session is considered. This value should be in the range of the existing blocks.

◆ data

ByteFieldVariable OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData.data

This item sets the variable into which the read data should be stored.

◆ position

NumericTerm OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData.position

This element defines the first position, to be read by the activity. Position must be greater than or equal to zero and not greater than the size of the segment minus one.

◆ segment

NumericTerm OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData.segment

By this element, a segment in the context of Flash session is considered. This value should be in the range of existing Segments.

◆ session

FlashSessionTerm OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData.session

Flash session which provides data which are addressed.

◆ size

NumericTerm OpenTestSystem.Otx.Extensions.Flash.Actions.GetDownloadData.size

This element defines how much bytes of data from the context to be read. It should be a positive value.