Jump to content
sandreou

"Click" sound during a button press

Recommended Posts

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.

  • Upvote 1

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 ?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...