OTX Reference  
OpenTestSystem.Otx.Extensions.FlashPlus.Actions.SetActiveFile Class Reference

Sets the flash file name More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.FlashPlus.Actions.SetActiveFile:
Inheritance graph

Public Attributes

NumericTerm block
 Specifies a block in the flash:FlashSession context that shall be addressed. The value shall be in the range of the existing blocks. Float values shall be truncated. More...
 
StringTerm filePath
 Specifies the path to the file. More...
 
FlashSessionTerm session
 Specifies the flash:FlashSession, which provides the data that shall be addressed. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Actions.ActionRealisation
OtxLink validFor
 Validity of ActionRealisation. More...
 

Detailed Description

Sets the flash file name

The SetActiveFile sets the flash file name to a temporarily defined flash file name for the given block of the given flash:FlashSession.

Note
The appropriate MVCI system operation is MCDDbFlashData.setActiveFileName.
Syntax
FlashPlus.SetActiveFile(NumericTerm block, StringTerm filePath, FlashSessionTerm session);
FlashSessionTerm session
Specifies the flash:FlashSession, which provides the data that shall be addressed.
Definition: FlashPlus.cs:150
StringTerm filePath
Specifies the path to the file.
Definition: FlashPlus.cs:140
NumericTerm block
Specifies a block in the flash:FlashSession context that shall be addressed. The value shall be in th...
Definition: FlashPlus.cs:130
Examples
// Local Declarations
Flash.FlashSession FlashSession1;
Integer Integer1;
// Flow
FlashPlus.SetActiveFile(Integer1, "file:///D:/file_simple.txt", FlashSession1);

Member Data Documentation

◆ block

NumericTerm OpenTestSystem.Otx.Extensions.FlashPlus.Actions.SetActiveFile.block

Specifies a block in the flash:FlashSession context that shall be addressed. The value shall be in the range of the existing blocks. Float values shall be truncated.

◆ filePath

StringTerm OpenTestSystem.Otx.Extensions.FlashPlus.Actions.SetActiveFile.filePath

Specifies the path to the file.

◆ session

FlashSessionTerm OpenTestSystem.Otx.Extensions.FlashPlus.Actions.SetActiveFile.session

Specifies the flash:FlashSession, which provides the data that shall be addressed.