Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Re: SIMPL+ Compiler bug
Steve, Yes. I've seen the issue before. It's something to do with the curly braces being escape/special characters in C#. eg. Console.WriteLine("My Integer Is {0}, My Second Integer is {1}", myInteger, myInteger2);
So the compiler interprets the opening { in your string as the beginning of something to replace. As a workaround, if you remove the { and } from your TempStr$ then add them after using +, then the problem goes away. I did a quick test and the following code works: makestring(TempStr$,"%sA%u%s:%u",Quote,Index,Quote,Value); TempStr$ = "{" + TempStr$ + "}"; |
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
Found it, but you're right, there is some risk involved. Since its mostly dead already I don't have much to lose however shopping for a replacement might be a better use of my time. :-)
|
Re: Somfy SDN control via CP3
¿ªÔÆÌåÓýNo delimiter, by delimiter you mean in the COM port definition where TX/RX goes right? 4800, 8, 1, O is correct, RS485, None for handshaking. ? From: <[email protected]> on behalf of Michael Braithwaite <smartamp@...> ? Looks correct to me, also you have no delimiter correct?? ?4800? 8 1 O for settings correct? ? On Mon, Jan 4, 2021 at 1:17 PM martinkup90 <martin@...> wrote:
|
Re: Somfy SDN control via CP3
Looks correct to me, also you have no delimiter correct?? ?4800? 8 1 O for settings correct? On Mon, Jan 4, 2021 at 1:17 PM martinkup90 <martin@...> wrote:
|
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
¿ªÔÆÌåÓýInside, hidden under a small board.But based on question, I think that would not be a good idea to open it without knowledge about what you¡¯re doing. Enviado do meu iPhone Em 4 de jan. de 2021, ¨¤(s) 20:37, Matt Rozema <mrozema@...> escreveu:
|
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
Haven't done that yet. I'm attempting it now. Thank you!
|
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
Tried that, thanks! No change.
|
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
Where does the SD card plug in? Somewhere inside? I don't see a place for one on the outside.
|
Re: On site : Multiple identical simpl+ modules in one program
#programming
Hi Random Guy,
are you using the old "DMP 64/128" or the new "DMP 64/128 Plus"? If I remember right there are a few modules in the files section, I did some work on this almost 3 years ago. When using the module that I modified and uploaded, please have a look at the example. It sets the DMP to verbose mode 3, which is important to make the module work properly. In addition, each module needs to be polled upon startup before usage, this will initialize the values and feedback. Questions welcome Crestronfreak55. |
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
You try pressing HWR once then quickly SWR 3 or 5 times?
It goes away for like 8-10mins and should come back after that |
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
+1 to the SD card failing. You are describing the classic symptoms. I unfortunately have no experience with Prodigy so I¡¯m not sure if there are any recovery options for replacing the card DIY like some others have done with MC3.
|
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
¿ªÔÆÌåÓýProbably the famous SD Card issue.Em 4 de jan. de 2021, ¨¤(s) 14:03, Matt Rozema <mrozema@...> escreveu:
|
Re: Somfy SDN control via CP3
¿ªÔÆÌåÓýMichael, ? The string the module seems to be sending when I press down is: ? \xFC\xF0\xFF\x80\x80\x80\xA3\x83\xF9\xFF\xFF\xFF\xFF\x0A\x86 ? Any time I send a command I receive back \x00 via RX ? From: <[email protected]> on behalf of Michael Braithwaite <smartamp@...> ? Can you send me the string you are sending or screenshot from the symbol and delimiter |
Re: Dahia
I need? live video of the Dahua camera.?
toggle quoted message
Show quoted text
|
Re: On site : Multiple identical simpl+ modules in one program
#programming
Random Guy,
Your best bet would be to get on the discord channel and ask for help there. My guess here would be something in the coding is causing this issue but without seeing the program and how the signals are ran, it wouldn't be very likely we could just give you an answer. |
On site : Multiple identical simpl+ modules in one program
#programming
Hey all, hoping for some help. I'm using an Extron DSP Group control module from here, and I'm using 4 of them to control 4 different volume groups. My issue is that if I do Volume Up or Down on one of them, the volume feedback for the all 4 adjust together.
I called Crestron and they said they couldn't help, thought the modules would need 'Unique Modifiers' but couldn't help with that. I even tried creating 4 separate modules with different names, but the same thing happens. In my mind I expected that since each module has it's own place in Simpl, ie S-7.1.1, S-7.2.1. that each one would be independent, but tech support says no, they act as one.. If anyone can help out it would be great, I'm in a bit of a jam time wise. |
Re: SIMPL+ Compiler bug
Who knows what is correct.? But thanks for the reply.? I think I have a working solution but after reading your reply, I do need to check to make sure it works for Analogs greater than 32K.? It may spit out negative numbers instead if the help file is correct.?
It is highly unlike that Crestron will fix a compiler bug for the Series3 when it is being replaced with the Series4.? Shoot, theyr never did fix the broken sendmail() function on the series3 whereas the Series2 has always done it right. |
Re: SIMPL+ Compiler bug
I get the difference between %d and %u as I indicated in my last sentence, but actually, according to the help document, an ANALOG_INPUT is "treated as signed or unsigned values inside of a SIMPL+ program depending on the operators or functions being used." Maybe it's printing a "d" because it's interpreting the ANALOG_INPUT as signed somehow and it's printing its type instead of its value? I dunno, just spitballing and just curious if %d would work in your code. If it does work, I'd need someone smarter than me to explain why.
|
Re: PMC3 appears dead. Has anybody revived a dead controller?
#prodigy
¿ªÔÆÌåÓýIt been a while for me with PCM3¡¯s, but have you tried to remove the Crestnet and see what happens? Maybe too much current draw or a short? Gary ? From: [email protected] <[email protected]> On Behalf Of Matt Rozema
Sent: Monday, January 4, 2021 9:38 AM To: [email protected] Subject: [crestron] PMC3 appears dead. Has anybody revived a dead controller? #prodigy ? Ok, I know Prodigy, as a line, is dead anyway, but I would like to get my modest home system back to running condition while I shop for something more current. |