Showing results 1 to 2 of 2

Thread: Alarm and CEL handles in VB.NET

  1. #1
    Join Date
    11.04.2008
    Posts
    40

    Lächeln Alarm and CEL handles in VB.NET

    Hi,

    I am trying to handle some alarms and cel events in vb.net, but can't seem to get it working

    Dim WithEvents zOLA As zenOn.IAlarm

    Private Sub zOLA_AlarmOn(ByVal obAlarm As zenOn.IAlarm) Handles zOLA.AlarmComes

    MsgBox("ALARM", MsgBoxStyle.Critical)

    End Sub

    Private Sub ThisProject_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup

    AddHandler zOLA.AlarmComes, AddressOf zOLA_AlarmOn

    End sub

  2. #2
    Join Date
    11.04.2008
    Posts
    40

    Default Re: Alarm and CEL handles in VB.NET

    Any help!

Similar Threads

  1. Alarm Status Line and Alarm List
    By tomaslipa in forum Engineering Studio & Service Engine (former zenon Editor & Runtime)
    Replies: 1
    Last Post: 21st January 2009, 12:02

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •