Ability to play Audio form the iPod Library, audio files, or web sites based on user interaction or PLC tag values.
You can now play audio files based on PLC tag values or user interaction. The mechanism is similar to the recently added document viewer feature.
Particularly, a tag row can be of 'type=player' and a 'url' location of an iPod Library asset or document can be given to Play.
Tags with 'type=player;' attribute will pop up a player interface and will start playing an audio file when their associated tag value transitions from false to true. The particular audio file to be played is given as a string expression in the 'url' attribute. Items in the iPod Library must belong to a Playlist named "ScadaMobile" and the given url must begin with "iPod-Library://" followed by the name of the song or item to play. For audio files in the documents category you simply provide the file name.
Example: type=player; url="mySpeechSound.mp3"; will play the audio file 'mySpeechSound.mp3' under the Documents category in the files tab, when the tag value associated with this row transitions to true.
Example: type=player; url="iPod-Library://You And Me"; will play an asset named "You And Me" from the "ScadaMobile" playlist on the device's iPod Library when the tag value associated with this row transitions to true.
Ability to run the app in the background for unlimited periods of time.
The ScadaMobile and Modbus Gem apps have obtained authorization to run in the background indefinitely. This allows users to keep the app running in the background for unlimited time. To enable this feature the "Background Process" switch on the settings tab has changed semantics and is now intended to put the app in the unlimited running time mode. Optionally a periodic "Tick" sound can be enabled to make obvious to users that the app is still running. The "Keep Connected" switch now is meant to set the app to run in the background for the previously allowed 10 minutes.
Added new system variables for accessing to Alarm Counters and User Data from within expressions.
Several system variables for use in expressions have been added:
$SMPulse1s : Generates a 1 pulse every second.
$SMActiveAlarmCount : Returns the current number of active alarms.
$SMUnacknowledgedAlarmCount : Returns the current number of unacknowledged alarms.
$SMCurrentUserName : Returns the name of the currently logged in user as a string.
$SMCurrentUserAccessLevel : Returns the access level of the logged in user.
New settings allowing for a finer control of Alarm Alerting and Sounding behavior.
The settings tab adds additional options to determine the behavior of Alerts and Sound when alarm conditions are triggered.
New example, CustomAlarms-ONE.csv showing how to play custom sounds based on alarms.
A new example was added to demonstrate the use of the player feature in combination with alarms. Particularly, the $SMUnacknowledgedAlarmCount system variable is tested for not Zero to start an audio player using a custom sound. One particular alarm is linked to a different audio file to demonstrate how to play custom sounds based on different conditions.
Updated Formula-ONE.csv example.
The Formula-ONE.csv example now features the new playing feature on the Viewer/Player page.
Solved a reported issue with Timers/Counters for the Omron protocol.
Solved an issue with Omron counter tags and Timer activation flags not properly handled.
Solved a reported issue with multiple writes of Modbus Coils in some circumstances.
Solved an issue affecting writes of multiple Modbus Coils triggered by expressions executing at once.
Solved a reported issue with invalid references in expressions.
Invalid expression references due to undefined if clause results should now clear once executed, instead of re-appearing when the app is launched again.
Fixed an issue affecting long running trend graphs.
The last version introduced a bug preventing long running trend graphs to fill the 10 minutes graph. This has been fixed.