Nirtec Studio Forum

General Category => Machines Simulator => Topic started by: nato76 on April 01, 2024, 07:48:19 PM

Title: UDC play sound
Post by: nato76 on April 01, 2024, 07:48:19 PM
Hi friends!

I want play the Fillwater.wav sound when Motor2 is running.
I made GraphCode (attachet picture) but doesn't work.
What am I doing wrong?

Thank your in advance :)
Title: Re: UDC play sound
Post by: EasyPLC_Master on April 02, 2024, 08:25:17 AM
Instead String Variable node, you must use Sound node (Nodes -> Utils -> Sound), select the desired sound on it and assign its output to the Sound input at PlaySound node.
Title: Re: UDC play sound
Post by: nato76 on April 02, 2024, 10:16:15 AM
Hi.

Works great :)

THX!