ftv print screen automatically at a set time (how to??)

Join Date
Sep 2014
Location
nc
Posts
60
I am currently using Factory talk view SE 6.10 and my goal is to have a screen print automatically at a set time.
There has to be a fast, simple way to do this.
Thanks
 
Put a numeric int on a cached background screen, or banner / nav bar or something that doesn't ever go away. Set the value of the int to be whatever system time you want (expression).

Expose the element to VBA.

Run an even "OnChange" if value = 1 to execute command "ScreenPrint". Make sure to have debug lines in always when dealing with VBA.

Have a default printer set up on the HMI servers - that should work.
 
First get it working manually. Make a button on an SE display that runs the command ScreenPrint and have a default printer set up. Get that working first.

ScreenPrint
Generates a screen print of the contents of the FactoryTalk View SE Client window on the printer specified in Windows.
Tip: This command is run on the currently active display on the FactoryTalk View SE Client, FactoryTalk View Studio, or FactoryTalk View Administration Console that issued the command. It will be ignored when it is issued from an HMI Server or if no display is active.

Once that is working, do the exposure of INT to VBA and run something like this:

Code:
Private Sub NumericDisplay1_Change()
   On Error GoTo ErrorHandler
   If Not IsError(NumericDisplay1.Value) Then
   If NumericDisplay1.Value = 1 Then
        ExecuteCommand "ScreenPrint"
   End If
   End If
   Exit Sub

ErrorHandler:
   LogDiagnosticsMessage Err.Description, FTDiagSeverityError
End Sub
 

Similar Topics

FTV SE 9 - print screen at certain time - I have print screen buttons that work , what I want to do is have a few screens print automatically at a...
Replies
1
Views
1,221
Hello All, I'm running a very basic one display application and I'm having issues with the print command. I can successfully print the display...
Replies
3
Views
1,652
I tried to add it to the Client Keys but Ctrl+P still uses the PrintDisplay. Seems anything added to Ctrl+P in Client Keys will be replaced by...
Replies
0
Views
1,123
Hi guys, I have a local station SCADA program that requires a daily automatic 1 page printout of the most recent alarms from the Alarm and Event...
Replies
4
Views
3,380
Hello everyone, I am currently working on a project that uses a Rockwell L33ER controller and the FTV Studio V13 as Supervisory computer...
Replies
0
Views
100
Back
Top Bottom