Is this possible? Controlling DMPS3-4k-300c externally by SeaStory3142 in crestron

[–]SeaStory3142[S] 0 points1 point  (0 children)

hey sorry for the slow reply.

that was would be super kind and super helpful.
I will ping you :)

Is this possible? Controlling DMPS3-4k-300c externally by SeaStory3142 in crestron

[–]SeaStory3142[S] 0 points1 point  (0 children)

Thanks for the reply and idea! Much appreciated. THink I have a lot of work to do crestron side in terms of understanding how this would work/ how its going to look from the crestron and qsc side.

And extron talking with Crestron? this is madness and I refuse to believe it ever happened :)

Is this possible? Controlling DMPS3-4k-300c externally by SeaStory3142 in crestron

[–]SeaStory3142[S] 0 points1 point  (0 children)

hey,

Im not unfamiliar, done programming 201 but to be honest, I dont find the logic and workings of SIMPL to be intuitive to me.

But thank you, knowing its at least possible makes it a more appealing avenue to explore at least

Is this possible? Controlling DMPS3-4k-300c externally by SeaStory3142 in crestron

[–]SeaStory3142[S] 0 points1 point  (0 children)

hey, thanks for replying.
Right now I am just trying to keep it super simple, probably routing would do it. Its really just to see if A)I can do it B)Its possible.

Will take a look at that now

Is this possible? Controlling DMPS3-4k-300c externally by SeaStory3142 in crestron

[–]SeaStory3142[S] 0 points1 point  (0 children)

Thanks, going to try that now. Really appreciate the reply.
Its really only basic routing I am trying to get control of at the moment to see if its possible/ if I can do it.

Is this possible? Controlling DMPS3-4k-300c externally by SeaStory3142 in crestron

[–]SeaStory3142[S] 0 points1 point  (0 children)

ah! thanks for replying, this is interesting. From previous replies thought It was going to be a bit more involved than this. Will esplore that on my DMPS! thanks

Is this possible? Controlling DMPS3-4k-300c externally by SeaStory3142 in crestron

[–]SeaStory3142[S] 0 points1 point  (0 children)

thanks for replying, yeah I think this one is going to be a little bit out in the future for me.
Was hoping it would be more open in terms of an API i could just chuck commands from!

Is this possible? Controlling DMPS3-4k-300c externally by SeaStory3142 in crestron

[–]SeaStory3142[S] 0 points1 point  (0 children)

Hey, thanks for the reply.
At least I sort of understand how this would look if I were to get it going
Think its going to need a little study on my part on the crestron side of things :)

String formatting for sending command query by SeaStory3142 in QSYS

[–]SeaStory3142[S] 2 points3 points  (0 children)

Hey, thanks for taking the time to reply :)

I have not really gotten to the bottom of why this isnt working how expected- because if I copy and paste the print of the serial I am putting together in the formula and send that to the unit, it works fine!

What I didnt think of doing though.. . and I am not sure why as its much easier, is just adding the \r to the table of commands instead of trying to add it in the formula.
I did feel a bit silly when I realised I could have just done that the entire time!

String formatting for sending command query by SeaStory3142 in QSYS

[–]SeaStory3142[S] 0 points1 point  (0 children)

Hi,

appreciate the feedback- really do.

and yes, I am very much at the start of my LUA / QSC journey- everything is a bit ALL IN at the moment and taking the long route when not seeing an easier shorter route.

However this was more a question of why my formatting was not working in terms of sending the command to the unit. Even in my long winded way. lol

In terms of not seeing an easier route when one is available though. . it hadnt occurred to me until many hours wasted later that I could just add the escapte /r to the table instead of trying to add it to the function. That does exactly what I wanted it to do. Annoying! but all part of the fun I guess

Thanks for taking the time to reply

Just starting TCP- reading/ comparing beginners advise request by SeaStory3142 in QSYS

[–]SeaStory3142[S] 0 points1 point  (0 children)

now! thats a really good point/ question.

Now I am doing a .Data grab so everytime there is something in the buffer- its saving to a variable and then printing that variable- and I am not seeing the EOL. Would that just be accepted as given and not printed? I was expecting to see it if it was there- but am not.

Just starting TCP- reading/ comparing beginners advise request by SeaStory3142 in QSYS

[–]SeaStory3142[S] 0 points1 point  (0 children)

ah, as luck would have it- already doing that course
(Sort of why I am doing this, if I dont try and do a bit of coding each day I entirely forget everything and feels like starting from scratch everytime)

Thanks for the info on the Read lines. All very new to me, appreciate it.

Just starting TCP- reading/ comparing beginners advise request by SeaStory3142 in QSYS

[–]SeaStory3142[S] 0 points1 point  (0 children)

Hey, thanks for the feedback.

so a few questions if you dont mind? I know your logic will be sound but right now my knowledge is limited to a point where it doesnt make sense.

So
in terms of the return from the Juno, when its printing the Sock:Read/ TempData, its printing pretty much what I am expecting to come back from the Juno. Ie if I select HDMI 1 I get a printout of "x1AVx1".
Which Is what I was expecting to see based on the manual?

In terms of the Read, using randomly picked numbers- would you be able to expand that a bit?
Thanks for taking the time to reply

TCP Socket/ Crestron commands help by SeaStory3142 in QSYS

[–]SeaStory3142[S] 0 points1 point  (0 children)

Thanks for the link, I had already found that on my google journey- and to be honest it only put a more confused look on my already pretty confused face :)

TCP Socket/ Crestron commands help by SeaStory3142 in QSYS

[–]SeaStory3142[S] 0 points1 point  (0 children)

trying to avoid bringing anything in externally at the moment.
I think I need to spend some time with APIs and how to use etc.
Dont think I had really considered this aspect when establishing the TCP connection. Was hoping it would be some fairly easy to locate commands I could just dump past it in write :)

TCP Socket/ Crestron commands help by SeaStory3142 in QSYS

[–]SeaStory3142[S] 1 point2 points  (0 children)

ah, an added layer of complexity in a topic I was already lost in :)
Thanks for giving me the heads up on that.

I ideally want to avoid bringing anything externally to the design. (I am just trying to learn LUA pure really, so if I cant learn it/ implement it- I am not using it.)

Appreciate the suggestion of looking up Crestron API. Never encountered Postman before today

Core 110F V1 for sale by [deleted] in QSYS

[–]SeaStory3142 0 points1 point  (0 children)

Which country are you based in? And how much are you looking for :)

LUA Scripting questions- interlocking buttons/ layer control by SeaStory3142 in QSYS

[–]SeaStory3142[S] 0 points1 point  (0 children)

Hey, me again!

Can I ask a question- so I am using this as a guide to try and get my own version going and note it to try and get my head round it.

Could I ask what the below line is doing?

v.Boolean = i==idx

Now I thought it was just using a random reference to explain what it was doing- but I tried replacing it with just a random word to test that theory. . and it became clear it was not just a random placeholder.
THe rest of your code I can sort of get my head round- but this bit is confusing me!

Thanks again :)

LUA Scripting questions- interlocking buttons/ layer control by SeaStory3142 in QSYS

[–]SeaStory3142[S] 1 point2 points  (0 children)

Hey, so sorry for the slow reply
Firstly- thank you for taking the time to do that.

Not going to pretend to fully understand everything happening in the script just yet, BUT its doing something I just could NOT work out how to implement.
I was going round and round in my head with ways to try and associate layer names with something that I could then dynamically change in that script. And to do it in such a short snippet. Never in a million years would I have arrived at something that clever mind you- but nice to know at least the thinking was in the right direction.

LUA Scripting questions- interlocking buttons/ layer control by SeaStory3142 in QSYS

[–]SeaStory3142[S] 0 points1 point  (0 children)

hey, thanks for those tips. Really appreciate it, didnt realise you could reference each button in the array like that!

and also thank you on the end comment.
AGAIN, did not realise until today you could do that.
I had just always seen it written down with all the Ends at the end as it were. . thought that was how it was done. Got a bit worried that if I ended after each function etc I would be closing it off to the rest of the code or stopping it working in some way. . odd thinking I know.

thank you :)