Keyboard Shortcuts
Likes
- Crestron
- Messages
Search
Xpanel web conversion tool
I found threads here from a few years back but the info there does not point to a solution.?
So, I am making a new thread. - Tray -- All, Have to do this for the first time and the Xpanel web project will not show from 4 series web server.? WEBINIT - PASS? ? |
Re: Remapping IP IDs
Andrew - I'd love to follow up on this post you made waaayyy back in 2016 about setting up IP Table - I have the exact same situation right but with a CP4 - I've tried every possible way of getting the devices remaped or manually changing the IP table using console commands, but find that there are still conflicts.? I think what I'd like to understand is how you defined the devices in the program - if you defined one set of devices for one room and then remapped all for each program.. .or if you had to define ALL the devices for ALL rooms in the program and then each room's program only remapped the one's it actually needed.? I'd also love to know if you are able to share or sell the # module you created.
|
Re: Simpl+ Editor Problems
toggle quoted message
Show quoted text
Thanks Eric.? My initial search did not return your version.? Looks good, I'll give it a try. |
Re: Simpl+ Editor Problems
I tried that. I replaced the S+ editor .EXE with my own .EXE and tried dumping any command line arguments it received and it got nothing. I think they open the .EXE and then send an API call to the window to open the file. Same with when you compile a file and it tells the open SIMPL Windows to refresh module data. I tried all this back when I made the Notepad++ plugin. I spent a while trying to intercept calls and a few other things and finally just gave up on it. It wouldn't work with VSCode anyway. The way the build task system works, you can't just open a file by itself, you have to open the containing folder. That's why if you open a USP file directly with my plugin installed, it will reset itself by opening the folder first and then the USP file. On Sun, Jan 21, 2024 at 8:26?PM J.B. Parker <jbparker216@...> wrote:
|
Re: Simpl+ Editor Problems
开云体育Probably could be done with creatively renaming the editor exe name and a powershell2exe file if you parsed the command string, wouldn’t suggest that if you ever use the built in editor though, who knows what dependencies are crawling in simpl
after all these years
From: [email protected] <[email protected]> on behalf of Eric Walters <sentry07@...>
Sent: Sunday, January 21, 2024 10:17:29 PM To: [email protected] <[email protected]> Subject: Re: [crestron] Simpl+ Editor Problems ?
That S+ plugin by MWGustin is out of date. If you switch to the one I wrote (Eric Walters), you can go into the VSCode settings for the plugin and enable what systems you want to be able to compile for. It also has error highlighting if your
compile has errors and some other things. It's all in the readme for the plugin. Be aware that to get build tasks to work (CTRL-SHIFT-B) you have to right click your code folder and open it with VSCode, instead of an individual S+ USP file. It's a limitation
of VSCode, or it's more how VSCode is designed to be used.
I tried to tie into the SIMPL?Windows call when you right click a S+ module and edit it but I can't figure out how to do that. I would just normally keep a VSCode instance of that program's folder open along with SIMPL Windows.
On Sun, Jan 21, 2024 at 7:25?PM jbasen <jay.m.basen@...> wrote:
|
Re: Simpl+ Editor Problems
That S+ plugin by MWGustin is out of date. If you switch to the one I wrote (Eric Walters), you can go into the VSCode settings for the plugin and enable what systems you want to be able to compile for. It also has error highlighting if your compile has errors and some other things. It's all in the readme for the plugin. Be aware that to get build tasks to work (CTRL-SHIFT-B) you have to right click your code folder and open it with VSCode, instead of an individual S+ USP file. It's a limitation of VSCode, or it's more how VSCode is designed to be used. I tried to tie into the SIMPL?Windows call when you right click a S+ module and edit it but I can't figure out how to do that. I would just normally keep a VSCode instance of that program's folder open along with SIMPL Windows. On Sun, Jan 21, 2024 at 7:25?PM jbasen <jay.m.basen@...> wrote:
|
Re: Simpl+ Editor Problems
开云体育I figured as much.? But, I didn't want to rule out the chance that someone knew of a super, secret config file that could be edited to change the default behavior. Thanks Jay On 1/21/2024 8:18 PM, thesaabdr via
groups.io wrote:
I think that is a function of SIMPL that we can't get around.? You could change the default application for .usp files.? At least with that, if you double-click on the file in explorer, it will open in VS code.? |
Re: Simpl+ Editor Problems
开云体育Ok, one more thing.? So, you are working in SimplWin, you
right-click on an S+ module, and choose Edit User Module from the
pop-up men.? Any way to make that open VSCode instead of the
Crestron S+ Editor?? That is a much more efficient workflow than
having to open VSCode and locating the file to edit.? Thanks Jay On 1/21/2024 7:04 PM, jbasen via
groups.io wrote:
|
Re: Simpl+ Editor Problems
开云体育Thanks so much for this.? While I'm a bit of a curmudgeon? I
made the change you outlined below and I'll give it a try. ? Thanks again Jay On 1/21/2024 6:02 PM, thesaabdr via
groups.io wrote:
In playing with it some more, you can modify the extension to compile in 4 series. |
Re: Simpl+ Editor Problems
In playing with it some more, you can modify the extension to compile in 4 series.
Locate extension.js and edit with a text editor: C:\Users\[your username]\.vscode\extensions\mwgustin.crestron-simpl-plus-1.3.0\out\extension.js on lines 76 and 91 at the end where it says series3, add series4 and save.? Reload VS code and compile your project.? In the terminal window, it should show seires3 and series4 compiling. i.e.: 76: processSimpl("\\target series3 series4"); 91: term.sendText(compiler.buildCommand("\\target series3 series4")); |
Re: Simpl+ Editor Problems
toggle quoted message
Show quoted text
There is a plug-in for VS code for SIMPL+.? I have not played with it much, but it seems to work.? I typically have VS code open for other things anyway.? It appears to only have compiling for 3 series with ctrl+F12.? Just compile it once for 3-series then click on the terminal tab.? Push up to repeat last command and change the last line from series3 to series4 and hit enter.? (or add series4 if you want it for both)? This will compile for 4 series.? To recompile, just do up again and hit enter.? |
Re: Simpl+ Editor Problems
There is a plug-in for VS code for SIMPL+.? I have not played with it much, but it seems to work.? I typically have VS code open for other things anyway.? It appears to only have compiling for 3 series with ctrl+F12.? Just compile it once for 3-series then click on the terminal tab.? Push up to repeat last command and change the last line from series3 to series4 and hit enter.? (or add series4 if you want it for both)? This will compile for 4 series.? To recompile, just do up again and hit enter.?
cross compiler help: ?spluscc command line parameters: ?\???????????????????????? : Displays this help ?\build <module [module]>? : Compiles the specified module ???????????????????????????? Example:? \build "c:\my module.usp" ???????????????????????????? Example:? \build module1.usp module2.usp ?\rebuild <module [module]>: Force a compilation of the specified module ?\target <device [device]> : Specifies the target devices for which to compile ???????????????????????????? device = series2 | series3 ???????????????????????????? Example:? \target series3 ???????????????????????????? Example:? \target series2 series3 series4 ?\out <file>?????????????? : Write all compilation output to the specified file ?\usersplusfolder <folder> : User SIMPL+ folder ?\silent?????????????????? : Suppress console output ?\errorcodes?????????????? : Displays compilation error codes |
Re: RMC4 weird behaviour
开云体育It?s actually a pretty small program just for one cinema room. The RMC3 is running the exact same program and doesn?t have any issues with it. I tried a lot of things from restore to reboots, reconnections, etc. ? I?m beginning to suspect a fault in the RMC4, but on the other hand thinking that this is highly unlikely… ? Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von Lincoln King-Cliby via groups.io ? Do you have anything printing a lot to console? I've found Debugger (and toolbox) can get easily confused if there's a bunch of noise in console, particularly when it's going through the initial connection.? ? Usually once Toolbox gets that confused the only solution is to close Toolbox and make sure the comserver is shut down then try again. For some reason the 4-series seem more likely to confuse TB than the 3? ? Get From: [email protected] <[email protected]> on behalf of Thorsten K?hler <thorsten.koehler@...>
Sent: Saturday, January 20, 2024 2:34:39 PM To: [email protected] <[email protected]> Subject: [crestron] RMC4 weird behaviour ? [Edited Message Follows] Hi, ? i?m just trying to replace an RMC3 with an RMC4. I did a small project with a planned RMC4, but since that didn?t arrive in time, the client got a RMC3 as a preliminary solution. Now that the RMC4 arrived, I send it to the client. He connected everything and the program I preloaded before sending out was running partly. I did a couple of adjustments, but now the unit behaves weird. I?m able to connect via Toolbox using EasyConfig and also the CLI. I can also connect via webfrontend. However, the processor seems to have lost it?s program and i?m not able to reload it anymore. Using the “transfer” tool from SIMPl Windows, it gives me a “The device doesn?t support the capabilities required by this dialog” error message. Then I tried loading the program via webinterface. That works, I can see via CLI that the program gets loaded and is running, but I?m not able to connect via Toolbox to use SIMPL debugger. ? I did a factory restore and get the same behaviour. ? Any ideas? ? Thanks, Thorsten |
Re: RMC4 weird behaviour
开云体育Do you have anything printing a lot to console? I've found Debugger (and toolbox) can get easily confused if there's a bunch of noise in console, particularly when it's going through the initial connection.?
Usually once Toolbox gets that confused the only solution is to close Toolbox and make sure the comserver is shut down then try again. For some reason the 4-series seem more likely to confuse TB than the 3?
Get From: [email protected] <[email protected]> on behalf of Thorsten K?hler <thorsten.koehler@...>
Sent: Saturday, January 20, 2024 2:34:39 PM To: [email protected] <[email protected]> Subject: [crestron] RMC4 weird behaviour ?
[Edited Message Follows] Hi, ? i?m just trying to replace an RMC3 with an RMC4. I did a small project with a planned RMC4, but since that didn?t arrive in time, the client got a RMC3 as a preliminary solution. Now that the RMC4 arrived, I send it to the client. He connected everything and the program I preloaded before sending out was running partly. I did a couple of adjustments, but now the unit behaves weird. I?m able to connect via Toolbox using EasyConfig and also the CLI. I can also connect via webfrontend. However, the processor seems to have lost it?s program and i?m not able to reload it anymore. Using the “transfer” tool from SIMPl Windows, it gives me a “The device doesn?t support the capabilities required by this dialog” error message. Then I tried loading the program via webinterface. That works, I can see via CLI that the program gets loaded and is running, but I?m not able to connect via Toolbox to use SIMPL debugger. ? I did a factory restore and get the same behaviour. ? Any ideas? ? Thanks, Thorsten |
Re: Topics in Home Automation - New Article in Residential Tech Today
开云体育Thanks Yevhen. I think the hands on information you've added is really valuable.? It provides a real world perspective of the material I've tried to present. Thanks again Jay On 1/21/2024 7:35 AM, Yevhen wrote:
Thanks for the interesting article. |