Point to local file from HMI TAG (FTSE 6.1)

xC0MMAND0x

Member
Join Date
Jul 2013
Location
Minnesota
Posts
265
Here's the short straight to the point version - I need to display a PDF file on a HMI. I'm using FTSE 6.1

I have AcroPDF.dll setup and registered. System is W2K8-64bit.

I made a test display, and I can embed the ActiveX control (Screenshot 1) - it's registered and that's working.

I can see the ActiveX object on my TestDisplay (it show's as a PDF icon). I need to point that to look at a file. The only properties I can see are to look for a src Tag. (Screenshot 2)

I have tried to make an HMI tag that's a string, and link the ActiveX element to point to that - which seems to be working.

I can't figure out the syntax for pointing to a local file. I've tried the following Tags as strings:


\\pcname\shared_folder\test.pdf
\\ip_address\shared_folder\test.pdf
C:\path\shared_folder\test.pdf
Documents\test.pdf (Where Documents is C:\Users\Public\Documents\RSView Enterprise\SE\HMI Projects\HMI_Project)

Any thoughts/ideas? How do I point a String tag to a local file path, and then link that to the ActiveX element? I'm trying to get this working and have tried a lot of different options, but I need some help.

Anything would be helpful.

Thank you!



 
I solved this!

I ended up using the ActiveX element Microsoft Web Browser.

After embedding that on a display I exposed it to VBA (Right click --> Property Panel --> Expose to VBA - VBA Control).

Then I right clicked on the display itself and added a bit of scripting as such:

Code:
Private Sub Display_AnimationStart()

Me.MicrosoftWebBrowser1.Navigate2 ("\\path_to_share\name_of_file.pdf")

End Sub

Where "MicrosoftWebBrowser1" is the connection for the particular embedded object.

Easy and works perfect! Perhaps this solution will be useful for someone else.

(y)
 

Similar Topics

Hello, I want to connect 1769 L18ER PLC with 8 number of 1734 pont IOs. 24V Dc 8 Channel Sink Input Module: 3 nos 24V Dc8 Channel Source Output...
Replies
11
Views
7,592
TLDR; How to synchronize setpoint values between a local HMI and remote PLC connected by cellular modem, while preserving the most recently...
Replies
8
Views
4,089
Hi, I have some problem with View Point which I'm using to manual control of conveyors. On begin when in network was only PLC and HMI View Point...
Replies
0
Views
67
I have a bunch of tags in Historian/VantagePoint that off by one decimal point. I looked into the HMI displaying the same number, and the HMI is...
Replies
2
Views
112
Good morning, I have a Emerson/GE PLC with Cimplicity SCADA. I need to export data of a specific point/object to a CSV file and load the CSV file...
Replies
7
Views
264
Back
Top Bottom