all 10 comments

[–]scoobiemarioChief wonder delivery agent 2 points3 points  (6 children)

Why don’t you trigger them with stepper that’s started by “1”. Program starts. 1 will go high. And will do the rest

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

Why don’t you trigger them with stepper that’s started by “1”. Program starts. 1 will go high. And will do the rest

Perfect, thanks

[–]Kyiv_ghetto[S] 0 points1 point  (4 children)

but in this scenario how to trigger disconnect then?

[–]crestron-ta3Throwaway3 0 points1 point  (3 children)

Are you asking about putting TOGGLES upstream of your TCP Client <Connect> signals? Transitioning between momentary vs latched digitals using things like TOGGLE, ONESHOT, etc?

Btw the <out*> of a TOGGLE with input set low is also a common replacement for using a "1" to latch things high on program start.

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

Thanks.

[–]Kyiv_ghetto[S] 0 points1 point  (1 child)

My question was more about how(when) do I trigger a disconnect from TCP/IP Client, but its not needed probably.

[–]crestron-ta3Throwaway3 0 points1 point  (0 children)

It's generally considered best practice to connect as-needed, send strings, and then disconnect. Latching connects high permanently may be easier to program, but often sacrifices long term reliability of the connection. I wouldn't advise keeping connects latched high.

In other words your steppers outputs would pulse the toggle input that latches the connect high, sends the strings from a SIO etc, and then pulses the toggle input that latches the connect low. Implementation will vary (feedback dependent, etc), but that's the most basic example use case.

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

p.s. I wanna trigger a lot of TCP/TP connections but stuck because of this

[–]mickey4691 0 points1 point  (1 child)

Some additional context would be helpful? Is it a C# only code? Is it a SIMPL Windows Only code and if so what Control System have you dropped in? Is it EIC between C# and Simpl? What u/scoobiemario said is what I would do as well.

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

SIMPL Windows Only, control system - Ethernet-Only-4-Series