开云体育

Triggering sound #rfid #sensors


 

Hello?
I would like to know if there is a simple way to trigger a sound when a sensor is triggered to alert the dispatcher? A simple ding would work, although since I’m using rfid a pre recorded message “Engine 160 has arrived at (sensor location) Fire Creek” would be amazing. It’s a small layout with a few engines so prerecording all the combinations would not be that big a job.?
Thank you


 

Here is a simple LogixNG to play a file.
You can also use Logix or a script to play a file.

Dave Sand


----- Original message -----
From: "Micheal Hodgson via groups.io" <bigcreekcowboy=[email protected]>
Subject: [jmriusers] Triggering sound #paneleditor #panelpro #reporters #rfid #sensors
Date: Saturday, April 12, 2025 10:31 AM

Hello?
I would like to know if there is a simple way to trigger a sound when a sensor is triggered to alert the dispatcher? A simple ding would work, although since I’m using rfid a pre recorded message “Engine 160 has arrived at (sensor location) Fire Creek” would be amazing. It’s a small layout with a few engines so prerecording all the combinations would not be that big a job.?
Thank you


 

开云体育

Micheal,

?

I’ve been having a sound triggered for sensors connected to circuit breakers for years. On my CTC, when an OS becomes occupied, it dings. Simple as having the condition for a Logix be the sensor and the action being ‘play the sound’ will do it. With the breakers, there is a pair of actions, one true and one false. The true says the breaker tripped, the false says the breaker has cleared.

?

-Ken Cameron, Member JMRI Dev Team

?

?


 

I haven’t admit I don’t even know what logix is. ?


 

开云体育

Micheal,

LogixNG is described here:

I suggest you start with this page:

Dave Sand gave you an example of a simple LogixNG to do what you want:
/g/jmriusers/message/241314

If something is unclear, feel free to ask. We are here to help you.
Daniel


On 2025-04-13 21:45, Micheal Hodgson via groups.io wrote:

I haven’t admit I don’t even know what logix is. ?