¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Rx to analog?


 

If the OP just wants a string for display on a UI (rather than needing an analog value suitable for comparison, etc. it can be even easier:

STOA
SMV
ATOS

In the STOA configure it to "match" (01xxh) on the hex values of '@', '0', 'E', 'T' and then extract (0200h) the following 7 bytes as hours_hundreds, hours_tens, hours_units, minutes_tens, minutes_units, seconds_tens, seconds_units.

Run all of those (except, perhaps, the hours hundreds) in order into the ATOS and run the seconds_units to the trig of the SMV. The output of the SMV triggers the ATOS.

For the parameters on the ATOS use "" "" "" : "" : "" "" to insert colons between the hours and minutes and minutes and seconds and a format of 256d (thankfully, even though I've been doing this for 20 years I can't think of a time where anything other than 256d has been useful)

So @ET1234567 would turn into analog values 31h 32h 33h 34h 35h 36h and 37h. with the 37h triggering the SMV.

The SMV in turn triggers the ATOS which then reassembles those as the ASCII string 123:45:67

It is not the coolest or necessarily the most versatile but it does ensure that every possible time value gets reported

Lincoln
--
Lincoln King-Cliby
Commercial Market Director
Sr. Systems Architect | Crestron Certified Master Programmer (Diamond)
ControlWorks Consulting, LLC
Direct: (+1)440.771.4807 | Cleveland: (+1)440.449.1100? | Boston: (+1)508.695.0188 | DC: (+1)202.381.9070 | London: (+44) (0)20 4520 4600?
Crestron Services Provider | Biamp Authorized Independent Programmers | Extron Qualified Independent Programmer

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Eric Luckart via groups.io
Sent: Tuesday, May 20, 2025 6:56 PM
To: [email protected]
Subject: Re: [crestron] Rx to analog?

You should be able to do this in simpl without too much trouble. Use a stoa and grab the last 7 bytes of the string @0EThhhmmss. You will then send them to equ's then init's and add all the init's together.

Just keep in mind. Using a single time analog will limit you to just over 18 hours. The Denon protocol supports 999 hours.

Join [email protected] to automatically receive all group messages.