Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
How to disable alarm redirection from script
Below is an example showing how alarm redirection may be disabled from a mimic script. The script retrieves a list of all points in the database that contain "Script Disable Alarm Redirection" in their full names and disables alarm redirection for each point in the list.

DISCLAIMER: Please note this is an example only and should only be used in a test environment. The script should not be used on a live production system without making the necessary adjustments and testing for each application.
Sub DisableAlarmRedirection

Dim DGRS, DGRSRows, DGRSColNames, oPoint

Set DGRS = Server.Query("SELECT FULLNAME FROM CDBPoint WHERE FullName LIKE '%Script Disable Alarm Redirection%'")

If Not(DGRS.Error) Then
    DGRows = DGRS.Rows
    DGColNames = DGRS.ColumnNames
    For r = 0 To (DGRS.RowCount - 1)       
        Set oPoint = Server.FindObject(DGRows(r,0))
        oPoint.Interface.AlarmRedirection=False            
    Next
Else
    Msgbox DGRS.ErrorMessage, vbCritical + vbOKOnly, "Error in SQL Command" 
End If

End Sub

Schneider Electric Hong Kong

Explore more
Product:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Product:

Need help?

  • Product Selector

    Quickly and easily find the right products and accessories for your applications.

  • Get a Quote

    Start your sales enquiry online and an expert will connect with you.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Help Centre

    Find support resources for all your needs, in one place.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact centre
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings