¿ªÔÆÌåÓý

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

Q-SYS Crestron modules v4.21

 

Is anyone having issues with Crestron Q-SYS modules v.4.21? I am not able to get Level Control module to function with "Level Up/Down", I do get proper analog feedback but ramp doesn't function and Mute works great.


Re: Question: Can SIMPL+ deal with not-round/exact (with a decimal point) numbers?

 

Simpl+ does not deal with decimals. You have to use Simpl# for that.


Re: Question: Can SIMPL+ deal with not-round/exact (with a decimal point) numbers?

 

The term you're looking for is floating point (decimal/fractional) numbers.? And no, S+ cannot natively do floating point math.? However, unless you're dealing with very large numbers that exceed the capacity of a long_integer (32-bit or 4,294,967,295) then you can do math on floating point values in S+ by just temporarily shifting the decimal before performing a math operation that would result in a possible fractional value and then shifting it back afterwards.

As far as output, depending on what you need to do with the resulting values of the calculations, you'll need to either split the whole number and the fractional number of the value as two separate analog outputs to the module, or output it as a string.? That depends entirely on your use case and what needs to happen with that value after (or if ) it leave your S+ module.

In your example code snippet, you need to multiply by 100 BEFORE you attempt to divide:

{
integer test;
integer test2, test2whole, test2remainder;

test = (100 * 240) / 300;? // results in 80 ( or .80 * 100)

// test will == 80? You'll need to track how you're moving the decimal to know how to handle the resulting values
// In this case we've shifted the decimal two places by multiplying by 100, which means that the resulting value of 80 would be the fractional portion of the result.??


// Example of how to handle a calculation that results in a value with both a whole integer and fractional portion
test2 = (100 * 255) / 30;? // results in 850 (or 8.5 * 100)
test2whole = test2? / 100;? ?// results in 8 (or the whole number of 8.5)
test2remainder = test2 MOD 100;? // results in 50 (or the fractional value of 8.5).? Important to be aware the trailing zeros are irrelevant when dealing with fractional values so this would be treated as 5
}

On Thu, May 9, 2019 at 11:58 AM lucasway89@... [Crestron] <Crestron@...> wrote:
?

Is SIMPL+ actually capable of handling non-round/exact numbers? Particularly when it comes to arithmetic.

Very basic example:

{
integer test, test2;

test = (240/300);
test2 = (240/300) * 100;

trace("%u", test);
trace("%u", test2);
}

So 'test' should trace 0.8, and 'test2' should trace 80, and yet both just trace 0.

I've tried this with signed and unsigned arithmetic, but the numbers aren't negative so signed shouldn't be required right?

Am I missing something?


Crestron Certified Drivers

 

Playing with the Crestron Certified Drivers to control Samsung tv over ip has anyone had success with this yet.? Is there anything I should know about it.? I have downloaded everything and trying today, I put .dll files in user folder and settings look good.??


Re: Question: Can SIMPL+ deal with not-round/exact (with a decimal point) numbers?

 

An integer does not have a decimal value.? Best bet would be to use div/mods and scale from there.


On Thu, May 9, 2019 at 1:59 PM lucasway89@... [Crestron] <Crestron@...> wrote:
?

Is SIMPL+ actually capable of handling non-round/exact numbers? Particularly when it comes to arithmetic.

Very basic example:

{
integer test, test2;

test = (240/300);
test2 = (240/300) * 100;

trace("%u", test);
trace("%u", test2);
}

So 'test' should trace 0.8, and 'test2' should trace 80, and yet both just trace 0.

I've tried this with signed and unsigned arithmetic, but the numbers aren't negative so signed shouldn't be required right?

Am I missing something?


Re: Question: Can SIMPL+ deal with not-round/exact (with a decimal point) numbers?

 

Integers only.? Pre-multiply your values so they stay within the valid range:

test = (240*100/300);

On Thu, May 9, 2019 at 1:59 PM lucasway89@... [Crestron] <Crestron@...> wrote:
?

Is SIMPL+ actually capable of handling non-round/exact numbers? Particularly when it comes to arithmetic.

Very basic example:

{
integer test, test2;

test = (240/300);
test2 = (240/300) * 100;

trace("%u", test);
trace("%u", test2);
}

So 'test' should trace 0.8, and 'test2' should trace 80, and yet both just trace 0.

I've tried this with signed and unsigned arithmetic, but the numbers aren't negative so signed shouldn't be required right?

Am I missing something?


Question: Can SIMPL+ deal with not-round/exact (with a decimal point) numbers?

 

Is SIMPL+ actually capable of handling non-round/exact numbers? Particularly when it comes to arithmetic.

Very basic example:

{
integer test, test2;

test = (240/300);
test2 = (240/300) * 100;

trace("%u", test);
trace("%u", test2);
}

So 'test' should trace 0.8, and 'test2' should trace 80, and yet both just trace 0.

I've tried this with signed and unsigned arithmetic, but the numbers aren't negative so signed shouldn't be required right?

Am I missing something?


Re: Topics in Home Automation - One Hundredth Blog Post!

 


Re: Sonos Connect unable to access Library through Crestron Module

 

That's what you get. Basically a set of 'Radio' presets that can be recalled.
With Albums, user/custom playlists you should also get the ability to set repeat+shuffle, in addition to the skip track, but anything more and you have to launch into the SONOS app.

Yay! Digital music!!? It's such an awesome user experience!!...:(


Re: Sonos Connect unable to access Library through Crestron Module

 

¿ªÔÆÌåÓý

Yes, this thing worked but now if I am adding an Album in My Sonos, entire album get added and it wont allow me to select a particular song in the album, it starts playing the entire album

?

From: Crestron@...
Sent: 09 May 2019 16:56
To: Crestron@...
Subject: [Crestron] Re: Sonos Connect unable to access Library through Crestron Module

?

?

The only thing we have access to is Sonos Favorites (also called "My Sonos").? If you can see what is playing, but you don't see anything in the list, then you need to use the Sonos app to add channels to "My Sonos".? If you want to access more than that from, Crestron then you need to use the 60 series TSW panels, and then you can launch the full Sonos app by pressing on the "Sonos" link that is located in the top left corner of the media player object.?


Re: Sonos Connect unable to access Library through Crestron Module

 

The only thing we have access to is Sonos Favorites (also called "My Sonos").? If you can see what is playing, but you don't see anything in the list, then you need to use the Sonos app to add channels to "My Sonos".? If you want to access more than that from, Crestron then you need to use the 60 series TSW panels, and then you can launch the full Sonos app by pressing on the "Sonos" link that is located in the top left corner of the media player object.?


auto update firmware hash file

 

Question about auto update, I know how the hash file works with loading projects and programs but, what do you specify in the hash file to load firmware to a server? could I just put a 1 in a text file and send that and on any update change it to 2, 3, etc.?


Sonos Connect unable to access Library through Crestron Module

 

I am facing issue in controlling the Sonos connect with the Crestron Module , unable get access of Sonos library?


Re: Topics in Home Automation - One Hundredth Blog Post!

 

¿ªÔÆÌåÓý

Time to write a book!

On 7. 5. 2019 16:42, 'Jay Basen' jay.m.basen@... [Crestron] wrote:
?

My one hundredth blog post, ¡°Monitoring Indoor Air Quality and Integrating that Information into the Smart Home¡± is being published by the good folks at Residential Tech Today Magazine on their web site.? You can find the full article here:?


For those interested in my earlier posts, you can find my blog here:



I hope you find the information useful.

Thanks

Jay Basen


Re: Recent Apple TV 4K Video Issues thru DM

 

Another idea that you could try, to help determine the root of the issue:
Just use the DMRESETSLOT X, where 'X' is the number of the input card 1-8 for 8x8, 1-16 for 16x16

I have seen something similar with AppleTV g3's and a few cable boxes. Running the above console command reboots the card. the act of cycling the HDCP probably also does this, but if the DMRESETSLOT command fixes the issue, it would show that the issue is a general InCard failure/lock-up


Re: Software Archiving with Git, Mercurial etc

 

I use Mercurial, but only selectively on some projects, and not on others.? My backup process is completely separate, and my repo's are local on my machine (also get backed-up), because I'm a solo dev.? If I had a team, I would have a different solution for repo location/storage.

I chose Mercurial, only because at the time, TortoiseHg provided a very nice, intuitive GUI to use.? It supported multiple local repos, and was easy enough to learn and get started with and was intuitive.? I believe GIT is all these things now days too, but at the time I was making the choice, all the info I had heard about Git was that all the GUI interfaces sucked (or were commercial paid software or rent-ware), and I wasn't sure if it supported local repo's, and everytime I read about using GIT on the internet, it was always a group of people that use command line, argue over the proper way to GIT something from an online repo, and complicated merge/pull/diff/push request dances.? To be fair, I think Mercurial and Git are closer than I realized, but the Git users like more to pretend to be more hardcore.? Nomenclature of the functions might be the biggest difference between them, but I could be wrong.? The other reason I chose Mercurial at the time, was you can get a free personal bitbucket account for private repos if I wanted to go cloud based at some point, but at the time, free Github repo's were public only, and you had to pay for private repositories.? I wasn't sure if I wanted cloud based repo's, but I wanted to option to try them without having to subscribe.? Now that I have repo's in Hg, and I know how it works and expected behaviour, I just haven't put in the time to convert or move to Git, I don't think the advantage would be worth the time/effort.

As far as using it in production, do tests yourself, but it works for snapshot points, revisions, rolling back easily, and all that simple stuff that you mentioned.? Except for maybe S# files or S+ files, do not expect to be able to do merges or diff's successfully or you will run into issues.? I found it works great when I use it for AMX projects, because those all consist of C like files for the project, the project file itself is text based, and so there is greater use of features.

But the big problem, no matter what control systems you program (Crestron, AMX, Extron), is that they all use a high percentage of Binary files, as you mentioned, like Touchpanel files, IR files, compiled files/modules, project containers, DSP files and configuration backup files.? These files can be checked in to revision control, and rolled back/forward, but they don't get saved in an incremental way well.? From what I can tell, the entire new file is checked in on many of these file types that are binary types (not text based).? This means that your repository for a particular project can grow EXPONENTIALLY huge depending on how many of these binary files you have, their size, and how often you are doing changes/check-in's on them.? So if your .VTP file is 30MB, and you do 10 check-ins, that stores somewhere around 300MB in your repo (not exact, just estimate).? It doesn't diff the files well from what I understand.? I'm not sure if Git works better in this regard, but from what I've read, I don't think it does, or does much better at least.

This is the biggest drawback IMO, just because of the kind of files we are dealing with aren't as friendly with GIT/Hg as web and other programming languages in many cases.? But it works none the less.? And it's not any worse than just keeping copies with revisioned file names, as that too takes just as much space.

The other issue, that I've ran into, that I'm not sure the best way to solve this, is in knowing what the latest version that was loaded/deployed onsite later, or when dealing with other parties, like integrators or end-users.? Because your files names are not being revisioned, there isn't an easy way to tell if the file that is loaded into that processor has that latest patch that you just worked on, or was the version prior to that, or is several versions prior...? Normally the file name and compiled-on date/time in toolbox is what I go off, and that's not as helpful if the filenames don't change.? Integrator's get confused on this as well, when they ask for a patch for some issue they found, and you send them a new file, and it's the same name as the last file they had.? Not everyone is familiar with how Revision control works, and therefore think you don't have a revision control system in place when the filenames don't change and have a new rev number in the name.


Re: DMPS3-4K-350C Audio Preset

 

Yes. You can recall presets from the DMPS output slot:aux 1/2 slot in the SIMPL module, or you can individually mute or unmute each microphone from the same location. I usually use the channel mutes if i know the configuration won't change.

jim


DMPS3-4K-350C Audio Preset

 

Hi All,


I have got DMPS3-4K-350C and we are using in one of the training room which is divisible, So the room? would be used in combine mode and divisible mode, we have six microphone attached to the DMPS3-4K-350C and Two Audio Amplifier for connected on AUX-1 and AUX-2 of DMPS3-4K-350C.


My question is can be create Preset in DMPS3-4K-350C so that I can have my 3 Microphone routed to AUX-1 and other 3 microphones to AUX-2 of DMPS3-4k-350C


Re: Recent Apple TV 4K Video Issues thru DM

 

no, not on the Samsung but we use CEC to control the ATV.

I did try your suggestion on our shop switcher and it worked. I unchecked HDCP support on the input card - saved, then re-checked it - saved. Picture is back.

That is weird. Rebooting the ATV and/or unplugging HDMI cables had no effect but this did! I will try at
customer site. Thx.


Re: Recent Apple TV 4K Video Issues thru DM

 

¿ªÔÆÌåÓý

Saw that Firmware was up to date.?
Do you have CEC enabled on the Samsung??

On May 7, 2019, at 12:13 PM, wturner@... [Crestron] <Crestron@...> wrote:

?

Nope. Can't get video to come back at all through DM