Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: Crisspoints disconnecting over time
#simpl
¿ªÔÆÌåÓýCheck for any ECCONNECT symbols that have a rogue DISCONNECT_ALL or Disconnect from E/C defined¡ I¡¯ve never had crosspoints organically decay but I have inherited some abysmal programs with landmines lurking in corners. ? -- Lincoln King-Cliby, CTS, DMC-E-4K/T/D ? From: [email protected] <[email protected]> On Behalf Of
Mike Taylor
Sent: Wednesday, September 7, 2022 12:57 PM To: [email protected] Subject: [crestron] Crisspoints disconnecting over time #simpl ? Has anyone experienced cross points disconnecting over time? ? I¡¯m on a takeover project where it seems like the crisspoints are disconnecting over time, and the only time the crosspoin connects is executed is on program start.? The whole thing seems a bit lazy, since the cross points never change, but I suspect it was part of a template program the previous integrator uses.? |
Slowing Down For Loop In SImpl+
#simpl
I am using a For loop in simpl+? to increase and decrease and analog value and its working, But i also need to slow down the rate at which it steps through. does anyone know a way to make that step to happen in a like 1 sec rate ??
|
Hi Group,
?
Having some fun with Q-SYS modules version 5.0 and 5.1 that seems to be impossible to have them in the same database. After importing the 5.1 module, I was working on a system with CP4 and 5.1 and had to go back to a system with CP4 and 5.0. When compiling this last one, I had three main error and a series of other errors related to the first three :
ERROR? (LGSPLS1400)? File: ** C:\Users\Public\Documents\Crestron\SIMPL\Usrsplus\Q-SYS Core V5.0.0.usp, Line 90
? ? ? ? Q-SYS Core V5.0.0.usp : Illegal Assignment
ERROR? (LGSPLS1400)? File: ** C:\Users\Public\Documents\Crestron\SIMPL\Usrsplus\Q-SYS Core V5.0.0.usp, Line 112
? ? ? ? Q-SYS Core V5.0.0.usp : Illegal Assignment
ERROR? (LGSPLS1400)? File: ** C:\Users\Public\Documents\Crestron\SIMPL\Usrsplus\Q-SYS Core V5.0.0.usp, Line 143
? ? ? ? Q-SYS Core V5.0.0.usp : Illegal Assignment
?
After re importing the 5.0 module from archive, this CP4 with 5.0 compiles fine, but CP4 with 5.1 don't. After re importing 5.1 module from archive, guess what : 5.1 is ok, 5.0 not!
?
I find many comments about CP4 and 5.0 on this forum, but nothing about 5.1 modules. Did anybody experience similar problems?
?
I also find Mathew Klucznyk's modules, but as we already have a good amount of program running 5.0 and some running 5.1 (mostly on 3 series), I'm also looking for a solution with those "Crestron certified" module if one exist?
Recompiling all didn't solve the issue for me...
?
Thank you Group. |
Re: Multi-zone mini-split HVAC integration
toggle quoted message
Show quoted text
I'm sure the Cool Automation is the easier path, but about six months ago I created C# JSON I/F module for 4x Daiken Emura system using their latest APIs and WiFi modules.? I made the module look like a TSTAT to make integration with an older UI that had radiant floor heat easier.? ? System has been solid.? Daiken's APIs are pretty well documented.? Even so, I probably spent more time than I wanted on this but in the end was happy with result. |
Crisspoints disconnecting over time
#simpl
Has anyone experienced cross points disconnecting over time? ? I¡¯m on a takeover project where it seems like the crisspoints are disconnecting over time, and the only time the crosspoin connects is executed is on program start.? The whole thing seems a bit lazy, since the cross points never change, but I suspect it was part of a template program the previous integrator uses.? |
Re: Multi-zone mini-split HVAC integration
I'm sure the Cool Automation is the easier path, but about six months ago I created C# JSON I/F module for 4x Daiken Emura system using their latest APIs and WiFi modules.? I made the module look like a TSTAT to make integration with an older UI that had radiant floor heat easier.? ? System has been solid.? Daiken's APIs are pretty well documented.? Even so, I probably spent more time than I wanted on this but in the end was happy with result.
|
Re: CH with LG OLED, DTV, Denon AVR .
Michael S Moran
Hard to say as it, again, functions properly about 1/2 the time.? Late yesterday I replaced the Sat Driver with the one specifically listed for Genie 4K models and it made no difference. There is a very slight difference in the "Power" ON/OFF sequence...was 4 secs but now 2 secs.? I have the ON State setting as "Always ON".? Me thinks it could possibly be an initial "Handshake" related issue with the Client?? Perhaps the Client goes into a low power mode auto-magically and that precludes the proper handshake from happening?
The DTV replacement module is an IP Driver whereas the former Driver was being deployed as an IR config. With respect to any "sleep mode" possibility, AppleTV's are well-known for going into deep sleep mode and often require a hard reboot to wake them up.? Interestingly, selecting the AppleTV, as the initial selected Source, the Turn On process works flawlessly and I can then reselect DTV as the desired Source.??I think I'll reset the DTV Client's Power to normal, i.e., to turn off when the system/Zone is turned OFF.? In that way one would normally expect the initial handshake to be effected properly?? One additional comment (for now) is Zone 3 Video also works flawlessly with?a H54-700 DVR Sat Receiver and a HP TV Display.? The H54 Receiver is not 4K compliant nor is the HP Display.? Not sure where this gets On or OFF the Buss but DTV only offers a very limited number of true 4K channels and these channel offerings are never the ones utilized during system initialization.? Said differently, the remaining channel offerings range between 720P to 1080P. A real puzzlement to be sure! Thanks for your comments and insights.? ? ? |
Re: Marantz SR7015
Yea we ended up going from a #if_Series3 to doing #if_Series2 / #else and that stopped the errors on the S+ compile. My gripe was that if you never opened up S+ and just compiled in Simpl for a 4 Series processor, the S+ compile fail for the #if_Series3 would never come to light and you'd end up with a program with a broken module inside it (or at least one throwing buffer overflow errors and who knows what other problems without the threadsafe). I remember when the 4s came out we were always told what works on 3 series will work just the same on a 4- well I guess they forgot about that whole threadsafe logic they put in all their modules on the app market...
Heres what we did in our modified Marantz SR-7007 v1.1 Processor.usp: // Create separate 2-Series and 3-Series/4-Series handlers
// Removed original code and reversed logic blocks to use IF_SERIES2 directive
#IF_SERIES2
CHANGE From_Device
{
if(iProcessFromDevice = 0)
{
iProcessFromDevice = 1;
while(find("\x0D", From_Device))
{
sResponseFromDevice = remove("\x0D", From_Device);
? ? ? ? ? ? ProcessRxMessage_FromDevice();
}
iProcessFromDevice = 0;
}
}
#ELSE // Use for both 3-Series/4-Series
THREADSAFE CHANGE From_Device
{
? ? while(1)
? ? {
? ? ? ? try
? ? ? ? {
// extract message from BUFFER_INPUT stream
? ? ? ? ? ? sResponseFromDevice = gather("\x0D", From_Device);
// now process it
? ? ? ? ? ? ProcessRxMessage_FromDevice();
? ? ? ? }
? ? ? ? catch
? ? ? ? {
? ? ? ? ? ? // print out a message to the log
? ? ? ? ? ? generateuserwarning("CHANGE From_Device: Error encountered in BUFFER_INPUT");
? ? ? ? }
? ? }
}
#ENDIF? ? ? ??
? |
Re: Marantz SR7015
¿ªÔÆÌåÓýYup, I understand, that how I ended up writing my own years back. I did learn a lot about the protocol in the process, so I¡¯m happy to help if I can. Dave ? From: [email protected] <[email protected]> On Behalf Of ckangis
Sent: Tuesday, September 6, 2022 6:39 PM To: [email protected] Subject: Re: [crestron] Marantz SR7015 ? Thanks Dave! |
Re: Marantz SR7015
Thanks Dave!
Yeah, I'm bound and determined to figure this out, even if I have to write/re-write things myself...:) What's weird is that the MV commands that we send are just two digit (we don't care about the .5 iterations) and the MVMAX commands that come back are both 2 and 3 digit 70, 705, 71, 725, etc As I'm sure you'd agree, even most 'enterprise' devices (which D&M does not qualify as) don't seem to care about 'logical' protocols. I feel the development engineers need far more management by people who have to deal with their code, etc.... Oh well!... I update this thread if/when I learn something... |
Re: Marantz SR7015
¿ªÔÆÌåÓýHi Chris, I believe that your assumption is correct. MVMAX should be the value of Volume Limit as set in the AVR and it should not change until the setting in the AVR is changed, This is how is worked on the older models that I tested with. ? For your change, I think you want to use the value 980 for iMVMAX. All the volume calcs are done using 3 digits. Also, you may want to change the initialized value of iMVMAX at the end of the module. It should probably be 980, too. The following provides a bit of explanation. On the older models MVMAX wasn¡¯t sent in response to the MV? Request. This meant that if you were trying to get the initial volume at startup, you had to either assume a starting MVMAX or issue one of the other requests that returns MVMAX (SI? or CV?). Related to this, the first MV that comes back will not have MVMAX set since it comes after the MV in the paired sequence. The 1.1 module initializes iMVMAX to be 65535. That will initially produce a weird gauge value (equal the volume value) at the start. ? Back in 2012 at a Denon training class, I took a run at working the MVMAX issue, along with a number of others that I ran into. The people there told me they weren¡¯t interested in hearing about it. From their perspective it worked fine, no one else was having any issues. Good luck ? ? Dave ? From: [email protected] <[email protected]> On Behalf Of ckangis
Sent: Tuesday, September 6, 2022 3:32 PM To: [email protected] Subject: Re: [crestron] Marantz SR7015 ? Hi Dave, ? ? if(find("MVMAX", sResponse) = 1) // master volume max ? ? { ? ? ? ? iMVMAX = atoi(sResponse); ? ? ? ? if(len(sResponse) = 9) // value has 2 char (90 vs 895)? ? ? ? ? ? ? iMVMAX = iMVMAX * 10; // append "0" to value (900) ? ? } ? ? else if(find("MV", sResponse) = 1) // master volume ? ? { ? ? ? ? iValue = atoi(sResponse); ? ? ? ? if(len(sResponse) = 5) // value has 2 char (90 vs 895) ? ? ? ? ? ? iValue = iValue * 10; // append "0" to value (900) ? ? ? ? if(iValue >= 800) // 0 to 18 dB ? ? ? ? ? ? makestring(Main_Volume_Text, "%+d.%ddB", (iValue - 800) / 10, (iValue - 800) mod 10); ? ? ? ? else if(iValue >= 5) // -79.5 to -0.5 dB ? ? ? ? ? ? makestring(Main_Volume_Text, "-%d.%ddB", (800 - iValue) / 10, (800 - iValue) mod 10); ? ? ? ? else // --- ? ? ? ? ? ? makestring(Main_Volume_Text, "---.-dB"); ? ? ? ? Main_Volume_Gauge = (iValue * 65535) / 98; //? ? ? ? Main_Volume_Gauge = (iValue * 65535) / iMVMAX; ? ? } ? |
Re: Marantz SR7015
Hi Dave,
If my assumption is correct that MVMAX is supposed to be the max volume allowed, there there's definitely something wrong with the feedback as the AVR 'Limit' is set to OFF and thus should render a fixed value (I'd expect 98 or 980) and even if it was broken and though it was a limit of 80 or 60, etc. it should still return a consistent value - unless MVMAX is for something else...I've already taken Marantz tech support to task about undocumented commands... BUT! here's my adjustments to the parsing logic that should overcome any of the above. I would think that this would elminiate any inpact from MVMAX, unless S+ is getting confused between MVxx\x0D and MVMAX and parsing 'MAX as a value for the volume feedback...:) FTR, iMVMAX variable is only found in the following code snip (except for the initial Global integer call and an initialization in Function_Main) ? ? if(find("MVMAX", sResponse) = 1) // master volume max
? ? {
? ? ? ? iMVMAX = atoi(sResponse);
? ? ? ? if(len(sResponse) = 9) // value has 2 char (90 vs 895)?
? ? ? ? ? ? iMVMAX = iMVMAX * 10; // append "0" to value (900)
? ? }
? ? else if(find("MV", sResponse) = 1) // master volume
? ? {
? ? ? ? iValue = atoi(sResponse);
? ? ? ? if(len(sResponse) = 5) // value has 2 char (90 vs 895)
? ? ? ? ? ? iValue = iValue * 10; // append "0" to value (900)
? ? ? ? if(iValue >= 800) // 0 to 18 dB
? ? ? ? ? ? makestring(Main_Volume_Text, "%+d.%ddB", (iValue - 800) / 10, (iValue - 800) mod 10);
? ? ? ? else if(iValue >= 5) // -79.5 to -0.5 dB
? ? ? ? ? ? makestring(Main_Volume_Text, "-%d.%ddB", (800 - iValue) / 10, (800 - iValue) mod 10);
? ? ? ? else // ---
? ? ? ? ? ? makestring(Main_Volume_Text, "---.-dB");
? ? ? ? Main_Volume_Gauge = (iValue * 65535) / 98;
//? ? ? ? Main_Volume_Gauge = (iValue * 65535) / iMVMAX;
? ? }
? |
LightSync LSSIICM
Has anyone had to control this lighting module?? Client wants variable (dimming) capabilities, but another contractor is providing the hardware.? I've only ever done Crestron lighting control, and this one has me stumped.? Looks like only On or Off function, but then listed Force on/ Force off for just input 1 On.? Unfortunately this client has a strict deadline and I will only have the part in my hands for a couple days before drop dead date.? Any help is apprecaited. ? https://ilc-usa8244.zendesk.com/hc/en-us/articles/360044208794-TB0609-LSSIICM-Modbus-Serial-Strings |
CH with LG OLED, DTV, Denon AVR .
Michael S Moran
Kiddies,
Initial Turn On sequence with DTV 4K Client as the selected "Source" is rather flakey.? LG 55 OLEDB7P is being controlled via IP as is the Denon AVR.? Works correctly about 1/2 the time and when it doesn't, I get the No Signal or Searching for Signal error message. That said, the same Turn On sequence with an AppleTV 4K works perfectly.? At that point, one can reselect the DTV Rec'r as the desired source.? The Denon AVR is the AVR-X8500H model.? DTV is the 4K Client and I've attempted utilizing the Always ON mode so that the signal to the LG Display would, hopefully, not be adversely impacted.? All Signals pass through the Denon AVR. It is a bit perplexing as to why the AppleTV Streamer would work flawlessly and the DTV Source behaves rather poorly.? Once the system is ON/stabilized, all switching works perfectly.? Any cogent thoughts from the Peanut Gallery? Thanking all in advance for your insights.... |