Take a screenshot

<< Click to Display Table of Contents >>

Manual > Monitoring system construction guide > Server logic construction >

Take a screenshot

overview

This section explains the server process that takes screenshots of the PC on which FA-Server is running.

 

Action used: Screenshot action

 

 

Download the sample

The creation examples shown on this page are provided with samples.

 

The sample can be downloaded from below.

 

 

 

Operation check

Load the sample server configuration file from FA-Server and bring the application online (yellow arrow).

 

After going online, write TRUE to U01.F01.T01 and check if the screenshot image file is generated.

 

 

Setup Procedure

Tag configuration

 

1.Set tags.
 
c_action_0215

 

Tag Name

address

the purpose

U01.F01.T01

X0000

A tag that triggers an action

 

 


Action Settings

 

1.Register the screenshot action "A01".
 
c_action_0218
 
 

2.From the Screenshot tab, configure the screenshot settings.
 
c_action_0219
 

Screen type: Take a screenshot of your desktop (full screen).

File type: JPEG file

Filename: screenshot.jpg (date will be added)

 

 


Event Settings

 

1.Create a Tag event to perform the action.

 

In this example, we will set the event to occur when U01.F01.T01 becomes TRUE.

 
c_action_0132

 
Set the execution action to "A01".
 
c_action_0365