Factorytalk View VBA Alarms & Events Selected Item

crawler009

Member
Join Date
Feb 2012
Location
Planet Earth
Posts
239
Hi guys

i have troubles getting the selected item properties in FTV Alarms and Events.
I have this "Alarm and Event Summary" which displays my alarms. If i right click and go to "VBA Code.." i'm getting
Code:
Private Sub AlarmEventSummary1_EventClick(ByVal Item As FTAlarmEventSummary.IEventItem)
End Sub

Now i want to get the properties of the selected Alarm.
Code:
Dim value
value = Item.GetColumnValue("Message")

I can get the all the Values for Columns with no space, like "Message", "Priority", "Area".

But with columns with spaces, i cant get any values, like "Alarm State", "Alarm Name".

Can you give me any suggestion how get those values?
 
@gclshortt: thanks you for the answer

I found in "FactoryTalk Alarms and Events Help > Alarm and Event Summary object model > Reserved keywords for column names"
most of the column names.
 
Last edited:
Could you please share me the keyword for the alarm name? I am having trouble with finding it in the help file ..Thank you
 

Similar Topics

I'm creating an HMI that has a recipe with 288 data point. It has 3 pieces of data for 96 segments. I need help with VBA code to copy all 288...
Replies
0
Views
136
Hi, Can someone guide me through how to use FactoryTalk SE VB script to open communication with SQL Server? which command I can use? Are there...
Replies
2
Views
2,281
Hello group, I have been migrating a project from RSView 32 V7.6 to FactoryTalk View SE Local Station V12 over the last couple of days. All told...
Replies
0
Views
997
For trend charts, I can use an ActiveX Calendar control to select a date on a trend using the following code where "Trend" is the name of the...
Replies
2
Views
1,576
Anyone know how to change the mouse icon to something else using VBA? It looks like it can be done with VBA forms and based on the object the...
Replies
0
Views
2,209
Back
Top Bottom