¿ªÔÆÌåÓý

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

SIMPl+ & SIMPl# Callbacks

 

I'm trying to get my head around the basics of SIMPl# at the moment. If I have the same SIMPl+ module on multiple programs will the function callbacks from the same SIMPl# library cause conflicts? If so would I need to adjust the library classes or namespalces, the callback names in SIMPl+, or just change the SIMPl+ module to a different .usp filename? I'm not exactly certain on the SIMPl# nomenclature, but hopefully you get the idea.


For instance Program 2 & Program 3 both have the module:


SimplSharp Test Module.usp


#USER_SIMPLSHARP_LIBRARY "Example"

DIGITAL_INPUT Connect;

DIGITAL_OUTPUT Server_Offline;?

STRING_OUTPUT MyString;


MySSharpClass ClientConnection; ? ? ? ??

?

PUSH Connect

{

StaticClass1.Initialize();

ClientConnection.Initialize();?

}


callback function MessageFromServerCallback(string ServerMessage)

{

MyString = ServerMessage;

}


callback function ServerConnectionStatusCallback(integer ConnectionStatus)

{

if(ConnectionStatus = 1)

{

Server_Offline = 0;

}

else if(ConnectionStatus = 0)

{

Server_Offline = 1;

}

}


Function Main()

{

RegisterDelegate(ClientConnection, ClientTx, MessageFromServerCallback); ??

RegisterDelegate(ClientConnection, TriggerServerConnected, ServerConnectionStatusCallback);

}


Re: Crestron - SmartThings Integration Code is Now on Github

 

I have never seen that specific issue. ?However, unfortunately, the initial setup of the code is a bit complex and convoluted. ?I have been meaning to write a document that describes the procedure to help people avoid the problem but just haven't found the time yet. ?I have guests in town right now but give me a few days and I'll try to put something together.

Jay

------ Original Message ------
From: "rlf79cm@... [Crestron]" <Crestron@...>
Sent: 1/18/2017 5:01:09 AM
Subject: [Crestron] Re: Crestron - SmartThings Integration Code is Now on Github

?

Did you have any issues with the initial setup?? I got an error when I tried to authorise my Crestron processor on the web page - I copied/pasted the URL from Toolbox and selected my 'Hone' hub from the dropdown but then got 'Authorizing the selected devices failed. Please try again later or contact support@smartthings.com'


Re: Crestron - SmartThings Integration Code is Now on Github

 

Did you have any issues with the initial setup?? I got an error when I tried to authorise my Crestron processor on the web page - I copied/pasted the URL from Toolbox and selected my 'Hone' hub from the dropdown but then got 'Authorizing the selected devices failed. Please try again later or contact support@smartthings.com'


Re: PTZ cameras via IP (FlexWATCH)

 

If you were to look at it with WireShark, you would see the other items that are added on by the browser that isn't readily apparent from the link you are using.

For a different make camera, the API listed something like PTZ_MOVE=zoomin,4 as the command to zoom in along with the speed to use.

The actual command that needed to be transmitted looked along the lines of:
GET /httpapi/SendPTZ?action=sendptz&PTZ_MOVE=zoomin,4&PTZ_TIMEOUT=3000 HTTP/1.1\n\n

On Sun, Jan 15, 2017 at 8:17 PM, Matias Alcocer matias_alcocer@... [Crestron] <Crestron@...> wrote:
?

I have dealt with flexwatch cameras before. I'm out of the country right now but send me an email to malcocer at macautomated dot com to remind me and I will send you the commands for PTZ and presets.


Matias




On Saturday, December 17, 2016, 10:19 PM, jwinn@... [Crestron] <Crestron@...> wrote:

?

Anybody ever dealt with FlexWATCH cameras?


I've got some strings that we've captured using the browser interface of the cameras, but can't seem to get them to work via SIMPL (or Debugger).


For example - this string works if I paste it into a browser and hit enter.



Nothing loads into the browser, but the camera moves (the "107" happens to be the UP command).


The same string sent via Debugger, with an added "\n" generates a "400 page not found" error, but does not move the camera.


I've got my TCP symbol set to the same (10.0.4.130) address, and port 80. The connect_fb is high. I've tried adding a :80 into the string. I've tried removing the IP info and starting with /goform... I've tried sending commands when my browser is not also connected to the camera. I've tried 700 other variations too.


The browser interface for these cameras requires an ActiveX plugin, but I've successfully sent direct commands by pasting them into Chrome as well.


The preset recall commands require an admin login, which pops up in my browser and then the command does work. The PTZ commands do not require a login and just work in a browser (tried it in multiple browsers which were definitely not already logged in).


My problem may be that I'm misunderstanding TCP control of a device that's only meant to be controlled by its own web interface. Any ideas?


Josh Winn

The LiquidPixel Group




Re: Latest version of Samsung EXlink protocol

 

I have also been having trouble lately with new consumer Samsung TVs. I used CEC control with feedback and it has worked very well, when I have Crestron DM in the project!


Re: DMPS-4K-150C

 

Sure it can.? The DMPS3s can, too.

This spec sheet indicates 10 slots for the DMPS3-300-C:?
and this one indicates 10 slots for the DMPS-4K-150-C:?

On Tue, Jan 17, 2017 at 9:47 PM, jasonmussetter@... [Crestron] <Crestron@...> wrote:
?

Does anyone know if the DMPS-4K-150C can run multiple programs?? I can't find any info on the website if it will or not.? I know the normal DMPS3-300C's only run a single program slot, so I would assume the same for these smaller guys but wanted to verify.

It seems that Crestron likes to put tons of obvious Marketing Talk on their Specifications/Feature pages, but not as much info for some of the more specific information to those of us who program it like the above question.

-jason




DMPS-4K-150C

 

Does anyone know if the DMPS-4K-150C can run multiple programs?? I can't find any info on the website if it will or not.? I know the normal DMPS3-300C's only run a single program slot, so I would assume the same for these smaller guys but wanted to verify.

It seems that Crestron likes to put tons of obvious Marketing Talk on their Specifications/Feature pages, but not as much info for some of the more specific information to those of us who program it like the above question.

-jason



Re: Samsung TVs IR control discrete power on doesn't work after being off a long time

 

I recently had a new Samsung not take a discrete off command.? Same driver I've used for years, but a new TV.? It would not turn off until I sent the command twice...


Re: Crestron DM System - Detecting a DM transmitter by IPID

 

¿ªÔÆÌåÓý

This logic would always route the last plugged in roombox to a display. Assuming that's not an issue, done.

If he always wants a specific roombox on a specific display he'll need to go the rcon route.

Sent from my mobile. Please excuse brevity and any typos.

Caleb Radecky |?Manager, Online Products & Services
Crestron Silver Certified Programmer | DMC-D-4K | DMC-E-4K
ControlWorks Consulting, LLC |?Crestron Services Provider?| 701 Beta Dr. #22 Cleveland OH 44143
P.440.449.1100 X1109 | F.440.449.1106 |http://www.controlworks.com

-----Original Message-----
From: Andrew Welker andrew.welker@... [Crestron] [Crestron@...]
Received: Tuesday, 17 Jan 2017, 19:43
To: Crestron@... [Crestron@...]
Subject: Re: [Crestron] Crestron DM System - Detecting a DM transmitter by IPID

?

That doesn't seem foolproof to me...they shouldn't need to care which TX is plugged into the floor box. Give them one button on the UI that says Floor Box or Laptop or whatever is appropriate, then use the logic like in the screenshot below so that when they push the Floor Box button, it routes the correct floor box. At some point the labels will fall off, someone will press the input 4 button when the input 1 TX is connected, or something like that.

?

On Tue, Jan 17, 2017 at 7:31 PM nvaslpn25@... [Crestron] <Crestron@...> wrote:
?

cheers for that, seems to be the general consensus to rcon the dm frame i shall have to give that a go.?


Re: Crestron DM System - Detecting a DM transmitter by IPID

 

very nice thank you, i think i have about all i need to crack this.


Re: New BSS Modules (3-series)

 

scottcoumbe, with regards to the toggle, this sounds more like a bss issue vs a module issue.


Re: Crestron DM System - Detecting a DM transmitter by IPID

 

The IPID is reassigned by the frame when it is connected, based on what the program tells it it should be.? Whatever is plugged into input #4 will always get the same IPID.

On Tue, Jan 17, 2017 at 7:50 PM, nvaslpn25@... [Crestron] <Crestron@...> wrote:
?

to do the latter and simply know that any transmitter is connected. once i drop a transmitter on the dm input card will it make any difference that the code has one IPID showing the unit is fixed and the transmitter that connects could potentially be different?



Re: Samsung TVs IR control discrete power on doesn't work after being off a long time

 

Might be same or similar problem. I had a samsung the other day not take on or off codes from the IR receiver on the bottom edge of the tv. Volume, mute etc all worked perfectly, but nothing for power controls. it was a RTI remote so i sent the power commands from the remote instead and it worked fine....


Re: Crestron DM System - Detecting a DM transmitter by IPID

 

brilliant Andrew that does does give me something have a go at. Will be diving into that first thing tomorrow, cheers for the assist its very much appreciated.


Re: MMS-2 power supply

 

Thanks, Pat.

On Tue, Jan 17, 2017 at 7:43 PM, Pat Molettieri pat.molettieri@... [Crestron] <Crestron@...> wrote:
?

If you have a 19.5v power supply from a Dell computer then you can also use that.? I doubt that out when inhale a clients MMS crap out and put my Dell power supply in its place while waiting for a replacement to come from Autonomics.

Just an FYI in case you have one sitting around the office.

Pat


On Jan 17, 2017, at 4:35 AM, oliver.hall@... [Crestron] <Crestron@...> wrote:

?

Phil - thanks for asking the question, and I think the sarcasm is a bit misplaced when not only does the spec on the Autonomic website not give the polarity, but it also doesn't specify the physical connector size.

I've been in precisely the same situation as you, and found out the hard way (after buying a suitable PSU which had the wrong plug dimensions, and then multiple attempts at different connectors, none of which would seat correctly) that the DC power jack isn't that easy to match.? From the info that sound.scan posted, it looks like it's a 5.5mm OD 2.5mm pin, so I may have another go now - but I ended up getting an ATX 4 pin power connector and connecting it up to the board (the connector is just behind the jack when you lift the lid) and using that instead as it's just for use in the office (it's easy to see the correct?polarity that way too).

All the best,
Ol



Re: New BSS Modules (3-series)

 

The WAIT(30) is inside the SIMPL+ Wrapper of the Level module. Comment it out as a test?


Re: Crestron DM System - Detecting a DM transmitter by IPID

 

to do the latter and simply know that any transmitter is connected. once i drop a transmitter on the dm input card will it make any difference that the code has one IPID showing the unit is fixed and the transmitter that connects could potentially be different?


Re: MMS-2 power supply

 

¿ªÔÆÌåÓý

If you have a 19.5v power supply from a Dell computer then you can also use that. ?I doubt that out when inhale a clients MMS crap out and put my Dell power supply in its place while waiting for a replacement to come from Autonomics.

Just an FYI in case you have one sitting around the office.

Pat


On Jan 17, 2017, at 4:35 AM, oliver.hall@... [Crestron] <Crestron@...> wrote:

?

Phil - thanks for asking the question, and I think the sarcasm is a bit misplaced when not only does the spec on the Autonomic website not give the polarity, but it also doesn't specify the physical connector size.

I've been in precisely the same situation as you, and found out the hard way (after buying a suitable PSU which had the wrong plug dimensions, and then multiple attempts at different connectors, none of which would seat correctly) that the DC power jack isn't that easy to match.? From the info that sound.scan posted, it looks like it's a 5.5mm OD 2.5mm pin, so I may have another go now - but I ended up getting an ATX 4 pin power connector and connecting it up to the board (the connector is just behind the jack when you lift the lid) and using that instead as it's just for use in the office (it's easy to see the correct?polarity that way too).

All the best,
Ol


Re: Crestron DM System - Detecting a DM transmitter by IPID

Andrew Welker
 

That doesn't seem foolproof to me...they shouldn't need to care which TX is plugged into the floor box. Give them one button on the UI that says Floor Box or Laptop or whatever is appropriate, then use the logic like in the screenshot below so that when they push the Floor Box button, it routes the correct floor box. At some point the labels will fall off, someone will press the input 4 button when the input 1 TX is connected, or something like that.

?

On Tue, Jan 17, 2017 at 7:31 PM nvaslpn25@... [Crestron] <Crestron@...> wrote:

cheers for that, seems to be the general consensus to rcon the dm frame i shall have to give that a go.?


Re: Crestron DM System - Detecting a DM transmitter by IPID

 

cheers for that, seems to be the general consensus to rcon the dm frame i shall have to give that a go.?