8.5.1 Preview: CygNet Broadcast

June 6, 2017 / 0 comments / in API  General  / by Walter Goodwater

Have you ever needed to send a message out to all your CygNet Studio users? Maybe you need to let everyone know about some planned (or unplanned…) server downtime. Or maybe you want to inform everyone about a change to a screen, field asset, or company policy. Or maybe you noticed free cake in the break room and you’re feeling generous. Sure, you could write an email, but does everyone in the control room have Outlook open? If only there was a way to send a message to all open Studio and Vision clients in your site…

…well now there is.

CygNet Broadcast is a new feature for the GNS added in 8.5.1 that allows administrators to submit messages to the GNS via script that will be sent out to all open HMI clients. These messages have both a start and end date, so you can schedule them for the future and have them disappear when they are no longer relevant.

This feature is disabled by default and can be enabled in your GNS.cfg file.

ENABLE_BROADCAST TRUE
BROADCAST_REFRESH_RATE 60

The ENABLE_BROADCAST keyword should be clear enough. The BROADCAST_REFRESH_RATE controls how often clients will check with the service for new broadcasts. If you have multiple Broadcast-enabled GNS services on the same domain, clients will use the shortest refresh rate.

Once you have a GNS that is broadcast-enabled, all you need to do is submit a broadcast. The components of a broadcast are: start date, end date, and message.

Start and end date allow you to display your broadcast only during a specific window of time. Once the end date has passed, the broadcast will disappear.

Now let’s submit a broadcast. Currently this is done via our COM API CxGns. Here’s a sample script (a screen for submitting broadcasts is attached below):

Dim gnsClient
Set gnsClient = CreateObject("CxGns.GnsClient")

gnsClient.Connect(strSiteService)

Dim id, strMessage, dtStart, dtEnd

strMessage = "Cake in the breakroom!!!"
dtStart = "06/06/2017 00:00"
dtEnd = "06/07/2017 00:00"

id = gnsClient.CreateBroadcast(strMessage, dtStart, dtEnd)

Once this script is run (by someone with high enough security to send broadcasts) this is what all open Studio and Vision clients will see:

8.5.1 Preview: CygNet Broadcast - A very important message

A very important message

There are lots of interesting features we could add to Broadcast, but we wanted to get it out in its most basic state and solicit feedback from you on how you might use it in your enterprise. Use the comment section below to provide feedback.

Lastly, a special thanks to Ben Enns at Anadarko for the inspiration for Broadcast!

Broadcasts Studio Screen

Share this entry
Share by Mail



Comments

Blog post currently doesn't have any comments.
{{com.name}}           {{com.blogCommentDateFormatted}}

Leave Comment

Please correct the following error(s):

  • {{ error }}

Subscribe to this blog post

Enter your email address to subscribe to this post and receive notifications of new comments by email.


Search the CygNet Blog

Subscribe to the CygNet Blog

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Tags

.NET ‘Sparkline” “.NET “64-bit” “Allen “Azure “Canvas” “CygNet “Data “Database “DDS-based “Dispatch” “DNP3 “Facility “FWRD” “Geometric “HMI “IoT “Lufkin “MQTT “Note “OpenStreetMaps” “Relative “Replication” “SCADA” “Security” “SVG” “Telerik” “Thin “Totalflow “Weatherford 8.5.1 9.3 9.4 9.9” Ad hoc chart Alarms API API” ASR Authentication auto-failover automatic failover automatic service recovery beta program Bradley breakouts Bridge Bridge API broadcast browser-based Bytes Canvas CIP Client Client” Clients” Comm Config File Manager Configuration Context menu Controls controls” CRC custom database indexes Custom Events CygNet CygNet 9.0 CygNet 9.4 CygNet 9.6 CygNet 9.7 CygNet 9.8 CygNet messaging CygNet. Data Data Visualization DEIDs Depot Designer device mapping Diagnostics disaster recovery Dynagraph EAC EIE EIE” email Emerson emitter” Enhanced Enhanced Alarm Configuration Excel Facilities” failover feedback Files first look FMS Full FWRD Get Latest Get New GitHub gns Grid” group group grid Heat Map HMI HSS IoT iPhone Job Runner Link Link” Maps” Measurement Measurement” Messaging” Mobile Mode” Navigation OAuth ODBC On-demand chart OPC OPC UA Polling recovery redundancy reference facilities Reference Packages Release Remote replication Report Module SAM Samples SCADA screen performance Scripting Security Server” Shapes” slides Sniffer SQL Server survey Sync” Tabs Tech Bulletin Template Test” TFA Thin Web Client Token Tools transactions” Tree Map trend Troubleshooting Two-factor UA UIS video View Group Web web-based Well WESC 2016 WESC 2018 WESC 2020 WESC2019