sandreou Posted May 5, 2015 Report Share Posted May 5, 2015 Hi, I would like to know how can I add a "click" sound during a button press in UniStream. Thanks, S.Andreou Quote Link to comment Share on other sites More sharing options...
Alexander Posted May 11, 2015 Report Share Posted May 11, 2015 Yes, this should be possible using the Project Actions configuration which is located in the Solution Explorer in UniLogic. The Project Actions allows you to play a sound, such as a click, when a trigger bit is set. When the button is pressed a bit specifically for the sound can be set, then the Project Actions will play the sound. Please know that any trigger bit linked within Project Actions will automatically be reset by the system, so it is not recommended to use a trigger for multiple purposes. 1 Quote Link to comment Share on other sites More sharing options...
sandreou Posted May 22, 2015 Author Report Share Posted May 22, 2015 Thank you I did what you suggested but the sound lags 1-1.5sec of the button click action! I am doing something wrong or the processing speed is relative slow for such a task? Quote Link to comment Share on other sites More sharing options...
Alexander Posted May 26, 2015 Report Share Posted May 26, 2015 The sound should automatically be triggered by any project level actions. Is there any process other than the project level actions that is setting/resetting the bit to play this sound? Quote Link to comment Share on other sites More sharing options...
sandreou Posted May 27, 2015 Author Report Share Posted May 27, 2015 No. I just have a button on screen that it has an action to load a new screen and the same time has a second action to set a coil. That coil is used in project actions to trigger "play sound". Once i press the button the new screen appears immediately but the click sound lags the actual click for about 1.5secs Did you try it and you get a sound output as soon as you press the button? Quote Link to comment Share on other sites More sharing options...
Alexander Posted May 28, 2015 Report Share Posted May 28, 2015 This currently is how the system processes playing audio media files. It takes a moment for the file to be opened and then executed, which can result in the slight delay that you mentioned. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 28, 2015 MVP 2022 Report Share Posted May 28, 2015 It seems like 1.5 seconds is more than a slight delay. Is there something else going on here? Should this be the expectation for all sound execution that I, as a programmer, need to take into account for all projects? Quote Link to comment Share on other sites More sharing options...
sandreou Posted May 28, 2015 Author Report Share Posted May 28, 2015 Well 1.5seconds delay make it useless for applications like sound for button click. I think that audible buttons are very important for HMI experience and is sad that such a new product can't offer this option to the programmer! Quote Link to comment Share on other sites More sharing options...
Alexander Posted May 28, 2015 Report Share Posted May 28, 2015 Our apologies for any inconvenience. Please know that we do appreciate any and all feedback. Feel free to send any feedback or comments to support@unitronics.com Thank you Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 28, 2015 MVP 2022 Report Share Posted May 28, 2015 Not a complaint - programmers can usually deal with any of these kinds of issues once known (there's no such thing as a perfect product). Is this issue understood by the developers? Is it something that might be addressed in the future? Quote Link to comment Share on other sites More sharing options...
Saragani Posted May 31, 2015 Report Share Posted May 31, 2015 Hi, Yes, this issue might be addressed in the future. 1 Quote Link to comment Share on other sites More sharing options...
_MELLON_ Posted September 20, 2018 Report Share Posted September 20, 2018 is there any solution to this issue ? 1 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted September 21, 2018 MVP 2022 Report Share Posted September 21, 2018 If the delay hasn't been addressed as yet, maybe an external noise source that is run by the plc? Recognises a keypad entry and initiates an output of X milliseconds? cheers, Aus Quote Link to comment Share on other sites More sharing options...
_MELLON_ Posted September 25, 2018 Report Share Posted September 25, 2018 i don't need it for keypad noise , i wan to crate sound on every system Heartbeat with 1.5 delay i can't simulate sounds like the reverse sound on car when getting close to an object if i understand you correctly you recommend to use IO to trigger external sound system like buzzer ? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted September 26, 2018 MVP 2022 Report Share Posted September 26, 2018 7 hours ago, _MELLON_ said: use IO to trigger external sound system like buzzer ? Yes, use a physical output(s) to trigger whatever sound you want using an external source. This is, of course, if the delay hasn't been fixed.....I don't know. cheers, Aus Quote Link to comment Share on other sites More sharing options...
steve johnston Posted October 24, 2018 Report Share Posted October 24, 2018 I was trying to use some touch feedback and came across the time delay, it would be a nice improvement to get instant feedback. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.