You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old March 8th, 2018, 12:00 PM   #1
bdossantos
Member
United States

bdossantos is offline
 
Join Date: Mar 2018
Location: California
Posts: 4
FT View SE VB Script

I am Having an issue with passing strings from VB to Tag Database in FT. I am trying to pass the display name from VB to display on the Screen.

This is what I have so far-
Option Eplicit
Public NavTagGroup As Tag Group

Private Sub Display_AnimationStart()


Dim Test_StringVB As String

If NavTagGroup Is Nothing Then
Set NavTagGroup = Application.CreateTagGroup(Me.AreaName, 5000)

NavTagGroup.Add "Nav\ScreenName"
End If


Set Test_StringVB = NavTagGroup.Item("Nav\ScreenName") 'This is where it fails
Test_StringVB =ThisDisplay.Name
End Sub

Any Help understanding the the failure would be appreciated. The ScreeName is defined in the database as a string.

Thank you,
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Trigger FT View SE Graphic Display mm08822 LIVE PLC Questions And Answers 2 April 27th, 2016 11:00 PM
FactoryTalk View SE Macro to run VB Sub justinvk6 LIVE PLC Questions And Answers 14 March 15th, 2015 12:26 PM
FT View SE Help Tim Ganz LIVE PLC Questions And Answers 5 July 8th, 2011 07:03 PM
Distributed FT View SE app msynco LIVE PLC Questions And Answers 1 June 24th, 2011 06:46 PM
FT View SE Tags Not Working southerndandy LIVE PLC Questions And Answers 1 May 24th, 2009 10:47 PM


All times are GMT -5. The time now is 10:47 AM.


.