TCP Server Client C#
- Mattotone
- Android Dev (Moderator)
- Posts: 1238
- Joined: 10 Jul 2007, 17:30
- FreeStyler Version: BETA
- I Use FreeStyler for: Just for the Fun of it.
Re: TCP Server Client C#
never used but imagine it increments the gobo channel value by one ie. 1,2,3,4,5,6 ... 255
where as next gobo selects the next gobo in the fixtures list
where as next gobo selects the next gobo in the fixtures list
Freestyler Addons www.120db.uk
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
- Mattotone
- Android Dev (Moderator)
- Posts: 1238
- Joined: 10 Jul 2007, 17:30
- FreeStyler Version: BETA
- I Use FreeStyler for: Just for the Fun of it.
Re: TCP Server Client C#
well max byte is 255.
i imagine it will be {70,83,79,68,255,49,0 to 255,0,0}
i imagine it will be {70,83,79,68,255,49,0 to 255,0,0}
Freestyler Addons www.120db.uk
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
-
- Knows how to turn Lights ON
- Posts: 7
- Joined: 27 Nov 2010, 08:12
- FreeStyler Version: 3.4.6
Re: TCP Server Client C#
Mmax, did you already find out how to send 1@dmx255 or simulair ?
When i see your code i don't understand how you define 1 click.
The table says command 1 = 320
So i guess it has to be:
{70,83,79,68,320,0,255,0,0) // 1 click
{70,83,79,68,320,0,0,0,0) // 1 release
@Mattotone - can you please help me/us out.
Lot off commands do work, but only single line commands like ' select next fixture = 288' or 'Master 100% = 151'.
Still i can't get the commands to work that sends values to channels.
When i open the command line feature in, and i sent i.e command 1, can i actually see the number in the command line ? So does the command line tool get filled with all the commands we send until we cleat it ?
Because i don't see anything happen, but when i set master 100% i see it pop up.
When i see your code i don't understand how you define 1 click.
The table says command 1 = 320
So i guess it has to be:
{70,83,79,68,320,0,255,0,0) // 1 click
{70,83,79,68,320,0,0,0,0) // 1 release
@Mattotone - can you please help me/us out.
Lot off commands do work, but only single line commands like ' select next fixture = 288' or 'Master 100% = 151'.
Still i can't get the commands to work that sends values to channels.
When i open the command line feature in, and i sent i.e command 1, can i actually see the number in the command line ? So does the command line tool get filled with all the commands we send until we cleat it ?
Because i don't see anything happen, but when i set master 100% i see it pop up.
-
- Knows how to turn Lights ON
- Posts: 7
- Joined: 27 Nov 2010, 08:12
- FreeStyler Version: 3.4.6
Re: TCP Server Client C#
ah clear, missed the 'split up' part.
Fog level does work. When i send FSOC304100 it sets the level to 39%.
Fog level does work. When i send FSOC304100 it sets the level to 39%.
-
- Knows how to turn Lights ON
- Posts: 7
- Joined: 27 Nov 2010, 08:12
- FreeStyler Version: 3.4.6
Re: TCP Server Client C#
It;s the same table you use for byte protocol except there is no need to recalculate.
For example blackout = 002 then you send FSOC002255 (where 255 is click)
In the table it says: Fog level 304 0 to 255 this makes: FSOC304xxx (where xxx= 0-255).
For example blackout = 002 then you send FSOC002255 (where 255 is click)
In the table it says: Fog level 304 0 to 255 this makes: FSOC304xxx (where xxx= 0-255).
- LJ_krede.dk
- Moderator
- Posts: 1028
- Joined: 29 Oct 2007, 20:01
- FreeStyler Version: 3.3.7
- I Use FreeStyler for: Where do I start?
Re: TCP Server Client C#
/LJ_krede.dk
Aalborg, Denmark
Moderator, Supporter and Bug report manager for the FreeStyler community
Found a bug? Submit a Bug Report
Aalborg, Denmark
Moderator, Supporter and Bug report manager for the FreeStyler community
Found a bug? Submit a Bug Report
-
- Knows how to turn Lights ON
- Posts: 8
- Joined: 06 Feb 2008, 04:09
- FreeStyler Version: 3.0.1
- I Use FreeStyler for: Stage Show
Re: TCP Server Client C#
How do you tell freestyler your disconnecting and close the connection?
If i close then reopen my sending application the connection )or close and reopen the socket) the connect is refused by freestyler unless i click the disconnect all button first within freestyler.
If i close then reopen my sending application the connection )or close and reopen the socket) the connect is refused by freestyler unless i click the disconnect all button first within freestyler.
-
- Knows how to turn Lights ON
- Posts: 8
- Joined: 06 Feb 2008, 04:09
- FreeStyler Version: 3.0.1
- I Use FreeStyler for: Stage Show
Re: TCP Server Client C#
never mind solved the issue just added the following before terminating the executable.
clientStream.Close();
client.Close();
clientStream.Close();
client.Close();
-
- Knows how to turn Lights ON
- Posts: 3
- Joined: 24 Sep 2012, 20:38
- I Use FreeStyler for: Church
Re: TCP Server Client C#
Hello I have a question.
I understand that you should split codes greater than 255, but how would you do codes greater than 510.
For example, 595 - submaster list change 1 ?
I understand that you should split codes greater than 255, but how would you do codes greater than 510.
For example, 595 - submaster list change 1 ?
- Mattotone
- Android Dev (Moderator)
- Posts: 1238
- Joined: 10 Jul 2007, 17:30
- FreeStyler Version: BETA
- I Use FreeStyler for: Just for the Fun of it.
Re: TCP Server Client C#
dont think it is reachable.
Freestyler Addons www.120db.uk
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
Free Dropbox. 2GB account http://db.tt/J4c5G8C
$100 free credit @DigitalOcean Private Server: https://m.do.co/c/5c4a7c7d6693
Freestyler Android App: https://play.google.com/store/apps/deta ... rts.fs1024
-
- Knows how to turn Lights ON
- Posts: 3
- Joined: 15 Jun 2016, 12:02
- FreeStyler Version: 3.6.3
- I Use FreeStyler for: Stage Show
Re: TCP Server Client C#
Hello!
How can i read the caption of override buttons using c#?
Thaks!
How can i read the caption of override buttons using c#?
Thaks!
-
- Knows how to turn Lights ON
- Posts: 3
- Joined: 15 Jun 2016, 12:02
- FreeStyler Version: 3.6.3
- I Use FreeStyler for: Stage Show
Re: TCP Server Client C#
Solved! I used StreamReader object!
-
- Knows how to turn Lights ON
- Posts: 3
- Joined: 15 Jun 2016, 12:02
- FreeStyler Version: 3.6.3
- I Use FreeStyler for: Stage Show
Re: TCP Server Client C#
In the next relaese can you implement a code for request the override button tab caption? i'm working for a web GUI using jquery and php
-
- Knows how to turn Lights ON
- Posts: 7
- Joined: 20 Aug 2015, 18:26
- I Use FreeStyler for: Home Lighting Control
Re: TCP Server Client C#
Hi
Just a quick question...
Can someone tell me where i can find the list of TCP/IP command codes.
I've been searching for an hour and can't locate them..
Thanks in advance.
Stuart
Now I feel like a fool...
There was I looking on the website and forums, it never occured to me to look on my own harddrive....
"Full documentation for this and the send message protocol can be found in your FS instalation directory"
Just a quick question...
Can someone tell me where i can find the list of TCP/IP command codes.
I've been searching for an hour and can't locate them..
Thanks in advance.
Stuart
Now I feel like a fool...
There was I looking on the website and forums, it never occured to me to look on my own harddrive....
"Full documentation for this and the send message protocol can be found in your FS instalation directory"