¿ªÔÆÌåÓý

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

Looking to find a way to add a string prefixing another string. #simpl #http


 

Howdy, this would be my first post on here. I'm not familiar with the "manners" of these posts, so I apologize in advance.?

I'm new to Crestron programming and I know enough to look at a program and modify it but not create a new one from scratch. Currently I'm working on controlling a Yamaha RX-V679 AVR. There isn't any controls for this particular model in the Crestron Database or Market and I'm working with the Yamaha Extended Controls Documentation to do IP Control. I'm using a Serial I/O with the commands, I just want to try adding the http portion of the string by "prefixing" it in front of (for example) "/YamahaExtendedControl/v1/Main/SetInput?input=hdmi5". Looking to use "HTTP://{tcp/ip client}:{port}/" and add it in front of the string. I tried using the Delimiter in the serial I/O, however it was adding the string after "/YamahaExtendedControl/v1/Main/SetInput?input=hdmi5". Is there a way to do this with another symbol or am I trying to use a method that isnt possible with this system?

_________________
Currently using an MC3 Processor and a TSW-752


 

You could try to take all the command into an or, the output of the or to the sio first part, the output of the or also enable a buffer, all the commands go into that same buffer, the outputs of that buffer go to the sio sperate commands.


 

Analog buffer adds top to bottom, so you could stack each needed string in the desired order in an ABuf and then when you hit enable it will make teh output string what you want.


 

If you're trying to make HTTP requests, it's a little more complicated.? See?

Appending strings is not straightforward in SIMPL, but a small SIMPL+ module can easily do it with makestring().

On Sun, May 19, 2024 at 6:04?PM Anthony via <aelrod05=[email protected]> wrote:

Howdy, this would be my first post on here. I'm not familiar with the "manners" of these posts, so I apologize in advance.?

I'm new to Crestron programming and I know enough to look at a program and modify it but not create a new one from scratch. Currently I'm working on controlling a Yamaha RX-V679 AVR. There isn't any controls for this particular model in the Crestron Database or Market and I'm working with the Yamaha Extended Controls Documentation to do IP Control. I'm using a Serial I/O with the commands, I just want to try adding the http portion of the string by "prefixing" it in front of (for example) "/YamahaExtendedControl/v1/Main/SetInput?input=hdmi5". Looking to use "HTTP://{tcp/ip client}:{port}/" and add it in front of the string. I tried using the Delimiter in the serial I/O, however it was adding the string after "/YamahaExtendedControl/v1/Main/SetInput?input=hdmi5". Is there a way to do this with another symbol or am I trying to use a method that isnt possible with this system?

_________________
Currently using an MC3 Processor and a TSW-752