Official | HULFT IoT EdgeStreaming Adapter Reference First Edition: July 1, 2021

Monitoring of file update

When a line is written to a text file targeted for monitoring, the value written to that line is output to the subsequent component.

You can display the monitoring of file update operation screen by displaying the script canvas on the Designer screen, clicking the following items in the following order, and then dragging and dropping the component icon onto the script canvas:

  • Tool palette > File > Basic > Monitoring of File Update

 

Figure 4.2 Monitoring of file update operation screen

(1) Field list

This is a list of the fields to configure for the monitoring of file update operation.

Table 4.4 Field list

Field Name

Initial Value

Setting Value

Omission

Notes

Name

 

Single-byte alphanumeric characters and certain symbols (*1)

-

A value that begins with a single-byte alphabetic character

Required settings

 

 

File name

 

 

-

 

Skip writing until startup

(*2)

 

-

 

Comment

 

Comment

 

Characters

 

:

Possible to omit

-

:

Impossible to omit

*1

:

Only "_" (underscore) can be specified.

*2

:

The check box is not selected for non-monitoring targets.

(2) Description of each field

This section explains each of the fields to configure for the monitoring of file update operation.

After changing these settings, click Finish to save the settings.

Click Cancel to discard the changes.

Name

Name of the monitoring of file update operation component

Single-byte alphanumeric characters and "_" (underscore) can be used.

Use a value that begins with a single-byte alphabetic character.

Required settings

File name

Name of the file that is monitored for updates

Specify the file name as the full path or relative path.

If you use a relative path, the file for writing is stored based on the following path according to the execution location:

  • For Windows

    Table 4.5 File path for writing

    Execution Location

    Starting Point of the Path

    Studio execution

    $EDGESTREAMING_HOME\client\es-agent\projectname\scriptname

    Remote device execution

    The same level as EdgeStreaming Runtime (es-agent.exe)

     

  • For Linux

    Table 4.6 File path for writing

    Execution Location

    Starting Point of the Path

    Remote device execution

    The same level as EdgeStreaming Runtime (es-agent)

     

Skip writing until startup

Skip reading of data that is written before EdgeStreaming Runtime startup

Set whether to skip the reading of data that is written to the file specified in File name before EdgeStreaming Runtime startup.

Comment

Comment

Comment regarding the monitoring of file update operation

You can enter a comment.

 

 

Official | HULFT IoT EdgeStreaming Adapter Reference First Edition: July 1, 2021